kformula/flake
FormulaCommand Class Reference
All FormulaCommands are used to manipulate the formula in various ways. More...
#include <FormulaCommand.h>
Inheritance diagram for FormulaCommand:

Public Member Functions | |
| FormulaCommand (QUndoCommand *parent=0) | |
| virtual void | changeCursor (FormulaCursor &cursor, bool undo) const |
| void | setRedoCursorPosition (const FormulaCursor &position) |
| void | setUndoCursorPosition (const FormulaCursor &position) |
Protected Attributes | |
| bool | m_done |
Detailed Description
All FormulaCommands are used to manipulate the formula in various ways.
They all provide a redo and undo method as well as changeCursor method which sets the cursor after the current action. A extra method for this is necessary, as there might be no cursor when a undo/redo is done, because the tool was deactivated
Definition at line 47 of file FormulaCommand.h.
Constructor & Destructor Documentation
| FormulaCommand::FormulaCommand | ( | QUndoCommand * | parent = 0 |
) |
Definition at line 33 of file FormulaCommand.cpp.
Member Function Documentation
| void FormulaCommand::changeCursor | ( | FormulaCursor & | cursor, | |
| bool | undo | |||
| ) | const [virtual] |
Definition at line 39 of file FormulaCommand.cpp.
| void FormulaCommand::setRedoCursorPosition | ( | const FormulaCursor & | position | ) |
Definition at line 56 of file FormulaCommand.cpp.
| void FormulaCommand::setUndoCursorPosition | ( | const FormulaCursor & | position | ) |
Definition at line 51 of file FormulaCommand.cpp.
Member Data Documentation
bool FormulaCommand::m_done [protected] |
Definition at line 57 of file FormulaCommand.h.
The documentation for this class was generated from the following files:
