• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KIO

Classes | Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
KonqBookmarkMenu Class Reference

#include <konqbookmarkmenu.h>

Inheritance diagram for KonqBookmarkMenu:
Inheritance graph
[legend]

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 &regExp) 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

KonqBookmarkMenu::KonqBookmarkMenu ( KBookmarkManager *  mgr,
KonqBookmarkOwner *  owner,
KBookmarkActionMenu *  parentMenu,
KActionCollection *  collec 
)
inline

Fills a bookmark menu with konquerors bookmarks (one instance of KonqBookmarkMenu is created for the toplevel menu, but also one per submenu).

Parameters
mgrThe bookmark manager to use (i.e. for reading and writing)
ownerimplementation 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.
parentMenumenu to be filled
collecparent collection for the KActions.

Definition at line 50 of file konqbookmarkmenu.h.

KonqBookmarkMenu::~KonqBookmarkMenu ( )
inline

Definition at line 54 of file konqbookmarkmenu.h.

KonqBookmarkMenu::KonqBookmarkMenu ( KBookmarkManager *  mgr,
KonqBookmarkOwner *  owner,
KBookmarkActionMenu *  parentMenu,
QString  parentAddress 
)
inline

Creates a bookmark submenu.

Only used internally and for bookmark toolbar.

Definition at line 61 of file konqbookmarkmenu.h.

Member Function Documentation

QAction * KonqBookmarkMenu::actionForBookmark ( const KBookmark &  bm)
protectedvirtual

Reimplemented from KBookmarkMenu.

Definition at line 153 of file konqbookmarkmenu.cc.

KMenu * KonqBookmarkMenu::contextMenu ( QAction *  act)
protectedvirtual

Reimplemented from KBookmarkMenu.

Definition at line 242 of file konqbookmarkmenu.cc.

QStringList KonqBookmarkMenu::dynamicBookmarksList ( )
staticprotected
Returns
list of dynamic menu ids

Definition at line 201 of file konqbookmarkmenu.cc.

void KonqBookmarkMenu::fillDynamicBookmarks ( )
protected

Definition at line 106 of file konqbookmarkmenu.cc.

void KonqBookmarkMenu::refill ( )
protectedvirtual

Reimplemented from KBookmarkMenu.

Definition at line 143 of file konqbookmarkmenu.cc.

void KonqBookmarkMenu::setDynamicBookmarks ( const QString &  id,
const DynMenuInfo &  info 
)
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
idthe unique identification for the dynamic menu
infoa DynMenuInfo struct containing the to be added/modified data

Definition at line 212 of file konqbookmarkmenu.cc.

KonqBookmarkMenu::DynMenuInfo KonqBookmarkMenu::showDynamicBookmarks ( const QString &  id)
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:
  • konqbookmarkmenu.h
  • konqbookmarkmenu.cc
This file is part of the KDE documentation.
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.

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal