[PATCH] KBookmarks / fd.o desktop-bookmark-spec

nf2 nf2 at scheinwelt.at
Thu Mar 6 00:23:26 GMT 2008


The purpose of this would be sharing file-management shortcuts 
(KFilePlacesModel) with other desktops. See:

http://freedesktop.org/wiki/Specifications/desktop-bookmark-spec


What it does:

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

+) The spec doesn't mention named icons in the metadata at the moment. I 
believe this should be added to the spec.


KBookmarkManager:

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


Regards,
Norbert

-------------- next part --------------
A non-text attachment was scrubbed...
Name: kbookmark_shared_bookmarks_spec.patch
Type: text/x-patch
Size: 18824 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080306/671e88f8/attachment.bin>


More information about the kde-core-devel mailing list