KIO
#include <konqbookmarkmenu.h>
Classes | |
struct | DynMenuInfo |
Public Member Functions | |
KonqBookmarkMenu (KBookmarkManager *mgr, KonqBookmarkOwner *owner, KBookmarkActionMenu *parentMenu, KActionCollection *collec) | |
KonqBookmarkMenu (KBookmarkManager *mgr, KonqBookmarkOwner *owner, KBookmarkActionMenu *parentMenu, QString parentAddress) | |
~KonqBookmarkMenu () | |
Public Member Functions inherited from KBookmarkMenu | |
KBookmarkMenu (KBookmarkManager *mgr, KBookmarkOwner *owner, KMenu *parentMenu, KActionCollection *collec) | |
KBookmarkMenu (KBookmarkManager *mgr, KBookmarkOwner *owner, KMenu *parentMenu, const QString &parentAddress) | |
~KBookmarkMenu () | |
void | ensureUpToDate () |
Protected Member Functions | |
virtual QAction * | actionForBookmark (const KBookmark &bm) |
virtual KMenu * | contextMenu (QAction *act) |
void | fillDynamicBookmarks () |
virtual void | refill () |
Protected Member Functions inherited from KBookmarkMenu | |
void | addActions () |
void | addAddBookmark () |
void | addAddBookmarksList () |
void | addEditBookmarks () |
void | addNewFolder () |
void | addOpenInTabs () |
virtual void | clear () |
void | fillBookmarks () |
bool | isDirty () const |
bool | isRoot () const |
KBookmarkManager * | manager () const |
KBookmarkOwner * | owner () const |
QString | parentAddress () const |
KMenu * | parentMenu () const |
Static Protected Member Functions | |
static QStringList | dynamicBookmarksList () |
static void | setDynamicBookmarks (const QString &id, const DynMenuInfo &info) |
static DynMenuInfo | showDynamicBookmarks (const QString &id) |
Additional Inherited Members | |
Public Slots inherited from KBookmarkMenu | |
void | slotBookmarksChanged (const QString &) |
Protected Slots inherited from KBookmarkMenu | |
void | slotAboutToShow () |
void | slotAddBookmark () |
void | slotAddBookmarksList () |
void | slotNewFolder () |
void | slotOpenFolderInTabs () |
Protected Attributes inherited from KBookmarkMenu | |
KActionCollection * | m_actionCollection |
QList< QAction * > | m_actions |
QList< KBookmarkMenu * > | m_lstSubMenus |
Detailed Description
Definition at line 33 of file konqbookmarkmenu.h.
Constructor & Destructor Documentation
|
inline |
Fills a bookmark menu with konquerors bookmarks (one instance of KonqBookmarkMenu is created for the toplevel menu, but also one per submenu).
- Parameters
-
mgr The bookmark manager to use (i.e. for reading and writing) owner implementation of the KonqBookmarkOwner callback interface. Note: If you pass a null KonqBookmarkOwner to the constructor, the URLs are openend by KRun and "Add Bookmark" is disabled. parentMenu menu to be filled collec parent collection for the KActions.
Definition at line 50 of file konqbookmarkmenu.h.
|
inline |
Definition at line 54 of file konqbookmarkmenu.h.
|
inline |
Creates a bookmark submenu.
Only used internally and for bookmark toolbar.
Definition at line 61 of file konqbookmarkmenu.h.
Member Function Documentation
Reimplemented from KBookmarkMenu.
Definition at line 153 of file konqbookmarkmenu.cc.
Reimplemented from KBookmarkMenu.
Definition at line 242 of file konqbookmarkmenu.cc.
|
staticprotected |
- Returns
- list of dynamic menu ids
Definition at line 201 of file konqbookmarkmenu.cc.
|
protected |
Definition at line 106 of file konqbookmarkmenu.cc.
|
protectedvirtual |
Reimplemented from KBookmarkMenu.
Definition at line 143 of file konqbookmarkmenu.cc.
|
staticprotected |
Shows an extra menu for the given bookmarks file and type.
Upgrades from option inside XBEL to option in rc file on first call of this function.
- Parameters
-
id the unique identification for the dynamic menu info a DynMenuInfo struct containing the to be added/modified data
Definition at line 212 of file konqbookmarkmenu.cc.
|
staticprotected |
- Returns
- dynmenu info block for the given dynmenu name
Definition at line 181 of file konqbookmarkmenu.cc.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:04 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.