edbee - Qt Editor Library
v0.11.1
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
c
e
f
i
k
l
m
o
p
q
r
s
t
u
v
Functions
Variables
Typedefs
Enumerations
Enumerator
c
e
f
i
k
l
m
o
p
r
s
t
u
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Variables
a
b
c
d
e
f
g
i
k
l
n
o
p
q
s
t
Enumerations
Enumerator
a
b
d
e
f
h
i
l
m
n
p
r
s
t
u
w
Related Symbols
Files
File List
File Members
All
_
a
d
e
g
o
p
q
s
t
v
Macros
_
a
d
e
g
o
p
q
s
t
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
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
"
6
#include "
edbee/texteditorcommand.h
"
7
8
9
namespace
edbee
{
10
11
class
ToggleReadonlyCommand
:
public
TextEditorCommand
12
{
13
public
:
14
ToggleReadonlyCommand
();
15
16
virtual
void
execute
(
TextEditorController
* controller)
override
;
17
virtual
QString
toString
()
override
;
18
virtual
bool
readonly
()
override
;
19
20
};
11
class
ToggleReadonlyCommand
:
public
TextEditorCommand
{
…
};
21
22
}
// edbee
23
edbee::TextEditorCommand::TextEditorCommand
TextEditorCommand()
The default constructor.
Definition
texteditorcommand.cpp:12
edbee::TextEditorController
The texteditor works via the controller. The controller is the central point/mediator which maps/cont...
Definition
texteditorcontroller.h:39
edbee::ToggleReadonlyCommand::toString
virtual QString toString() override
should return the description of the command
Definition
togglereadonlycommand.cpp:27
edbee::ToggleReadonlyCommand::execute
virtual void execute(TextEditorController *controller) override
This method should execute the given command.
Definition
togglereadonlycommand.cpp:22
edbee::ToggleReadonlyCommand::ToggleReadonlyCommand
ToggleReadonlyCommand()
Constructs the toggle readonly command.
Definition
togglereadonlycommand.cpp:17
edbee::ToggleReadonlyCommand::readonly
virtual bool readonly() override
Tis method should return true if it's executable in readonly mode.
Definition
togglereadonlycommand.cpp:32
exports.h
edbee
QT Acessibility has an issue with reporting blank lines between elements lines. defining 'WINDOWS_EMP...
Definition
commentcommand.cpp:20
texteditorcommand.h
edbee
commands
togglereadonlycommand.h
Generated on Wed Mar 5 2025 21:11:15 for edbee - Qt Editor Library by
1.13.2