# class KBookmarkMenu

###

Module | kio
Namespace |
Class | KBookmarkMenu
Inherits | QObject

### methods

- KBookmarkMenu (mgr, owner, parentMenu, collec)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  mgr | KBookmarkManager |
  owner | KBookmarkOwner |
  parentMenu | KMenu |
  collec | KActionCollection |

  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.

- KBookmarkMenu (mgr, owner, parentMenu, parentAddress)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  mgr | KBookmarkManager |
  owner | KBookmarkOwner |
  parentMenu | KMenu |
  parentAddress | QString |

  Creates a bookmark submenu

- actionForBookmark (bm)

  returns QAction

  Argument | Type | Default
  --- | --- | ---
  bm | KBookmark |

- addActions ( )

  returns Nothing

- addAddBookmark ( )

  returns Nothing

- addAddBookmarksList ( )

  returns Nothing

- addEditBookmarks ( )

  returns Nothing

- addNewFolder ( )

  returns Nothing

- addOpenInTabs ( )

  returns Nothing

- clear ( )

  returns Nothing

- contextMenu (action)

  returns KMenu

  Argument | Type | Default
  --- | --- | ---
  action | QAction |

- ensureUpToDate ( )

  returns Nothing

  Call ensureUpToDate() if you need KBookmarkMenu to adjust to its final size before it is executed.

- fillBookmarks ( )

  returns Nothing

- isDirty ( )

  returns bool

- isRoot ( )

  returns bool

- manager ( )

  returns KBookmarkManager

- owner ( )

  returns KBookmarkOwner

- parentAddress ( )

  returns QString

  Parent bookmark for this menu.

- parentMenu ( )

  returns KMenu

  The menu in which we insert our actions Supplied in the constructor.

- refill ( )

  returns Nothing

- slotAboutToShow ( )

  returns Nothing

- slotAddBookmark ( )

  returns Nothing

- slotAddBookmarksList ( )

  returns Nothing

- slotBookmarksChanged (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | QString |

- slotNewFolder ( )

  returns Nothing

- slotOpenFolderInTabs ( )

  returns Nothing