karbon

VClipartCmd Class Reference

Inheritance diagram for VClipartCmd:

VCommand VVisitor List of all members.

Detailed Description

Definition at line 25 of file vclipartcmd.h.


Public Member Functions

 VClipartCmd (VDocument *doc, const QString &name, VObject *clipart)
virtual ~VClipartCmd ()
virtual void execute ()
virtual void unexecute ()
virtual bool isExecuted ()
virtual bool changesSelection () const

Member Function Documentation

void VClipartCmd::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 31 of file vclipartcmd.cc.

void VClipartCmd::unexecute (  )  [virtual]

Unexecutes the command.

All changes to the document have to be undone here.

Reimplemented from VCommand.

Definition at line 52 of file vclipartcmd.cc.

virtual bool VClipartCmd::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 35 of file vclipartcmd.h.


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