edbee - Qt Editor Library
Public Member Functions | List of all members
edbee::PasteCommand Class Reference

Executes a paste command This usually simply pastes the text at the given location. There are two special cases: More...

#include <pastecommand.h>

+ Inheritance diagram for edbee::PasteCommand:
+ Collaboration diagram for edbee::PasteCommand:

Public Member Functions

 PasteCommand ()
 Default (blank) constructor. More...
 
virtual int commandId ()
 Returns the command id for coalescing this operation. More...
 
virtual void execute (TextEditorController *controller)
 Execute the paste command. More...
 
virtual QString toString ()
 Converst the command to a string (for fetching the commandname) More...
 
- Public Member Functions inherited from edbee::TextEditorCommand
 TextEditorCommand ()
 The default constructor. More...
 
virtual ~TextEditorCommand ()
 A blank virtual destructor. More...
 

Detailed Description

Executes a paste command This usually simply pastes the text at the given location. There are two special cases:

Constructor & Destructor Documentation

◆ PasteCommand()

edbee::PasteCommand::PasteCommand ( )

Default (blank) constructor.

Member Function Documentation

◆ commandId()

int edbee::PasteCommand::commandId ( )
virtual

Returns the command id for coalescing this operation.

◆ execute()

void edbee::PasteCommand::execute ( TextEditorController controller)
virtual

Execute the paste command.

Parameters
controllerthe controller context this operation is executed for

Implements edbee::TextEditorCommand.

◆ toString()

QString edbee::PasteCommand::toString ( )
virtual

Converst the command to a string (for fetching the commandname)

Implements edbee::TextEditorCommand.


The documentation for this class was generated from the following files: