corecommand.h
Go to the documentation of this file.
void executeSave() override
Save current state of the command for the reverse unExcute()
Definition: corecommand.cpp:27
Definition: corecommand.h:14
void unExcute() const override
Reverse the execute() function.
Definition: corecommand.cpp:32
void execute() const override
Execute the command.
Definition: corecommand.cpp:18
virtual ~CoreCommand()=default
CoreCommand(QString const &name, bool save, Event const &exec, Event const &undo)
Definition: corecommand.cpp:10
Definition: command.h:11
Definition: api.h:13
static std::queue< CoreCommand * > commandQueue
Definition: corecommand.h:33
const QString & name() const
Get the command name.
Definition: command.cpp:34