karbon
VShapeCmd Class Reference
Inheritance diagram for VShapeCmd:

Detailed Description
Definition at line 34 of file vshapecmd.h.
Public Member Functions | |
VShapeCmd (VDocument *doc, const QString &name, VPath *shape, const QString &icon="14_polygon") | |
virtual | ~VShapeCmd () |
virtual void | execute () |
virtual void | unexecute () |
virtual bool | changesSelection () const |
Protected Attributes | |
VPath * | m_shape |
Member Function Documentation
void VShapeCmd::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 34 of file vshapecmd.cc.
void VShapeCmd::unexecute | ( | ) | [virtual] |
Unexecutes the command.
All changes to the document have to be undone here.
Reimplemented from VCommand.
Definition at line 61 of file vshapecmd.cc.
virtual bool VShapeCmd::changesSelection | ( | ) | const [inline, virtual] |
Returns if the command changes the actual document selection.
This flag is checked to determine if the document has to be redrawn.
- Returns:
- true if the selection is changed, else false
Reimplemented from VCommand.
Definition at line 43 of file vshapecmd.h.
Member Data Documentation
VPath* VShapeCmd::m_shape [protected] |
The documentation for this class was generated from the following files: