karbon

VLayerCmd Class Reference

Inheritance diagram for VLayerCmd:

VCommand VVisitor List of all members.

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

VLayerm_layer
VLayerCmdType m_cmdType
VObject::VState m_oldState

Member Enumeration Documentation

enum VLayerCmd::VLayerCmdType
 

The different types of layer commands.

Definition at line 38 of file vlayercmd.h.


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:
KDE Home | KDE Accessibility Home | Description of Access Keys