class KBookmark |
|
|
|
|
|
|
Return the "address" of this bookmark in the whole tree. This is used when telling other processes about a change in a given bookmark. The encoding of the address is "/4/2", for instance, to designate the 2nd child inside the 4th child of the root bookmark. |
|
Returns the common parent of both addresses which has the greatest depth |
|
Text shown for the bookmark, not truncated. You should not use this - this is mainly for keditbookmarks. |
|
Returns true if bookmark is contained by a QDomDocument, if not it is most likely that it has become separated and is thus invalid and/or has been deleted from the bookmarks. |
|
Returns the pixmap file for this bookmark (i.e. the name of the icon) |
|
Internal for KEditBookmarks |
|
Whether the bookmark is a group or a normal bookmark |
|
Returns true if this is a null bookmark. This will never be the case for a real bookmark (in a menu), but it's used for instance as the end condition for KBookmarkGroup.next() |
|
Whether the bookmark is a separator |
|
Get the value of a specific metadata item. key - Name of the metadata item Returns Value of the metadata item. QString() is returned in case the specified key does not exist. |
|
Returns address of next sibling (e.g. /4/5/2 . /4/5/3) This doesn't check whether it actually exists |
|
Returns address of parent |
|
Returns the group containing this bookmark |
|
Adds this list of bookmark into the given QMimeData.
mimeData - the QMimeData instance used to drag or copy this bookmark |
|
Return the position in the parent, i.e. the last number in the address |
|
Returns position in parent (e.g. /4/5/2 . 2) |
|
Returns address of previous sibling (e.g. /4/5/2 . /4/5/1) Returns QString() for a first child |
|
Set the text shown for the bookmark.
fullText - the new bookmark title |
|
Set the icon name of the bookmark
icon - the new icon name for this bookmark |
|
Change the value of a specific metadata item, or create the given item if it doesn't exist already. key - Name of the metadata item to change value - Value to use for the specified metadata item mode - Whether to overwrite the item's value if it exists already or not. |
|
Set the URL of the bookmark
url - the new bookmark URL |
|
|
Text shown for the bookmark If bigger than 40, the text is shortened by replacing middle characters with "..." (see KStringHandler.csqueeze) |
|
Convert this to a group - do this only if isGroup() returns true. |
|
Updates the bookmarks access metadata Call when a user accesses the bookmark |
|
URL contained by the bookmark |
OverwriteMetaData | - | ||
DontOverwriteMetaData | - |