KXmlGui

kundoactions.h
1 /*
2  This file is part of the KDE project
3  SPDX-FileCopyrightText: 2006 Peter Simonsson <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7 
8 #ifndef KUNDOACTIONS_H
9 #define KUNDOACTIONS_H
10 
11 #include <kxmlgui_export.h>
12 
13 #include <QString>
14 
15 class KActionCollection;
16 class QAction;
17 class QUndoStack;
18 
25 namespace KUndoActions
26 {
34 KXMLGUI_EXPORT QAction *createRedoAction(QUndoStack *undoStack, KActionCollection *actionCollection, const QString &actionName = QString());
35 
43 KXMLGUI_EXPORT QAction *createUndoAction(QUndoStack *undoStack, KActionCollection *actionCollection, const QString &actionName = QString());
44 }
45 
46 #endif
A container for a set of QAction objects.
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.
Provides functions that creates undo/redo actions for a QUndoStack with KDE&#39;s default icons and short...
Definition: kundoactions.h:25
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.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Aug 12 2020 22:50:46 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.