#include <commands.h>
Public Member Functions | |
NextLabelDeleteCommand (Editor *editor, LabelX *label, QUndoCommand *parent=0) | |
~NextLabelDeleteCommand () | |
void | redo () |
void | undo () |
Protected Attributes | |
Editor * | editor |
LabelX * | label |
bool | wasUndo |
Definition at line 301 of file commands.h.
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.
void NextLabelDeleteCommand::redo | ( | ) |
Definition at line 746 of file commands.cpp.
References Editor::removeFromListAndScene(), and wasUndo.
void NextLabelDeleteCommand::undo | ( | ) |
Definition at line 739 of file commands.cpp.
References Editor::addToListAndScene(), and wasUndo.
Editor* NextLabelDeleteCommand::editor [protected] |
Definition at line 311 of file commands.h.
LabelX* NextLabelDeleteCommand::label [protected] |
Definition at line 312 of file commands.h.
bool NextLabelDeleteCommand::wasUndo [protected] |
Definition at line 313 of file commands.h.
Referenced by redo(), undo(), and ~NextLabelDeleteCommand().