kalarm
Undo Class Reference
List of all members.Detailed Description
Definition at line 33 of file undo.h.
Public Types | |
enum | Type { NONE, UNDO, REDO } |
typedef QValueList< UndoItem * > | List |
Signals | |
void | changed (const QString &undo, const QString &redo) |
Static Public Member Functions | |
static Undo * | instance () |
static void | saveAdd (const KAEvent &) |
static void | saveEdit (const KAEvent &oldEvent, const KAEvent &newEvent) |
static void | saveDelete (const KAEvent &) |
static void | saveDeletes (const QValueList< KAEvent > &) |
static void | saveReactivate (const KAEvent &) |
static void | saveReactivates (const QValueList< KAEvent > &) |
static bool | undo (QWidget *parent, const QString &action) |
static bool | undo (int id, QWidget *parent, const QString &action) |
static bool | redo (QWidget *parent, const QString &action) |
static bool | redo (int id, QWidget *parent, const QString &action) |
static void | clear () |
static bool | haveUndo () |
static bool | haveRedo () |
static QString | actionText (Type) |
static QString | actionText (Type, int id) |
static QString | description (Type, int id) |
static QValueList< int > | ids (Type) |
static void | emitChanged () |
Static Protected Member Functions | |
static void | add (UndoItem *, bool undo) |
static void | remove (UndoItem *, bool undo) |
static void | replace (UndoItem *old, UndoItem *New) |
Friends | |
class | UndoItem |
The documentation for this class was generated from the following files: