#include <commands.h>
Public Member Functions | |
ItemsRemoveCommand (Editor *editor, const QList< State * > &stateList, const QList< Transition * > &transitionList, QUndoCommand *parent=0) | |
~ItemsRemoveCommand () | |
void | redo () |
void | undo () |
Protected Attributes | |
Editor * | editor |
QList< State * > | stateList |
QList< Transition * > | transitionList |
bool | wasUndo |
Definition at line 554 of file commands.h.
ItemsRemoveCommand::ItemsRemoveCommand | ( | Editor * | editor, | |
const QList< State * > & | stateList, | |||
const QList< Transition * > & | transitionList, | |||
QUndoCommand * | parent = 0 | |||
) |
Definition at line 1364 of file commands.cpp.
ItemsRemoveCommand::~ItemsRemoveCommand | ( | ) |
Definition at line 1371 of file commands.cpp.
References stateList, transitionList, and wasUndo.
void ItemsRemoveCommand::redo | ( | ) |
Definition at line 1403 of file commands.cpp.
References Editor::removeFromListsAndScene(), stateList, transitionList, and wasUndo.
void ItemsRemoveCommand::undo | ( | ) |
Definition at line 1387 of file commands.cpp.
References Editor::addToListsAndScene(), stateList, transitionList, and wasUndo.
Editor* ItemsRemoveCommand::editor [protected] |
Definition at line 567 of file commands.h.
QList<State *> ItemsRemoveCommand::stateList [protected] |
Definition at line 568 of file commands.h.
Referenced by redo(), undo(), and ~ItemsRemoveCommand().
QList<Transition *> ItemsRemoveCommand::transitionList [protected] |
Definition at line 569 of file commands.h.
Referenced by redo(), undo(), and ~ItemsRemoveCommand().
bool ItemsRemoveCommand::wasUndo [protected] |
Definition at line 571 of file commands.h.
Referenced by redo(), undo(), and ~ItemsRemoveCommand().