#include <kcommand.h>
Inheritance diagram for KMacroCommand:

Public Methods | |
| KMacroCommand (const QString &name) | |
| void | addCommand (KCommand *command) |
| virtual void | execute () |
| virtual void | unexecute () |
Protected Methods | |
| virtual void | virtual_hook (int id, void *data) |
Definition at line 109 of file kcommand.h.
|
|
Creates a macro command. You will then need to call addCommand for each subcommand to be added to this macro command.
|
|
|
Appends a command to this macro command. The ownership is transfered to the macro command. |
|
|
Executes this command, i.e. execute all the sub-commands in the order in which they were added. Implements KCommand. |
|
|
Undoes the execution of this command, i.e. unexecute all the sub-commands in the _reverse_ order to the one in which they were added. Implements KCommand. |
1.2.18