Public Member Functions | Private Attributes

StateDeleteCommand Class Reference

#include <commands.h>

Collaboration diagram for StateDeleteCommand:

List of all members.

Public Member Functions

 StateDeleteCommand (Editor *editor, State *state, QUndoCommand *parent=0)
 ~StateDeleteCommand ()
void redo ()
void undo ()

Private Attributes

Editoreditor
Statestate
QList< Transition * > transitionList
bool wasUndo

Detailed Description

Definition at line 68 of file commands.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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:


Member Data Documentation

Definition at line 78 of file commands.h.

Referenced by redo(), and undo().

Definition at line 79 of file commands.h.

Referenced by redo(), undo(), and ~StateDeleteCommand().

Definition at line 80 of file commands.h.

Referenced by redo(), StateDeleteCommand(), undo(), and ~StateDeleteCommand().

Definition at line 82 of file commands.h.

Referenced by redo(), undo(), and ~StateDeleteCommand().


The documentation for this class was generated from the following files: