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

KIO

KonqBookmarkMenu Class Reference

#include <konqbookmarkmenu.h>

Inheritance diagram for KonqBookmarkMenu:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 33 of file konqbookmarkmenu.h.


Public Member Functions

 KonqBookmarkMenu (KBookmarkManager *mgr, KonqBookmarkOwner *owner, KBookmarkActionMenu *parentMenu, QString parentAddress)
 KonqBookmarkMenu (KBookmarkManager *mgr, KonqBookmarkOwner *owner, KBookmarkActionMenu *parentMenu, KActionCollection *collec)
 ~KonqBookmarkMenu ()

Protected Member Functions

virtual QAction * actionForBookmark (const KBookmark &bm)
virtual KMenu * contextMenu (QAction *act)
void fillDynamicBookmarks ()
virtual void refill ()

Static Protected Member Functions

static QStringList dynamicBookmarksList ()
static void setDynamicBookmarks (const QString &id, const DynMenuInfo &info)
static DynMenuInfo showDynamicBookmarks (const QString &id)

Classes

struct  DynMenuInfo
 Structure used for storing information about the dynamic menu setting. More...

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:
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.

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  )  [protected, virtual]

Reimplemented from KBookmarkMenu.

Definition at line 153 of file konqbookmarkmenu.cc.

KMenu * KonqBookmarkMenu::contextMenu ( QAction *  act  )  [protected, virtual]

Reimplemented from KBookmarkMenu.

Definition at line 242 of file konqbookmarkmenu.cc.

QStringList KonqBookmarkMenu::dynamicBookmarksList (  )  [static, protected]

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 (  )  [protected, virtual]

Reimplemented from KBookmarkMenu.

Definition at line 143 of file konqbookmarkmenu.cc.

void KonqBookmarkMenu::setDynamicBookmarks ( const QString &  id,
const DynMenuInfo &  info 
) [static, protected]

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.

KonqBookmarkMenu::DynMenuInfo KonqBookmarkMenu::showDynamicBookmarks ( const QString &  id  )  [static, protected]

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

KIO

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal