#include <commands.h>
Public Member Functions | |
NextLabelAddCommand (Editor *editor, LabelX *label, QUndoCommand *parent=0) | |
~NextLabelAddCommand () | |
void | redo () |
void | undo () |
Protected Attributes | |
Editor * | editor |
LabelX * | label |
bool | wasUndo |
Definition at line 286 of file commands.h.
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.
void NextLabelAddCommand::redo | ( | ) |
Definition at line 712 of file commands.cpp.
References Editor::addToListAndScene(), and wasUndo.
void NextLabelAddCommand::undo | ( | ) |
Definition at line 705 of file commands.cpp.
References Editor::removeFromListAndScene(), and wasUndo.
Editor* NextLabelAddCommand::editor [protected] |
Definition at line 296 of file commands.h.
LabelX* NextLabelAddCommand::label [protected] |
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().