karbon

VZOrderCmd Class Reference

#include <vzordercmd.h>

Inheritance diagram for VZOrderCmd:

VCommand VVisitor List of all members.

Detailed Description

Command that changes the z-order of the selection within a layer to front, back, one step up, or one step down.

Definition at line 31 of file vzordercmd.h.


Public Types

enum  VOrder { bringToFront = 0, up = 1, down = 2, sendToBack = 3 }

Public Member Functions

 VZOrderCmd (VDocument *doc, VOrder)
 VZOrderCmd (VDocument *doc, VObject *obj, VOrder)
virtual ~VZOrderCmd ()
virtual void execute ()
virtual void unexecute ()
virtual bool isExecuted ()

Protected Attributes

VSelectionm_selection
VOrder m_state

Member Function Documentation

void VZOrderCmd::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 46 of file vzordercmd.cc.

void VZOrderCmd::unexecute  )  [virtual]
 

Unexecutes the command.

All changes to the document have to be undone here.

Reimplemented from VCommand.

Definition at line 142 of file vzordercmd.cc.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys