Executes a paste command This usually simply pastes the text at the given location. There are two special cases: More...
#include <pastecommand.h>
Public Member Functions | |
PasteCommand () | |
Default (blank) constructor. | |
virtual int | commandId () |
Returns the command id for coalescing this operation. | |
virtual void | execute (TextEditorController *controller) override |
Execute the paste command. | |
virtual QString | toString () override |
Converst the command to a string (for fetching the commandname) | |
![]() | |
TextEditorCommand () | |
The default constructor. | |
virtual | ~TextEditorCommand () |
A blank virtual destructor. | |
virtual bool | readonly () |
Tis method should return true if it's executable in readonly mode. | |
Executes a paste command This usually simply pastes the text at the given location. There are two special cases:
edbee::PasteCommand::PasteCommand | ( | ) |
Default (blank) constructor.
|
virtual |
Returns the command id for coalescing this operation.
|
overridevirtual |
Execute the paste command.
controller | the controller context this operation is executed for |
Implements edbee::TextEditorCommand.
|
overridevirtual |
Converst the command to a string (for fetching the commandname)
Implements edbee::TextEditorCommand.