karbon
VZOrderCmd Class Reference
#include <vzordercmd.h>
Inheritance diagram for VZOrderCmd:

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 | |
bringToFront = 0 | |
up = 1 | |
down = 2 | |
sendToBack = 3 | |
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 | |
VSelection * | m_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 144 of file vzordercmd.cc.
The documentation for this class was generated from the following files: