Public Member Functions | Protected Attributes

NextLabelDeleteCommand Class Reference

#include <commands.h>

Collaboration diagram for NextLabelDeleteCommand:

List of all members.

Public Member Functions

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

Protected Attributes

Editoreditor
LabelXlabel
bool wasUndo

Detailed Description

Definition at line 301 of file commands.h.


Constructor & Destructor Documentation

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

Definition at line 726 of file commands.cpp.

NextLabelDeleteCommand::~NextLabelDeleteCommand (  ) 

Definition at line 731 of file commands.cpp.

References wasUndo.


Member Function Documentation

void NextLabelDeleteCommand::redo (  ) 

Definition at line 746 of file commands.cpp.

References Editor::removeFromListAndScene(), and wasUndo.

Here is the call graph for this function:

void NextLabelDeleteCommand::undo (  ) 

Definition at line 739 of file commands.cpp.

References Editor::addToListAndScene(), and wasUndo.

Here is the call graph for this function:


Member Data Documentation

Definition at line 311 of file commands.h.

Definition at line 312 of file commands.h.

Definition at line 313 of file commands.h.

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


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