KXmlGui
kactioncategory.cpp
47QAction *KActionCategory::addAction(KStandardAction::StandardAction actionType, const QObject *receiver, const char *member)
56QAction *KActionCategory::addAction(KStandardAction::StandardAction actionType, const QString &name, const QObject *receiver, const char *member)
const QList< QAction * > actions() const
Returns the actions belonging to this category.
Definition kactioncategory.cpp:34
KActionCategory(const QString &text, KActionCollection *parent=nullptr)
Default constructor.
Definition kactioncategory.cpp:25
void setText(const QString &text)
Set the action categorys descriptive text.
Definition kactioncategory.cpp:98
KActionCollection * collection() const
The action collection this category is associated with.
Definition kactioncategory.cpp:88
Q_INVOKABLE QAction * addAction(const QString &name, QAction *action)
Add an action under the given name to the collection.
Definition kactioncollection.cpp:292
StandardAction
StandardAction
QObject * parent() const const
T qobject_cast(QObject *object)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.