edbee - Qt Editor Library v0.11.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
togglereadonlycommand.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#include "edbee/exports.h"
7
8
9namespace edbee {
10
12{
13public:
15
16 virtual void execute(TextEditorController* controller) override;
17 virtual QString toString() override;
18 virtual bool readonly() override;
19
20};
21
22} // edbee
23
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 QString toString() override
should return the description of the command
Definition togglereadonlycommand.cpp:27
virtual void execute(TextEditorController *controller) override
This method should execute the given command.
Definition togglereadonlycommand.cpp:22
ToggleReadonlyCommand()
Constructs the toggle readonly command.
Definition togglereadonlycommand.cpp:17
virtual bool readonly() override
Tis method should return true if it's executable in readonly mode.
Definition togglereadonlycommand.cpp:32
QT Acessibility has an issue with reporting blank lines between elements lines. defining 'WINDOWS_EMP...
Definition commentcommand.cpp:20