karbon
VImageTool::VInsertImageCmd Class Reference
Inheritance diagram for VImageTool::VInsertImageCmd:

Detailed Description
Definition at line 48 of file vimagetool.h.
Public Member Functions | |
VInsertImageCmd (VDocument *doc, const QString &name, VImage *image, KoPoint pos) | |
virtual | ~VInsertImageCmd () |
virtual void | execute () |
virtual void | unexecute () |
virtual bool | changesSelection () const |
Protected Attributes | |
VImage * | m_image |
KoPoint | m_pos |
Member Function Documentation
void VImageTool::VInsertImageCmd::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 88 of file vimagetool.cc.
void VImageTool::VInsertImageCmd::unexecute | ( | ) | [virtual] |
Unexecutes the command.
All changes to the document have to be undone here.
Reimplemented from VCommand.
Definition at line 108 of file vimagetool.cc.
virtual bool VImageTool::VInsertImageCmd::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 56 of file vimagetool.h.
The documentation for this class was generated from the following files: