class KBookmarkMenu |
|
|
This class provides a bookmark menu. It is typically used in cooperation with KActionMenu but doesn't have to be. If you use this class by itself, then it will use KDE defaults for |
|
Fills a bookmark menu (one instance of KBookmarkMenu is created for the toplevel menu, but also one per submenu).
mgr - The bookmark manager to use (i.e. for reading and writing) owner - implementation of the KBookmarkOwner callback interface. Note: If you pass a null KBookmarkOwner to the constructor, the openBookmark signal is not emitted, instead KRun is used to open the bookmark. parentMenu - menu to be filled collec - parent collection for the KActions. |
|
Creates a bookmark submenu |
|
|
|
|
|
|
|
|
|
Call ensureUpToDate() if you need KBookmarkMenu to adjust to its final size before it is executed.
|
|
|
|
|
|
|
Parent bookmark for this menu. |
|
The menu in which we insert our actions Supplied in the constructor. |
|
|
|
|
|
|