#include <commands.h>
Collaboration diagram for StateDeleteCommand:Public Member Functions | |
| StateDeleteCommand (Editor *editor, State *state, QUndoCommand *parent=0) | |
| ~StateDeleteCommand () | |
| void | redo () |
| void | undo () |
Private Attributes | |
| Editor * | editor |
| State * | state |
| QList< Transition * > | transitionList |
| bool | wasUndo |
Definition at line 68 of file commands.h.
| StateDeleteCommand::StateDeleteCommand | ( | Editor * | editor, | |
| State * | state, | |||
| QUndoCommand * | parent = 0 | |||
| ) |
Definition at line 136 of file commands.cpp.
References State::getTransitionList(), and transitionList.
Here is the call graph for this function:| StateDeleteCommand::~StateDeleteCommand | ( | ) |
Definition at line 142 of file commands.cpp.
References state, transitionList, and wasUndo.
| void StateDeleteCommand::redo | ( | ) |
Definition at line 166 of file commands.cpp.
References createCommandString(), editor, Editor::removeFromListsAndScene(), state, transitionList, and wasUndo.
Here is the call graph for this function:| void StateDeleteCommand::undo | ( | ) |
Definition at line 154 of file commands.cpp.
References Editor::addToListsAndScene(), createCommandString(), editor, state, transitionList, and wasUndo.
Here is the call graph for this function:Editor* StateDeleteCommand::editor [private] |
Definition at line 78 of file commands.h.
State* StateDeleteCommand::state [private] |
Definition at line 79 of file commands.h.
Referenced by redo(), undo(), and ~StateDeleteCommand().
QList<Transition *> StateDeleteCommand::transitionList [private] |
Definition at line 80 of file commands.h.
Referenced by redo(), StateDeleteCommand(), undo(), and ~StateDeleteCommand().
bool StateDeleteCommand::wasUndo [private] |
Definition at line 82 of file commands.h.
Referenced by redo(), undo(), and ~StateDeleteCommand().
1.7.0