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
|
Returns if the command changes the actual document selection. This flag is checked to determine if the document has to be redrawn.
Reimplemented from VCommand. Definition at line 43 of file vshapecmd.h. |
|
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. |
|
Unexecutes the command. All changes to the document have to be undone here. Reimplemented from VCommand. Definition at line 61 of file vshapecmd.cc. |
Member Data Documentation
|
Pointer to the created shape.
Definition at line 47 of file vshapecmd.h. |
The documentation for this class was generated from the following files: