Inheritance diagram for UndoRedoCommand:
Collaboration diagram for UndoRedoCommand:Public Member Functions | |
| UndoRedoCommand (Editor *editor, QUndoCommand *parent=nullptr) | |
Public Member Functions inherited from QUndoCommand | |
| QUndoCommand (QUndoCommand *parent) | |
| QUndoCommand (const QString &text, QUndoCommand *parent) | |
| virtual void | undo () |
| virtual void | redo () |
| QString | text () const const |
| QString | actionText () const const |
| void | setText (const QString &text) |
| bool | isObsolete () const const |
| void | setObsolete (bool obsolete) |
| virtual int | id () const const |
| virtual bool | mergeWith (const QUndoCommand *command) |
| int | childCount () const const |
| const QUndoCommand * | child (int index) const const |
Protected Member Functions | |
| Editor * | editor () |
| bool | isFirstRedo () const |
| void | setFirstRedo (const bool state) |
Private Attributes | |
| Editor * | mEditor = nullptr |
| bool | mIsFirstRedo = true |
Definition at line 37 of file undoredocommand.h.
|
explicit |
Definition at line 31 of file undoredocommand.cpp.
|
override |
Definition at line 37 of file undoredocommand.cpp.
|
inlineprotected |
Definition at line 44 of file undoredocommand.h.
|
inlineprotected |
Definition at line 46 of file undoredocommand.h.
|
inlineprotected |
Definition at line 47 of file undoredocommand.h.
|
private |
Definition at line 50 of file undoredocommand.h.
|
private |
Definition at line 51 of file undoredocommand.h.