edbee - Qt Editor Library
redocommand.h
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #include <QString>
10 
11 namespace edbee {
12 
14 {
15 public:
16  RedoCommand(bool soft=false);
17 
19  virtual int commandId() { return CoalesceId_None; }
20 
21  virtual void execute( TextEditorController* controller );
22  virtual QString toString();
23 
24 private:
25  bool soft_;
26 };
27 
28 } // edbee
virtual QString toString()
should return the description of the command
Definition: redocommand.cpp:24
RedoCommand(bool soft=false)
Definition: redocommand.cpp:14
This is the abstract base class for a textcommand.
Definition: texteditorcommand.h:49
Copyright 2011-2013 - Reliable Bits Software by Blommers IT.
Definition: commentcommand.cpp:22
virtual int commandId()
This method should return the command identifier.
Definition: redocommand.h:19
virtual void execute(TextEditorController *controller)
This method should execute the given command.
Definition: redocommand.cpp:19
The texteditor works via the controller. The controller is the central point/mediater which maps/cont...
Definition: texteditorcontroller.h:37
Definition: redocommand.h:13
NO coalescing.
Definition: texteditorcommand.h:22