Public Member Functions | Private Attributes

TransitionEditWithDelCommand Class Reference

#include <commands.h>

Collaboration diagram for TransitionEditWithDelCommand:

List of all members.

Public Member Functions

 TransitionEditWithDelCommand (Editor *editor, Transition *tr_backup, Transition *tr_new, QUndoCommand *parent=0)
 ~TransitionEditWithDelCommand ()
void copyExtendedParameters (Transition *tr1, Transition *const tr2)
void redo ()
void undo ()

Private Attributes

Editoreditor
Transitiontr_backup
Transitiontr_new
bool wasUndo

Detailed Description

Definition at line 232 of file commands.h.


Constructor & Destructor Documentation

TransitionEditWithDelCommand::TransitionEditWithDelCommand ( Editor editor,
Transition tr_backup,
Transition tr_new,
QUndoCommand *  parent = 0 
)

Definition at line 535 of file commands.cpp.

TransitionEditWithDelCommand::~TransitionEditWithDelCommand (  ) 

Definition at line 539 of file commands.cpp.

References wasUndo.


Member Function Documentation

void TransitionEditWithDelCommand::copyExtendedParameters ( Transition tr1,
Transition *const   tr2 
)
void TransitionEditWithDelCommand::redo (  ) 

Definition at line 565 of file commands.cpp.

References Editor::addToListsAndScene(), Transition::adjust(), copyExtendedParameters(), Transition::nextLabels, Editor::removeFromListsAndScene(), and wasUndo.

Here is the call graph for this function:

void TransitionEditWithDelCommand::undo (  ) 

Definition at line 550 of file commands.cpp.

References Editor::addToListsAndScene(), Transition::adjust(), Transition::nextLabels, Editor::removeFromListsAndScene(), and wasUndo.

Here is the call graph for this function:


Member Data Documentation

Definition at line 244 of file commands.h.

Definition at line 245 of file commands.h.

Definition at line 245 of file commands.h.

Definition at line 247 of file commands.h.

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


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