Inheritance diagram for KeyFrameRemoveCommand:
Collaboration diagram for KeyFrameRemoveCommand:Public Member Functions | |
| KeyFrameRemoveCommand (const KeyFrame *undoKeyFrame, int undoLayerId, const QString &description, Editor *editor, QUndoCommand *parent=nullptr) | |
| void | undo () override |
| void | redo () override |
Public Member Functions inherited from UndoRedoCommand | |
| 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 |
Private Attributes | |
| int | undoLayerId = 0 |
| int | redoLayerId = 0 |
| KeyFrame * | undoKeyFrame = nullptr |
| int | redoPosition = 0 |
Additional Inherited Members | |
Protected Member Functions inherited from UndoRedoCommand | |
| Editor * | editor () const |
| bool | isFirstRedo () const |
| void | setFirstRedo (const bool state) |
Definition at line 56 of file undoredocommand.h.
| KeyFrameRemoveCommand::KeyFrameRemoveCommand | ( | const KeyFrame * | undoKeyFrame, |
| int | undoLayerId, | ||
| const QString & | description, | ||
| Editor * | editor, | ||
| QUndoCommand * | parent = nullptr |
||
| ) |
Definition at line 38 of file undoredocommand.cpp.
|
override |
Definition at line 53 of file undoredocommand.cpp.
|
overridevirtual |
Reimplemented from QUndoCommand.
Definition at line 76 of file undoredocommand.cpp.
|
overridevirtual |
Reimplemented from QUndoCommand.
Definition at line 58 of file undoredocommand.cpp.
|
private |
Definition at line 73 of file undoredocommand.h.
|
private |
Definition at line 76 of file undoredocommand.h.
|
private |
Definition at line 75 of file undoredocommand.h.
|
private |
Definition at line 72 of file undoredocommand.h.