class KBookmarkDialog |
|
This class provides a Dialog for editing properties, adding Bookmarks and creating new folders.
It can be used to show dialogs for common tasks with bookmarks.
It is used by KBookmarkMenu to show a dialog for "Properties", "Add Bookmark" and "Create New Folder" If you want to customize those dialogs, derive from KBookmarkOwner and reimplement bookmarkDialog() Return a KBookmarkDialog subclass and reimplement initLayout(), aboutToShow() and save() |
|
Creates a new KBookmarkDialog |
|
aboutToShow is called immediately before exec() Reimplement this to show or hide UI elements for certain modes. |
|
shows a add Bookmark dialog Note: That this updates the bookmark and calls KBookmarkManager.emitChanged |
|
Creates a folder from a list of bookmarks Note: That this updates the bookmark and calls KBookmarkManager.emitChanged |
|
A dialog to create a new folder. |
|
shows a propeties dialog Note: That this updates the bookmark and calls KBookmarkManager.emitChanged |
|
|
initLayout is called to set the dialog up, indepent from the mode If you want to add widgets or a custom layout, reimplement this function. The default implementation is rather simple, take a look at the source. |
|
|
|
|
save all your custom data in this method This is called after the users has accepted() the dialog. |
|
A dialog to select a folder. |
|
the selected bookmark in the folder tree |
|
NewFolder | - | - | ||
NewBookmark | - | - | ||
EditBookmark | - | - | ||
NewMultipleBookmarks | - | - | ||
SelectFolder | - | - |