lib
Command Class Reference
Inheritance diagram for Command:

Detailed Description
Definition at line 78 of file kformulacommand.h.
Public Member Functions | |
Command (const QString &name, Container *document) | |
virtual | ~Command () |
Protected Member Functions | |
FormulaCursor * | getExecuteCursor () |
FormulaCursor * | getUnexecuteCursor () |
void | setUnexecuteCursor (FormulaCursor *cursor) |
FormulaCursor * | getActiveCursor () |
void | testDirty () |
Container * | getDocument () const |
Constructor & Destructor Documentation
|
Sets up the command. Be careful not to change the cursor in the constructor of any command. Each command must use the selection it finds when it is executed for the first time. This way you can use the KMacroCommand .
Definition at line 49 of file kformulacommand.cc. |
Member Function Documentation
|
Definition at line 120 of file kformulacommand.h. |
|
Definition at line 131 of file kformulacommand.h. |
|
Definition at line 60 of file kformulacommand.cc. |
|
Definition at line 78 of file kformulacommand.cc. |
|
Sets the cursor that is to be used to unexecute the command. This has to be called by execute after the formula has been changed but before the cursor has been normalized. Definition at line 86 of file kformulacommand.cc. |
|
Tells the document to check if the formula changed. Needs to be called by each execute and unexecute . Definition at line 126 of file kformulacommand.h. |
The documentation for this class was generated from the following files: