KBookmarkContextMenu Class
A context menu for a bookmark. More...
Header: | #include <KBookmarkContextMenu> |
CMake: | find_package(KF6 REQUIRED COMPONENTS Bookmarks) target_link_libraries(mytarget PRIVATE KF6::BookmarksWidgets) |
Public Functions
KBookmarkContextMenu(const KBookmark &bm, KBookmarkManager *manager, KBookmarkOwner *owner, QWidget *parent = nullptr) | |
virtual void | addActions() |
(since 6.0) bool | browserMode() const |
(since 6.0) void | setBrowserMode(bool browserMode) |
Public Slots
void | slotCopyLocation() |
void | slotEditAt() |
void | slotInsert() |
void | slotOpenFolderInTabs() |
void | slotProperties() |
void | slotRemove() |
Protected Functions
void | addBookmark() |
void | addBookmarkActions() |
void | addFolderActions() |
void | addOpenFolderInTabs() |
void | addProperties() |
KBookmark | bookmark() const |
KBookmarkManager * | manager() const |
KBookmarkOwner * | owner() const |
Detailed Description
Member Function Documentation
KBookmarkContextMenu::KBookmarkContextMenu(const KBookmark &bm, KBookmarkManager *manager, KBookmarkOwner *owner, QWidget *parent = nullptr)
[virtual]
void KBookmarkContextMenu::addActions()
[protected]
void KBookmarkContextMenu::addBookmark()
[protected]
void KBookmarkContextMenu::addBookmarkActions()
[protected]
void KBookmarkContextMenu::addFolderActions()
[protected]
void KBookmarkContextMenu::addOpenFolderInTabs()
[protected]
void KBookmarkContextMenu::addProperties()
[protected]
KBookmark KBookmarkContextMenu::bookmark() const
[since 6.0]
bool KBookmarkContextMenu::browserMode() const
Whether any "Edit Bookmarks" dialog shows UI elements that are specific to browsers.
This function was introduced in 6.0.
See also setBrowserMode().
[protected]
KBookmarkManager *KBookmarkContextMenu::manager() const
[protected]
KBookmarkOwner *KBookmarkContextMenu::owner() const
[since 6.0]
void KBookmarkContextMenu::setBrowserMode(bool browserMode)
Set this to true to make any "Edit Bookmarks" dialog show UI elements that are specific to browsers.
This function was introduced in 6.0.
See also browserMode().