edbee - Qt Editor Library
Public Member Functions | Static Public Attributes | List of all members
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)
 Copies the current selection to the clipboard. More...
 
virtual QString toString ()
 Convers this command to string. More...
 
- Public Member Functions inherited from edbee::TextEditorCommand
 TextEditorCommand ()
 The default constructor. More...
 
virtual ~TextEditorCommand ()
 A blank virtual destructor. More...
 

Static Public Attributes

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

Detailed Description

This command is used for copying data to the clipboard.

Member Function Documentation

◆ execute()

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

Copies the current selection to the clipboard.

Implements edbee::TextEditorCommand.

◆ toString()

QString edbee::CopyCommand::toString ( )
virtual

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: