edbee - Qt Editor Library v0.11.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
pastecommand.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
9
10namespace edbee {
11
13
20{
21public:
23
24 virtual int commandId();
25
26 virtual void execute( TextEditorController* controller ) override;
27 virtual QString toString() override;
28};
29
30} // edbee
virtual int commandId()
Returns the command id for coalescing this operation.
Definition pastecommand.cpp:32
virtual void execute(TextEditorController *controller) override
Execute the paste command.
Definition pastecommand.cpp:40
PasteCommand()
Default (blank) constructor.
Definition pastecommand.cpp:26
virtual QString toString() override
Converst the command to a string (for fetching the commandname)
Definition pastecommand.cpp:84
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