![]() |
TinkerCell Core 1.0
TinkerCell's Core library providing all basic functionalities
|
this command can be used to invert another undo command (i.e. flip the redo/undo) More...
#include <UndoCommands.h>
Public Member Functions | |
ReverseUndoCommand (const QString &, QUndoCommand *, bool deleteCommand=true) | |
constructor | |
~ReverseUndoCommand () | |
void | redo () |
void | undo () |
Public Attributes | |
QUndoCommand * | command |
bool | deleteCommand |
this command can be used to invert another undo command (i.e. flip the redo/undo)
Definition at line 552 of file UndoCommands.h.
Tinkercell::ReverseUndoCommand::ReverseUndoCommand | ( | const QString & | name, |
QUndoCommand * | cmd, | ||
bool | deleteCommand = true |
||
) |
constructor
QString | name of command |
QList<QUndoCommand*>& | the command to invert |
bool | whether or not to delete the inverted command (true = DO delete) |
Definition at line 2763 of file UndoCommands.cpp.
Tinkercell::ReverseUndoCommand::~ReverseUndoCommand | ( | ) |
Definition at line 2767 of file UndoCommands.cpp.
void Tinkercell::ReverseUndoCommand::redo | ( | ) |
Definition at line 2775 of file UndoCommands.cpp.
void Tinkercell::ReverseUndoCommand::undo | ( | ) |
Definition at line 2779 of file UndoCommands.cpp.
Definition at line 564 of file UndoCommands.h.
Definition at line 565 of file UndoCommands.h.