#include <undocommand.h>
Public Member Functions | |
UndoCommand (bool soft=false) | |
virtual int | commandId () |
virtual void | execute (TextEditorController *controller) override |
This method should execute the given command. | |
virtual QString | toString () override |
should return the description of the command | |
virtual bool | readonly () override |
Tis method should return true if it's executable in readonly mode. | |
![]() | |
TextEditorCommand () | |
The default constructor. | |
virtual | ~TextEditorCommand () |
A blank virtual destructor. | |
edbee::UndoCommand::UndoCommand | ( | bool | soft = false | ) |
|
inlinevirtual |
|
overridevirtual |
This method should execute the given command.
Implements edbee::TextEditorCommand.
|
overridevirtual |
Tis method should return true if it's executable in readonly mode.
Reimplemented from edbee::TextEditorCommand.
|
overridevirtual |
should return the description of the command
Implements edbee::TextEditorCommand.