#include <commands.h>
Public Member Functions | |
TransitionAddCommand (Editor *editor, Transition *transition, QUndoCommand *parent=0) | |
~TransitionAddCommand () | |
void | redo () |
void | undo () |
Private Attributes | |
Editor * | editor |
Transition * | transition |
bool | wasUndo |
Definition at line 159 of file commands.h.
TransitionAddCommand::TransitionAddCommand | ( | Editor * | editor, | |
Transition * | transition, | |||
QUndoCommand * | parent = 0 | |||
) |
Definition at line 398 of file commands.cpp.
TransitionAddCommand::~TransitionAddCommand | ( | ) |
Definition at line 402 of file commands.cpp.
References transition, and wasUndo.
void TransitionAddCommand::redo | ( | ) |
Definition at line 412 of file commands.cpp.
References Editor::addToListsAndScene(), editor, transition, and wasUndo.
void TransitionAddCommand::undo | ( | ) |
Definition at line 406 of file commands.cpp.
References editor, Editor::removeFromListsAndScene(), transition, and wasUndo.
Editor* TransitionAddCommand::editor [private] |
Definition at line 168 of file commands.h.
Transition* TransitionAddCommand::transition [private] |
Definition at line 169 of file commands.h.
Referenced by redo(), undo(), and ~TransitionAddCommand().
bool TransitionAddCommand::wasUndo [private] |
Definition at line 171 of file commands.h.
Referenced by redo(), undo(), and ~TransitionAddCommand().