#include <commands.h>
Public Member Functions | |
TransitionDeleteCommand (Editor *editor, Transition *transition, QUndoCommand *parent=0) | |
~TransitionDeleteCommand () | |
void | redo () |
void | undo () |
Private Attributes | |
Editor * | editor |
Transition * | transition |
bool | wasUndo |
Definition at line 174 of file commands.h.
TransitionDeleteCommand::TransitionDeleteCommand | ( | Editor * | editor, | |
Transition * | transition, | |||
QUndoCommand * | parent = 0 | |||
) |
Definition at line 424 of file commands.cpp.
TransitionDeleteCommand::~TransitionDeleteCommand | ( | ) |
Definition at line 428 of file commands.cpp.
References transition, and wasUndo.
void TransitionDeleteCommand::redo | ( | ) |
Definition at line 440 of file commands.cpp.
References editor, Editor::removeFromListsAndScene(), transition, and wasUndo.
void TransitionDeleteCommand::undo | ( | ) |
Definition at line 434 of file commands.cpp.
References Editor::addToListsAndScene(), editor, transition, and wasUndo.
Editor* TransitionDeleteCommand::editor [private] |
Definition at line 184 of file commands.h.
Transition* TransitionDeleteCommand::transition [private] |
Definition at line 185 of file commands.h.
Referenced by redo(), undo(), and ~TransitionDeleteCommand().
bool TransitionDeleteCommand::wasUndo [private] |
Definition at line 187 of file commands.h.
Referenced by redo(), undo(), and ~TransitionDeleteCommand().