KXmlGui
kactioncategory.h
114 QAction *addAction(KStandardAction::StandardAction actionType, const QObject *receiver = nullptr, const char *member = nullptr);
119 QAction *addAction(KStandardAction::StandardAction actionType, const QString &name, const QObject *receiver = nullptr, const char *member = nullptr);
123 // not marked with KXMLGUI_DEPRECATED_VERSION, otherwise addAction("bla") generates a warning, but we don't want that
127 QAction *addAction(const QString &name, const QObject *receiver = nullptr, const char *member = nullptr);
130 // addAction(KStandardAction::StandardAction actionType, const QObject *receiver = nullptr, const char *member = nullptr
167 inline QAction *addAction(KStandardActions::StandardAction actionType, const Receiver *receiver, Func slot)
170 inline typename std::enable_if<!std::is_convertible<Func, const char *>::value, QAction>::type *
209 inline QAction *addAction(KStandardActions::StandardAction actionType, const Receiver *receiver, Func slot)
212 inline typename std::enable_if<!std::is_convertible<Func, const char *>::value, QAction>::type *
213 addAction(KStandardActions::StandardAction actionType, const QString &name, const Receiver *receiver, Func slot)
240 inline typename std::enable_if<!std::is_convertible<Func, const char *>::value, QAction>::type *
268 inline typename std::enable_if<!std::is_convertible<Func, const char *>::value, QAction>::type *
327 void addAction(QAction *action); // exported because called from template method ActionType *add<ActionType>(...)
ActionType * add(const QString &name)
Creates a new action and adds it to the collection.
Definition kactioncategory.h:289
QAction * addAction(KStandardActions::StandardAction actionType, const Receiver *receiver, Func slot)
Creates a new standard action, adds it to the collection and connects the action's triggered(bool) si...
Definition kactioncategory.h:167
QAction * add(const Receiver *receiver, Func slot)
Creates a new action, adds it to the collection and connects the action's triggered(bool) signal to t...
Definition kactioncategory.h:265
QAction * addAction(const Receiver *receiver, Func slot)
Creates a new action, adds it to the collection and connects the action's triggered(bool) signal to t...
Definition kactioncategory.h:237
StandardAction
Q_PROPERTY(...)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:54:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:54:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.