Public Member Functions | Protected Attributes

NextLabelAddCommand Class Reference

#include <commands.h>

Collaboration diagram for NextLabelAddCommand:

List of all members.

Public Member Functions

 NextLabelAddCommand (Editor *editor, LabelX *label, QUndoCommand *parent=0)
 ~NextLabelAddCommand ()
void redo ()
void undo ()

Protected Attributes

Editoreditor
LabelXlabel
bool wasUndo

Detailed Description

Definition at line 286 of file commands.h.


Constructor & Destructor Documentation

NextLabelAddCommand::NextLabelAddCommand ( Editor editor,
LabelX label,
QUndoCommand *  parent = 0 
)

Definition at line 692 of file commands.cpp.

NextLabelAddCommand::~NextLabelAddCommand (  ) 

Definition at line 697 of file commands.cpp.

References wasUndo.


Member Function Documentation

void NextLabelAddCommand::redo (  ) 

Definition at line 712 of file commands.cpp.

References Editor::addToListAndScene(), and wasUndo.

Here is the call graph for this function:

void NextLabelAddCommand::undo (  ) 

Definition at line 705 of file commands.cpp.

References Editor::removeFromListAndScene(), and wasUndo.

Here is the call graph for this function:


Member Data Documentation

Definition at line 296 of file commands.h.

Definition at line 297 of file commands.h.

bool NextLabelAddCommand::wasUndo [protected]

Definition at line 298 of file commands.h.

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


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