edbee - Qt Editor Library
copycommand.h
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #include <QString>
9 
11 
12 namespace edbee {
13 
14 class TextEditorController;
15 
16 
19 {
20 public:
21  static const QString EDBEE_TEXT_TYPE;
22 
23 public:
24  virtual void execute( TextEditorController* controller );
25  virtual QString toString();
26 };
27 
28 
29 } // edbee
static const QString EDBEE_TEXT_TYPE
An internal mime-type, used for identifying special copy/paste operations of edbee.
Definition: copycommand.h:21
This is the abstract base class for a textcommand.
Definition: texteditorcommand.h:49
virtual QString toString()
Convers this command to string.
Definition: copycommand.cpp:49
This command is used for copying data to the clipboard.
Definition: copycommand.h:18
Copyright 2011-2013 - Reliable Bits Software by Blommers IT.
Definition: commentcommand.cpp:22
virtual void execute(TextEditorController *controller)
Copies the current selection to the clipboard.
Definition: copycommand.cpp:25
The texteditor works via the controller. The controller is the central point/mediater which maps/cont...
Definition: texteditorcontroller.h:37