Revision 788191

Go back to digest for 23rd March 2008

Other in KDE Base

Norbert Frese committed changes in /trunk/KDE/kdelibs/kio/bookmarks:

The purpose of this is sharing file-management shortcuts (KFilePlacesModel) with other desktops. See: <a href="http://freedesktop.org/wiki/Specifications/desktop-bookmark-spec">http://freedesktop.org/wiki/Specifications/desktop-bookmark-spec</a>" target="_blank">http://freedesktop.org/wiki/Specifications/desktop-bookmark-spec">http://freedesktop.org/wiki/Specifications/desktop-bookmark-spec</a>;

KBookmark:
* stores the icon-name in metadata (owner="http://freedesktop.org") instead of as an attribute of the bookmark tag. This seems more conforming to XBEL.
* migration code for bookmark files where the icon is stored in the old place.
* store and retrieve the mime-type of bookmark items (according to the desktop-bookmark-spec): new methods KBookmark::setMimeType() and KBookmark::mimeType())
* use mime-type to pick the right icon (if no icon is specified).
* new public method to access metadata by owner: KBookmark::metaData()
* add xmlns: declarations when creating a new bookmarks document

KBookmarkManager:
* Introduces a new KBookmarkManager type: "external". In this mode KBookmarkManager uses KDirWatch for change monitoring (rather than DBus).

File Changes

Modified 4 files
  • /trunk/KDE/kdelibs/kio/bookmarks
  •   /kbookmark.cc
  •   /kbookmark.h
  •   /kbookmarkmanager.cc
  •   /kbookmarkmanager.h
4 files changed in total