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
commentcommand.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
10
#include "
edbee/texteditorcommand.h
"
11
12
namespace
edbee
{
13
14
class
TextEditorController
;
15
19
class
EDBEE_EXPORT
CommentCommand
:
public
TextEditorCommand
20
{
21
public
:
22
CommentCommand
(
bool
block );
23
virtual
void
execute
(
TextEditorController
* controller )
override
;
24
virtual
QString
toString
()
override
;
25
26
private
:
27
28
bool
block_;
29
30
};
19
class
EDBEE_EXPORT
CommentCommand
:
public
TextEditorCommand
{
…
};
31
32
33
}
// edbee
edbee::CommentCommand::toString
virtual QString toString() override
converts this command to a string
Definition
commentcommand.cpp:453
edbee::CommentCommand::CommentCommand
CommentCommand(bool block)
constructs the comment comment
Definition
commentcommand.cpp:414
edbee::CommentCommand::execute
virtual void execute(TextEditorController *controller) override
Executes the given comment.
Definition
commentcommand.cpp:422
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
exports.h
EDBEE_EXPORT
#define EDBEE_EXPORT
Definition
exports.h:15
edbee
QT Acessibility has an issue with reporting blank lines between elements lines. defining 'WINDOWS_EMP...
Definition
commentcommand.cpp:20
texteditorcommand.h
edbee
commands
commentcommand.h
Generated on Wed Mar 5 2025 21:11:15 for edbee - Qt Editor Library by
1.13.2