edbee - Qt Editor Library v0.11.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
undocommand.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>
10
11namespace edbee {
12
14{
15public:
16 UndoCommand( bool soft= false );
17
18 virtual int commandId() { return CoalesceId_None; }
19
20 virtual void execute( TextEditorController* controller ) override;
21 virtual QString toString() override;
22 virtual bool readonly() override;
23
24private:
25 bool soft_;
26};
27
28} // edbee
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
virtual int commandId()
Definition undocommand.h:18
UndoCommand(bool soft=false)
Definition undocommand.cpp:12
#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
@ CoalesceId_None
NO coalescing.
Definition texteditorcommand.h:22