edbee - Qt Editor Library
edbee
commands
commentcommand.h
Go to the documentation of this file.
1
6
#pragma once
7
8
#include <QString>
9
10
#include "
edbee/texteditorcommand.h
"
11
12
namespace
edbee
{
13
14
class
TextEditorController;
15
19
class
CommentCommand
:
public
TextEditorCommand
20
{
21
public
:
22
CommentCommand
(
bool
block );
23
virtual
void
execute
(
TextEditorController
* controller );
24
virtual
QString
toString
();
25
26
private
:
27
28
bool
block_;
29
30
};
31
32
33
}
// edbee
edbee::CommentCommand
This command is used for commenting / decommenting a line We cannot implement this truely at the mome...
Definition:
commentcommand.h:19
edbee::CommentCommand::CommentCommand
CommentCommand(bool block)
constructs the comment comment
Definition:
commentcommand.cpp:419
texteditorcommand.h
edbee::TextEditorCommand
This is the abstract base class for a textcommand.
Definition:
texteditorcommand.h:49
edbee::CommentCommand::execute
virtual void execute(TextEditorController *controller)
Executes the given comment.
Definition:
commentcommand.cpp:427
edbee
Copyright 2011-2013 - Reliable Bits Software by Blommers IT.
Definition:
commentcommand.cpp:22
edbee::TextEditorController
The texteditor works via the controller. The controller is the central point/mediater which maps/cont...
Definition:
texteditorcontroller.h:37
edbee::CommentCommand::toString
virtual QString toString()
converts this command to a string
Definition:
commentcommand.cpp:457
Generated on Tue Jun 13 2017 08:45:59 for edbee - Qt Editor Library by
1.8.13