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

The Duplicate command. Duplicates the selected line or text. More...

#include <duplicatecommand.h>

+ Inheritance diagram for edbee::DuplicateCommand:
+ Collaboration diagram for edbee::DuplicateCommand:

Public Member Functions

virtual void execute (TextEditorController *controller)
 Executes the duplication command. More...
 
virtual QString toString ()
 Returns the textual representation of this command. More...
 
- Public Member Functions inherited from edbee::TextEditorCommand
 TextEditorCommand ()
 The default constructor. More...
 
virtual ~TextEditorCommand ()
 A blank virtual destructor. More...
 

Detailed Description

The Duplicate command. Duplicates the selected line or text.

Member Function Documentation

◆ execute()

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

Executes the duplication command.

Parameters
controllerthe active controller

Implements edbee::TextEditorCommand.

◆ toString()

QString edbee::DuplicateCommand::toString ( )
virtual

Returns the textual representation of this command.

Implements edbee::TextEditorCommand.


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