edbee - Qt Editor Library
edbee
commands
pastecommand.h
Go to the documentation of this file.
1
6
#pragma once
7
8
#include "
edbee/texteditorcommand.h
"
9
10
namespace
edbee
{
11
12
class
TextEditorController;
13
19
class
PasteCommand
:
public
TextEditorCommand
20
{
21
public
:
22
PasteCommand
();
23
24
virtual
int
commandId
();
25
26
virtual
void
execute
(
TextEditorController
* controller );
27
virtual
QString
toString
();
28
};
29
30
}
// edbee
edbee::PasteCommand::PasteCommand
PasteCommand()
Default (blank) constructor.
Definition:
pastecommand.cpp:28
texteditorcommand.h
edbee::PasteCommand::toString
virtual QString toString()
Converst the command to a string (for fetching the commandname)
Definition:
pastecommand.cpp:86
edbee::TextEditorCommand
This is the abstract base class for a textcommand.
Definition:
texteditorcommand.h:49
edbee::PasteCommand::execute
virtual void execute(TextEditorController *controller)
Execute the paste command.
Definition:
pastecommand.cpp:42
edbee
Copyright 2011-2013 - Reliable Bits Software by Blommers IT.
Definition:
commentcommand.cpp:22
edbee::PasteCommand::commandId
virtual int commandId()
Returns the command id for coalescing this operation.
Definition:
pastecommand.cpp:34
edbee::PasteCommand
Executes a paste command This usually simply pastes the text at the given location. There are two special cases:
Definition:
pastecommand.h:19
edbee::TextEditorController
The texteditor works via the controller. The controller is the central point/mediater which maps/cont...
Definition:
texteditorcontroller.h:37
Generated on Tue Jun 13 2017 08:45:59 for edbee - Qt Editor Library by
1.8.13