libs/flake
KoShapeDeleteCommand Class Reference
The undo / redo command for deleting shapes. More...
#include <KoShapeDeleteCommand.h>
Inheritance diagram for KoShapeDeleteCommand:

Public Member Functions | |
| KoShapeDeleteCommand (KoShapeControllerBase *controller, const QList< KoShape * > &shapes, QUndoCommand *parent=0) | |
| KoShapeDeleteCommand (KoShapeControllerBase *controller, KoShape *shape, QUndoCommand *parent=0) | |
| virtual | ~KoShapeDeleteCommand () |
| void | redo () |
| void | undo () |
Detailed Description
The undo / redo command for deleting shapes.
Definition at line 32 of file KoShapeDeleteCommand.h.
Constructor & Destructor Documentation
| KoShapeDeleteCommand::KoShapeDeleteCommand | ( | KoShapeControllerBase * | controller, | |
| KoShape * | shape, | |||
| QUndoCommand * | parent = 0 | |||
| ) |
Command to delete a single shape by means of a shape controller.
- Parameters:
-
controller the controller to used for deleting. shape a single shape that should be deleted. parent the parent command used for macro commands
Definition at line 49 of file KoShapeDeleteCommand.cpp.
| KoShapeDeleteCommand::KoShapeDeleteCommand | ( | KoShapeControllerBase * | controller, | |
| const QList< KoShape * > & | shapes, | |||
| QUndoCommand * | parent = 0 | |||
| ) |
Command to delete a set of shapes by means of a shape controller.
- Parameters:
-
controller the controller to used for deleting. shapes a set of all the shapes that should be deleted. parent the parent command used for macro commands
Definition at line 59 of file KoShapeDeleteCommand.cpp.
| KoShapeDeleteCommand::~KoShapeDeleteCommand | ( | ) | [virtual] |
Definition at line 72 of file KoShapeDeleteCommand.cpp.
Member Function Documentation
| void KoShapeDeleteCommand::redo | ( | ) |
redo the command
Reimplemented from QUndoCommand.
Definition at line 77 of file KoShapeDeleteCommand.cpp.
| void KoShapeDeleteCommand::undo | ( | ) |
revert the actions done in redo
Reimplemented from QUndoCommand.
Definition at line 92 of file KoShapeDeleteCommand.cpp.
The documentation for this class was generated from the following files:
