edbee - Qt Editor Library v0.11.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
edbee::CopyCommand Class Reference

This command is used for copying data to the clipboard. More...

#include <copycommand.h>

+ Inheritance diagram for edbee::CopyCommand:
+ Collaboration diagram for edbee::CopyCommand:

Public Member Functions

virtual void execute (TextEditorController *controller) override
 Copies the current selection to the clipboard.
 
virtual QString toString () override
 Convers this command to string.
 
virtual bool readonly () override
 Tis method should return true if it's executable in readonly mode.
 
- Public Member Functions inherited from edbee::TextEditorCommand
 TextEditorCommand ()
 The default constructor.
 
virtual ~TextEditorCommand ()
 A blank virtual destructor.
 

Static Public Attributes

static const QString EDBEE_TEXT_TYPE
 An internal mime-type, used for identifying special copy/paste operations of edbee.
 

Detailed Description

This command is used for copying data to the clipboard.

Member Function Documentation

◆ execute()

void edbee::CopyCommand::execute ( TextEditorController * controller)
overridevirtual

Copies the current selection to the clipboard.

Implements edbee::TextEditorCommand.

◆ readonly()

bool edbee::CopyCommand::readonly ( )
overridevirtual

Tis method should return true if it's executable in readonly mode.

Reimplemented from edbee::TextEditorCommand.

◆ toString()

QString edbee::CopyCommand::toString ( )
overridevirtual

Convers this command to string.

Implements edbee::TextEditorCommand.

Member Data Documentation

◆ EDBEE_TEXT_TYPE

const QString edbee::CopyCommand::EDBEE_TEXT_TYPE
static

An internal mime-type, used for identifying special copy/paste operations of edbee.


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