karbon
VReplacingCmd Class Reference
#include <vreplacingcmd.h>
Inheritance diagram for VReplacingCmd:

Detailed Description
VReplacingCmd is a generic command.Derive from it if you plan to do complex transformations upon selected objects which make it necessary to replace each object as a whole with a new object.
Definition at line 36 of file vreplacingcmd.h.
Public Member Functions | |
virtual void | execute () |
virtual void | unexecute () |
Protected Member Functions | |
VReplacingCmd (VDocument *doc, const QString &name) |
Constructor & Destructor Documentation
VReplacingCmd::VReplacingCmd | ( | VDocument * | doc, | |
const QString & | name | |||
) | [protected] |
Member Function Documentation
void VReplacingCmd::execute | ( | ) | [virtual] |
Executes the command.
All the changes to the document are done here. All commands have to implement this function.
Implements VCommand.
Definition at line 40 of file vreplacingcmd.cc.
void VReplacingCmd::unexecute | ( | ) | [virtual] |
Unexecutes the command.
All changes to the document have to be undone here.
Reimplemented from VCommand.
Definition at line 118 of file vreplacingcmd.cc.
The documentation for this class was generated from the following files: