KBookmarks
kbookmarkmenu.h
61 * openBookmark signal is not emitted, instead QDesktopServices::openUrl is used to open the bookmark.
71 * Currently this is a QObject without a parent, use setParent to benefit from automatic deletion.
73 KBookmarkMenu(KBookmarkManager *mgr, KBookmarkOwner *owner, QMenu *parentMenu, const QString &parentAddress);
110 * Returns the action for adding a new bookmarks folder. If you are using KXmlGui, you can add it
This class implements the reading/writing of bookmarks in XML.
Definition kbookmarkmanager.h:48
QAction * editBookmarksAction() const
Returns the action for editing bookmarks.
Definition kbookmarkmenu.cpp:447
KBookmarkMenu(KBookmarkManager *manager, KBookmarkOwner *owner, QMenu *parentMenu)
Fills a bookmark menu (one instance of KBookmarkMenu is created for the toplevel menu,...
Definition kbookmarkmenu.cpp:49
bool browserMode() const
Whether any "Edit Bookmarks" dialog shows UI elements that are specific to browsers.
Definition kbookmarkmenu.cpp:457
QAction * bookmarkTabsAsFolderAction() const
Returns the action for adding all current tabs as bookmarks.
Definition kbookmarkmenu.cpp:437
void setBrowserMode(bool browserMode)
Set this to true to make any "Edit Bookmarks" dialog show UI elements that are specific to browsers.
Definition kbookmarkmenu.cpp:452
QAction * addBookmarkAction() const
Returns the action for adding a bookmark.
Definition kbookmarkmenu.cpp:432
void ensureUpToDate()
Call ensureUpToDate() if you need KBookmarkMenu to adjust to its final size before it is executed.
Definition kbookmarkmenu.cpp:122
QMenu * parentMenu() const
The menu in which we insert our actions Supplied in the constructor.
Definition kbookmarkmenu.cpp:183
QAction * newBookmarkFolderAction() const
Returns the action for adding a new bookmarks folder.
Definition kbookmarkmenu.cpp:442
The KBookmarkMenu and KBookmarkBar classes gives the user the ability to either edit bookmarks or add...
Definition kbookmarkowner.h:43
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 11:57:25 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 11:57:25 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.