KDE 4.4 PyKDE API Reference
  • KDE's Python API
  • Overview
  • PyKDE Home
  • Sitemap
  • Contact Us
 

KonqBookmarkMenu Class Reference

from PyKDE4.kio import *

Inherits: KBookmarkMenu → QObject

Detailed Description


Methods

 __init__ (self, KBookmarkManager mgr, KonqBookmarkOwner owner, KBookmarkActionMenu parentMenu, KActionCollection collec)
 __init__ (self, KBookmarkManager mgr, KonqBookmarkOwner owner, KBookmarkActionMenu parentMenu, QString parentAddress)
QAction actionForBookmark (self, KBookmark bm)
KMenu contextMenu (self, QAction act)
QStringList dynamicBookmarksList (self)
 fillDynamicBookmarks (self)
 refill (self)

Method Documentation

__init__ (  self,
KBookmarkManager  mgr,
KonqBookmarkOwner  owner,
KBookmarkActionMenu  parentMenu,
KActionCollection  collec
)

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.

__init__ (  self,
KBookmarkManager  mgr,
KonqBookmarkOwner  owner,
KBookmarkActionMenu  parentMenu,
QString  parentAddress
)

Creates a bookmark submenu. Only used internally and for bookmark toolbar.

QAction actionForBookmark (  self,
KBookmark  bm
)
KMenu contextMenu (  self,
QAction  act
)
QStringList dynamicBookmarksList (   self )

Returns:
list of dynamic menu ids

fillDynamicBookmarks (   self )
refill (   self )
  • Full Index

Modules

  • akonadi
  • dnssd
  • kdecore
  • kdeui
  • khtml
  • kio
  • knewstuff
  • kparts
  • kutils
  • nepomuk
  • phonon
  • plasma
  • polkitqt
  • solid
  • soprano
This documentation is maintained by Simon Edwards.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal