edbee - Qt Editor Library v0.11.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
11
12namespace edbee {
13
15
20{
21public:
22 CommentCommand( bool block );
23 virtual void execute( TextEditorController* controller ) override;
24 virtual QString toString() override;
25
26private:
27
28 bool block_;
29
30};
31
32
33} // edbee
virtual QString toString() override
converts this command to a string
Definition commentcommand.cpp:453
CommentCommand(bool block)
constructs the comment comment
Definition commentcommand.cpp:414
virtual void execute(TextEditorController *controller) override
Executes the given comment.
Definition commentcommand.cpp:422
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