edbee - Qt Editor Library v0.11.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
movelinecommand.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
9
10namespace edbee {
11
14{
15public:
16 MoveLineCommand( int direction );
17 virtual ~MoveLineCommand();
18
19 virtual void execute( TextEditorController* controller ) override;
20 virtual QString toString() override;
21
22private:
23 int direction_;
24};
25
26}
virtual void execute(TextEditorController *controller) override
This method should execute the given command.
Definition movelinecommand.cpp:79
virtual QString toString() override
should return the description of the command
Definition movelinecommand.cpp:123
MoveLineCommand(int direction)
Definition movelinecommand.cpp:17
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