Public Member Functions | Private Attributes

TransitionAddCommand Class Reference

#include <commands.h>

Collaboration diagram for TransitionAddCommand:

List of all members.

Public Member Functions

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

Private Attributes

Editoreditor
Transitiontransition
bool wasUndo

Detailed Description

Definition at line 159 of file commands.h.


Constructor & Destructor Documentation

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

Definition at line 398 of file commands.cpp.

TransitionAddCommand::~TransitionAddCommand (  ) 

Definition at line 402 of file commands.cpp.

References transition, and wasUndo.


Member Function Documentation

void TransitionAddCommand::redo (  ) 

Definition at line 412 of file commands.cpp.

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

Here is the call graph for this function:

void TransitionAddCommand::undo (  ) 

Definition at line 406 of file commands.cpp.

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

Here is the call graph for this function:


Member Data Documentation

Definition at line 168 of file commands.h.

Referenced by redo(), and undo().

Definition at line 169 of file commands.h.

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

Definition at line 171 of file commands.h.

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


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