karbon
VDeleteNodeCmd Class Reference
Inheritance diagram for VDeleteNodeCmd:

Detailed Description
Definition at line 30 of file vdeletenodescmd.h.
Public Member Functions | |
VDeleteNodeCmd (VDocument *doc) | |
virtual | ~VDeleteNodeCmd () |
virtual void | execute () |
virtual void | unexecute () |
virtual void | visitVSubpath (VSubpath &path) |
Protected Attributes | |
QPtrList< VSegment > | m_segments |
Member Function Documentation
void VDeleteNodeCmd::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 59 of file vdeletenodescmd.cc.
void VDeleteNodeCmd::unexecute | ( | ) | [virtual] |
Unexecutes the command.
All changes to the document have to be undone here.
Reimplemented from VCommand.
Definition at line 70 of file vdeletenodescmd.cc.
void VDeleteNodeCmd::visitVSubpath | ( | VSubpath & | path | ) | [virtual] |
Visit method for a VSubpath.
Pass a 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 40 of file vdeletenodescmd.cc.
The documentation for this class was generated from the following files: