kbookmark.h
40 static KBookmark standaloneBookmark( const TQString & text, const KURL & url, const TQString & icon = TQString::null );
180 void setMetaDataItem( const TQString &key, const TQString &value, MetaDataOverwriteMode mode = OverwriteMetaData );
245 KBookmarkGroup createNewFolder( KBookmarkManager* mgr, const TQString & text = TQString::null, bool emitSignal = true );
272 KBookmark addBookmark( KBookmarkManager* mgr, const TQString & text, const KURL & url, const TQString & icon = TQString::null, bool emitSignal = true );
Definition kbookmark.h:316
KBookmark next(const KBookmark ¤t) const
Return the next sibling of a child bookmark of this group.
Definition kbookmark.cpp:81
TQString groupAddress() const
Much like KBookmark::address, but caches the address into m_address.
Definition kbookmark.cpp:43
KBookmark addBookmark(KBookmarkManager *mgr, const KBookmark &bm, bool emitSignal=true)
Create a new bookmark, as the last child of this group Don't forget to use KBookmarkManager::self()->...
Definition kbookmark.cpp:176
void deleteBookmark(KBookmark bk)
Delete a bookmark - it has to be one of our children !
Definition kbookmark.cpp:211
KBookmark previous(const KBookmark ¤t) const
Return the prevous sibling of a child bookmark of this group.
Definition kbookmark.cpp:76
KBookmarkGroup createNewFolder(KBookmarkManager *mgr, const TQString &text=TQString::null, bool emitSignal=true)
Create a new bookmark folder, as the last child of this group.
Definition kbookmark.cpp:108
KBookmark createNewSeparator()
Create a new bookmark separator Don't forget to use KBookmarkManager::self()->emitChanged( parentBook...
Definition kbookmark.cpp:143
bool moveItem(const KBookmark &item, const KBookmark &after)
Moves item after after (which should be a child of ours).
Definition kbookmark.cpp:153
This class implements the reading/writing of bookmarks in XML.
Definition kbookmarkmanager.h:52
Trinity API Reference