KDEUI
kundostack.cpp
Go to the documentation of this file.
37 QAction* KUndoStack::createRedoAction(KActionCollection* actionCollection, const QString& actionName)
56 QAction* KUndoStack::createUndoAction(KActionCollection* actionCollection, const QString& actionName)
QString i18n(const char *text)
Definition: kstandardaction.h:133
void setIconText(const QString &text)
void setIcon(const QIcon &icon)
const char * name(StandardAction id)
This will return the internal name of a given standard action.
Definition: kstandardaction.cpp:223
QAction * addAction(const QString &name, QAction *action)
Add an action under the given name to the collection.
Definition: kactioncollection.cpp:217
Definition: kstandardaction.h:133
void setShortcuts(const QList< QKeySequence > &shortcuts)
QAction * createUndoAction(KActionCollection *actionCollection, const QString &actionName=QString())
Creates an undo action with the default KDE shortcut and icon and adds it to actionCollection.
Definition: kundostack.cpp:56
QAction * createUndoAction(QObject *parent, const QString &prefix) const
void setObjectName(const QString &name)
bool isEmpty() const
QAction * createRedoAction(QObject *parent, const QString &prefix) const
QAction * createRedoAction(KActionCollection *actionCollection, const QString &actionName=QString())
Creates an redo action with the default shortcut and icon and adds it to actionCollection.
Definition: kundostack.cpp:37
KUndoStack(QObject *parent=0)
Constructs a KUndoStack with parent as parent.
Definition: kundostack.cpp:32
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.