kalarm
Undo Class Reference
#include <undo.h>
List of all members.
Detailed Description
Definition at line 35 of file undo.h.
|
Public Types |
| typedef AutoDeleteList< UndoItem > | List |
| enum | Type { NONE,
UNDO,
REDO
} |
Signals |
| void | changed (const QString &undo, const QString &redo) |
Static Public Member Functions |
| static QString | actionText (Type, int id) |
| static QString | actionText (Type) |
| static void | clear () |
| static QString | description (Type, int id) |
| static void | emitChanged () |
| static bool | haveRedo () |
| static bool | haveUndo () |
| static QList< int > | ids (Type) |
| static Undo * | instance () |
| static bool | redo (int id, QWidget *parent, const QString &action) |
| static bool | redo (QWidget *parent, const QString &action) |
| static void | saveAdd (const KAEvent &, AlarmResource *, const QString &name=QString()) |
| static void | saveAdds (const EventList &, const QString &name=QString()) |
| static void | saveDelete (const Event &, const QString &name=QString()) |
| static void | saveDeletes (const EventList &, const QString &name=QString()) |
| static void | saveEdit (const Event &oldEvent, const KAEvent &newEvent) |
| static void | saveReactivate (const KAEvent &, AlarmResource *, const QString &name=QString()) |
| static void | saveReactivates (const EventList &, const QString &name=QString()) |
| static bool | undo (int id, QWidget *parent, const QString &action) |
| static bool | undo (QWidget *parent, const QString &action) |
Static Protected Member Functions |
| static void | add (UndoItem *, bool undo) |
| static void | remove (UndoItem *, bool undo) |
| static void | replace (UndoItem *old, UndoItem *New) |
Classes |
| struct | Event |
| class | EventList |
Member Typedef Documentation
Member Enumeration Documentation
- Enumerator:
-
Definition at line 39 of file undo.h.
Member Function Documentation
| void Undo::add |
( |
UndoItem * |
item, |
|
|
bool |
undo | |
|
) |
| | [static, protected] |
| void Undo::changed |
( |
const QString & |
undo, |
|
|
const QString & |
redo | |
|
) |
| | [signal] |
| void Undo::clear |
( |
|
) |
[static] |
| void Undo::emitChanged |
( |
|
) |
[static] |
| static bool Undo::haveRedo |
( |
|
) |
[inline, static] |
| static bool Undo::haveUndo |
( |
|
) |
[inline, static] |
| Undo * Undo::instance |
( |
|
) |
[static] |
| static bool Undo::redo |
( |
int |
id, |
|
|
QWidget * |
parent, |
|
|
const QString & |
action | |
|
) |
| | [inline, static] |
| static bool Undo::redo |
( |
QWidget * |
parent, |
|
|
const QString & |
action | |
|
) |
| | [inline, static] |
| void Undo::remove |
( |
UndoItem * |
item, |
|
|
bool |
undo | |
|
) |
| | [static, protected] |
| void Undo::replace |
( |
UndoItem * |
old, |
|
|
UndoItem * |
New | |
|
) |
| | [static, protected] |
| void Undo::saveAdd |
( |
const KAEvent & |
event, |
|
|
AlarmResource * |
resource, |
|
|
const QString & |
name = QString() | |
|
) |
| | [static] |
| void Undo::saveEdit |
( |
const Event & |
oldEvent, |
|
|
const KAEvent & |
newEvent | |
|
) |
| | [static] |
| void Undo::saveReactivate |
( |
const KAEvent & |
event, |
|
|
AlarmResource * |
resource, |
|
|
const QString & |
name = QString() | |
|
) |
| | [static] |
| static bool Undo::undo |
( |
int |
id, |
|
|
QWidget * |
parent, |
|
|
const QString & |
action | |
|
) |
| | [inline, static] |
| static bool Undo::undo |
( |
QWidget * |
parent, |
|
|
const QString & |
action | |
|
) |
| | [inline, static] |
The documentation for this class was generated from the following files: