PlainCommand Class Reference
Base for all kformula commands. More...
#include <kformulacommand.h>
Public Member Functions | |
PlainCommand (const QString &name) | |
Static Public Member Functions | |
int | getEvilDestructionCount () |
Detailed Description
Base for all kformula commands.Each command works in the same way. The constructor sets up everything. After the command is created you can execute it. To create a command doesn't mean to execute it. These are two different things.
If the command execution fails or has nothing to do in the first place you must not put it in the command history. isSenseless will return true then.
If you don't like what you've done feel free to unexecute .
Definition at line 51 of file kformulacommand.h.
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 38 of file kformulacommand.cc. References PlainCommand(). Referenced by PlainCommand(). |
Member Function Documentation
|
debug only.
Definition at line 69 of file kformulacommand.h. |
The documentation for this class was generated from the following files: