Public Member Functions | Private Attributes

TransitionDeleteCommand Class Reference

#include <commands.h>

Collaboration diagram for TransitionDeleteCommand:

List of all members.

Public Member Functions

 TransitionDeleteCommand (Editor *editor, Transition *transition, QUndoCommand *parent=0)
 ~TransitionDeleteCommand ()
void redo ()
void undo ()

Private Attributes

Editoreditor
Transitiontransition
bool wasUndo

Detailed Description

Definition at line 174 of file commands.h.


Constructor & Destructor Documentation

TransitionDeleteCommand::TransitionDeleteCommand ( Editor editor,
Transition transition,
QUndoCommand *  parent = 0 
)

Definition at line 424 of file commands.cpp.

TransitionDeleteCommand::~TransitionDeleteCommand (  ) 

Definition at line 428 of file commands.cpp.

References transition, and wasUndo.


Member Function Documentation

void TransitionDeleteCommand::redo (  ) 

Definition at line 440 of file commands.cpp.

References editor, Editor::removeFromListsAndScene(), transition, and wasUndo.

Here is the call graph for this function:

void TransitionDeleteCommand::undo (  ) 

Definition at line 434 of file commands.cpp.

References Editor::addToListsAndScene(), editor, transition, and wasUndo.

Here is the call graph for this function:


Member Data Documentation

Definition at line 184 of file commands.h.

Referenced by redo(), and undo().

Definition at line 185 of file commands.h.

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

Definition at line 187 of file commands.h.

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


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