#include <togglereadonlycommand.h>
Public Member Functions | |
ToggleReadonlyCommand () | |
Constructs the toggle readonly command. | |
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::ToggleReadonlyCommand::ToggleReadonlyCommand | ( | ) |
Constructs the toggle readonly command.
|
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.