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) |
| fillDynamicBookmarks (self) |
| refill (self) |
Static Methods |
QStringList | dynamicBookmarksList () |
Method Documentation
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.
|
Creates a bookmark submenu.
Only used internally and for bookmark toolbar.
QAction actionForBookmark |
( |
self, |
|
|
|
KBookmark |
bm |
|
) |
|
|
|
KMenu contextMenu |
( |
self, |
|
|
|
QAction |
act |
|
) |
|
|
|
fillDynamicBookmarks |
( |
|
self ) |
|
Static Method Documentation
QStringList dynamicBookmarksList |
( |
|
) |
|
- Returns:
- list of dynamic menu ids