edbee - Qt Editor Library v0.11.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
copycommand.h
Go to the documentation of this file.
1// edbee - Copyright (c) 2012-2025 by Rick Blommers and contributors
2// SPDX-License-Identifier: MIT
3
4#pragma once
5
6#include "edbee/exports.h"
7
8#include <QString>
9
11
12namespace edbee {
13
15
16
19{
20public:
21 static const QString EDBEE_TEXT_TYPE;
22
23public:
24 virtual void execute( TextEditorController* controller ) override;
25 virtual QString toString() override;
26 virtual bool readonly() override;
27};
28
29
30} // edbee
This command is used for copying data to the clipboard.
Definition copycommand.h:19
virtual QString toString() override
Convers this command to string.
Definition copycommand.cpp:51
static const QString EDBEE_TEXT_TYPE
An internal mime-type, used for identifying special copy/paste operations of edbee.
Definition copycommand.h:21
virtual void execute(TextEditorController *controller) override
Copies the current selection to the clipboard.
Definition copycommand.cpp:23
virtual bool readonly() override
Tis method should return true if it's executable in readonly mode.
Definition copycommand.cpp:56
TextEditorCommand()
The default constructor.
Definition texteditorcommand.cpp:12
The texteditor works via the controller. The controller is the central point/mediator which maps/cont...
Definition texteditorcontroller.h:39
#define EDBEE_EXPORT
Definition exports.h:15
QT Acessibility has an issue with reporting blank lines between elements lines. defining 'WINDOWS_EMP...
Definition commentcommand.cpp:20