Public Member Functions | Protected Attributes

ItemsRemoveCommand Class Reference

#include <commands.h>

Collaboration diagram for ItemsRemoveCommand:

List of all members.

Public Member Functions

 ItemsRemoveCommand (Editor *editor, const QList< State * > &stateList, const QList< Transition * > &transitionList, QUndoCommand *parent=0)
 ~ItemsRemoveCommand ()
void redo ()
void undo ()

Protected Attributes

Editoreditor
QList< State * > stateList
QList< Transition * > transitionList
bool wasUndo

Detailed Description

Definition at line 554 of file commands.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

void ItemsRemoveCommand::redo (  ) 

Definition at line 1403 of file commands.cpp.

References Editor::removeFromListsAndScene(), stateList, transitionList, and wasUndo.

Here is the call graph for this function:

void ItemsRemoveCommand::undo (  ) 

Definition at line 1387 of file commands.cpp.

References Editor::addToListsAndScene(), stateList, transitionList, and wasUndo.

Here is the call graph for this function:


Member Data Documentation

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().

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().


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