karbon
VLayerCmd Class Reference
Inheritance diagram for VLayerCmd:

Detailed Description
Definition at line 32 of file vlayercmd.h.
Public Types | |
enum | VLayerCmdType { addLayer, raiseLayer, lowerLayer, deleteLayer } |
Public Member Functions | |
VLayerCmd (VDocument *doc, const QString &name, VLayer *layer, VLayerCmdType order) | |
virtual | ~VLayerCmd () |
virtual void | execute () |
virtual void | unexecute () |
Protected Attributes | |
VLayer * | m_layer |
VLayerCmdType | m_cmdType |
VObject::VState | m_oldState |
Member Enumeration Documentation
Member Function Documentation
void VLayerCmd::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 38 of file vlayercmd.cc.
void VLayerCmd::unexecute | ( | ) | [virtual] |
Unexecutes the command.
All changes to the document have to be undone here.
Reimplemented from VCommand.
Definition at line 63 of file vlayercmd.cc.
The documentation for this class was generated from the following files: