KXmlGui
kundoactions.cpp
19QAction *KUndoActions::createRedoAction(QUndoStack *undoStack, KActionCollection *actionCollection, const QString &actionName)
38QAction *KUndoActions::createUndoAction(QUndoStack *undoStack, KActionCollection *actionCollection, const QString &actionName)
Q_INVOKABLE QAction * addAction(const QString &name, QAction *action)
Add an action under the given name to the collection.
Definition kactioncollection.cpp:292
static Q_INVOKABLE void setDefaultShortcuts(QAction *action, const QList< QKeySequence > &shortcuts)
Set the default shortcuts for the given action.
Definition kactioncollection.cpp:472
QString i18n(const char *text, const TYPE &arg...)
QString name(StandardAction id)
const QList< QKeySequence > & undo()
const QList< QKeySequence > & redo()
KXMLGUI_EXPORT QAction * createRedoAction(QUndoStack *undoStack, KActionCollection *actionCollection, const QString &actionName=QString())
Creates an redo action with the default shortcut and icon and adds it to actionCollection.
Definition kundoactions.cpp:19
KXMLGUI_EXPORT QAction * createUndoAction(QUndoStack *undoStack, KActionCollection *actionCollection, const QString &actionName=QString())
Creates an undo action with the default KDE shortcut and icon and adds it to actionCollection.
Definition kundoactions.cpp:38
void setIcon(const QIcon &icon)
void setIconText(const QString &text)
QIcon fromTheme(const QString &name)
objectName
void setObjectName(QAnyStringView name)
bool isEmpty() const const
QAction * createRedoAction(QObject *parent, const QString &prefix) const const
QAction * createUndoAction(QObject *parent, const QString &prefix) const const
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.