[Okular-devel] [Feature][Patch] Renaming top-level bookmarks

Costash costashsrc at gmail.com
Thu Mar 8 16:06:07 UTC 2012


Hi,

I have finally made this to work as it should.

Brief description of what I did:

I created a menu entry in contextMenuForFileItem to be able to edit the
top-level bookmarks (fileItems).
I made a function in BookmarkManager class to be able to rename a bookmark
referenced by its KUrl, and used it

in slotChanged. The greatest challenge was to get the *title* for the
current item, and this is why I overloaded the
currentTitle function.

I am waiting for any feedback and I hope this patch can be pushed upstream.

Yours sincerely,
Constantin Serban-Radoi.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20120308/2cd6a6c4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch1.diff
Type: text/x-patch
Size: 6320 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20120308/2cd6a6c4/attachment.diff>


More information about the Okular-devel mailing list