karbon

VFillCmd Class Reference

Inheritance diagram for VFillCmd:

VCommand VVisitor List of all members.

Detailed Description

Definition at line 34 of file vfillcmd.h.


Public Member Functions

 VFillCmd (VDocument *doc, const VFill &, const QString &icon="14_action")
virtual ~VFillCmd ()
virtual void execute ()
virtual void unexecute ()
virtual bool changesSelection () const
virtual void visitVGroup (VGroup &group)
virtual void visitVPath (VPath &composite)
virtual void visitVText (VText &text)
virtual void changeFill (const VFill &)
virtual VSelectiongetSelection () const

Protected Attributes

VObjectList m_objects
VSelectionm_selection
VFill m_fill
QValueVector< VFillm_oldfills

Member Function Documentation

virtual bool VFillCmd::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 vfillcmd.h.

void VFillCmd::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 95 of file vfillcmd.cc.

void VFillCmd::unexecute  )  [virtual]
 

Unexecutes the command.

All changes to the document have to be undone here.

Reimplemented from VCommand.

Definition at line 110 of file vfillcmd.cc.

void VFillCmd::visitVGroup VGroup group  )  [virtual]
 

Visit method for a VGroup.

Pass a group of objects to this function. This is a virtual function so you need to implement it in the subclass if you want to use it.

Reimplemented from VVisitor.

Definition at line 66 of file vfillcmd.cc.

void VFillCmd::visitVPath VPath composite  )  [virtual]
 

Visit method for a VPath.

Pass a composite path to this function. This is a virtual function so you need to implement it in the subclass if you want to use it.

Reimplemented from VVisitor.

Definition at line 79 of file vfillcmd.cc.

void VFillCmd::visitVText VText text  )  [virtual]
 

Visit method for a VText.

Pass some text to this function. This is a virtual function so you need to implement it in the subclass if you want to use it.

Reimplemented from VVisitor.

Definition at line 87 of file vfillcmd.cc.


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