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 () |
Public Member Functions inherited from QObject | |
QObject (QObject *parent) | |
QObject (QObject *parent, const char *name) | |
virtual | ~QObject () |
bool | blockSignals (bool block) |
QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
const QObjectList & | children () const |
const char * | className () const |
bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
void | deleteLater () |
void | destroyed (QObject *obj) |
bool | disconnect (const QObject *receiver, const char *method) |
bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
void | dumpObjectInfo () |
void | dumpObjectTree () |
QList< QByteArray > | dynamicPropertyNames () const |
virtual bool | event (QEvent *e) |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
T | findChild (const QString &name) const |
QList< T > | findChildren (const QRegExp ®Exp) const |
QList< T > | findChildren (const QString &name) const |
bool | inherits (const char *className) const |
void | insertChild (QObject *object) |
void | installEventFilter (QObject *filterObj) |
bool | isA (const char *className) const |
bool | isWidgetType () const |
void | killTimer (int id) |
virtual const QMetaObject * | metaObject () const |
void | moveToThread (QThread *targetThread) |
const char * | name () const |
const char * | name (const char *defaultName) const |
QString | objectName () const |
QObject * | parent () const |
QVariant | property (const char *name) const |
void | removeChild (QObject *object) |
void | removeEventFilter (QObject *obj) |
void | setName (const char *name) |
void | setObjectName (const QString &name) |
void | setParent (QObject *parent) |
bool | setProperty (const char *name, const QVariant &value) |
bool | signalsBlocked () const |
int | startTimer (int interval) |
QThread * | thread () const |
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 |
Protected Member Functions inherited from QObject | |
bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const char *signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const char *signal) |
int | receivers (const char *signal) const |
QObject * | sender () const |
int | senderSignalIndex () const |
virtual void | timerEvent (QTimerEvent *event) |
Static Protected Member Functions | |
static QStringList | dynamicBookmarksList () |
static void | setDynamicBookmarks (const QString &id, const DynMenuInfo &info) |
static DynMenuInfo | showDynamicBookmarks (const QString &id) |
Static Protected Member Functions inherited from QObject | |
QByteArray | normalizeSignalSlot (const char *signalSlot) |
Additional Inherited Members | |
Public Slots inherited from KBookmarkMenu | |
void | slotBookmarksChanged (const QString &) |
Static Public Member Functions inherited from QObject | |
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
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 |
Properties inherited from QObject | |
objectName | |
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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.