class KBookmarkOwnerabstract class |
|
|
The KBookmarkMenu and KBookmarkBar classes gives the user the ability to either edit bookmarks or add their own. In the first case, the app may want to open the bookmark in a special way. In the second case, the app must supply the name and the URL for the bookmark. This class gives the app this callback-like ability. If your app does not give the user the ability to add bookmarks and you don't mind using the default bookmark editor to edit your bookmarks, then you don't need to overload this class at all. Rather, just use something like:
If you wish to use your own editor or allow the user to add bookmarks, you must overload this class. |
|
Returns a list of title, URL pairs of the open tabs. |
|
This function is called whenever the user wants to add the current page to the bookmarks list. The title will become the "name" of the bookmark. You must overload this function if you wish to give your users the ability to add bookmarks. Returns the title of the current page. |
|
This function is called whenever the user wants to add the current page to the bookmarks list. The URL will become the URL of the bookmark. You must overload this function if you wish to give your users the ability to add bookmarks. Returns the URL of the current page. |
|
Returns true if action should be shown in the menu The default is to show both a add and editBookmark Entry //TODO ContextMenuAction? to disable the contextMenu? Delete and Propeties to disable those in the context menu? |
|
Called if a bookmark is selected. You need to override this. |
|
This function returns whether the owner supports tabs. |
ShowAddBookmark | - | ||
ShowEditBookmark | - |