class KBookmarkGroup |
|
|
A group of bookmarks |
|
Create an invalid group. This is mostly for use in QValueList, and other places where we need a null group. Also used as a parent for a bookmark that doesn't have one (e.g. Netscape bookmarks) |
|
Create a bookmark group as specified by the given element |
|
Create a new bookmark, as the last child of this group Don't forget to use KBookmarkManager.self()->emitChanged( parentBookmark ); bm - the bookmark to add |
|
Create a new bookmark, as the last child of this group Don't forget to use KBookmarkManager.self()->emitChanged( parentBookmark ); text - for the bookmark url - the URL that the bookmark points to icon - the name of the icon to associate with the bookmark. A suitable default will be determined from the URL if not specified. |
|
Returns the closest bookmark for the URL url. The closest bookmark is defined as bookmark which is equal to the URL or at least is a parent URL. If there are more than one possible parent URL candidates, the bookmark which covers the bigger range of the URL is returned. Example: the url is '/home/peter/Documents/Music'. Available bookmarks are: - /home/peter - /home/peter/Documents The returned bookmark will the one for '/home/peter/Documents'. |
|
Create a new bookmark folder, as the last child of this group text - for the folder. If empty, the user will be queried for it. |
|
Create a new bookmark separator Don't forget to use KBookmarkManager.self()->emitChanged( parentBookmark ); |
|
Delete a bookmark - it has to be one of our children ! Don't forget to use KBookmarkManager.self()->emitChanged( parentBookmark ); |
|
Internal |
|
Return the first child bookmark of this group |
|
Much like KBookmark.address, but caches the address into m_address. |
|
Returns the list of urls of bookmarks at top level of the group |
|
Return the index of a child bookmark, -1 if not found |
|
Returns true if the bookmark folder is opened in the bookmark editor |
|
Returns true if this is the toolbar group |
|
Moves item after after (which should be a child of ours). If item is null, item is moved as the first child. Don't forget to use KBookmarkManager.self()->emitChanged( parentBookmark ); |
|
Return the next sibling of a child bookmark of this group current - has to be one of our child bookmarks. |
|
|
Return the prevous sibling of a child bookmark of this group current - has to be one of our child bookmarks. |