libs/flake
KoShapeLockCommand Class Reference
The undo / redo command to lock a set of shapes position and size. More...
#include <KoShapeLockCommand.h>
Inheritance diagram for KoShapeLockCommand:

Public Member Functions | |
| KoShapeLockCommand (const QList< KoShape * > &shapes, const QList< bool > &oldLock, const QList< bool > &newLock, QUndoCommand *parent=0) | |
| ~KoShapeLockCommand () | |
| virtual void | redo () |
| virtual void | undo () |
Detailed Description
The undo / redo command to lock a set of shapes position and size.
Definition at line 31 of file KoShapeLockCommand.h.
Constructor & Destructor Documentation
| KoShapeLockCommand::KoShapeLockCommand | ( | const QList< KoShape * > & | shapes, | |
| const QList< bool > & | oldLock, | |||
| const QList< bool > & | newLock, | |||
| QUndoCommand * | parent = 0 | |||
| ) |
Command to lock a set of shapes position and size.
- Parameters:
-
shapes a set of shapes that should change lock state oldLock list of old lock states the same length as shapesnewLock list of new lock states the same length as shapesparent the parent command used for macro commands
Definition at line 26 of file KoShapeLockCommand.cpp.
| KoShapeLockCommand::~KoShapeLockCommand | ( | ) |
Definition at line 39 of file KoShapeLockCommand.cpp.
Member Function Documentation
| void KoShapeLockCommand::redo | ( | ) | [virtual] |
redo the command
Reimplemented from QUndoCommand.
Definition at line 43 of file KoShapeLockCommand.cpp.
| void KoShapeLockCommand::undo | ( | ) | [virtual] |
revert the actions done in redo
Reimplemented from QUndoCommand.
Definition at line 51 of file KoShapeLockCommand.cpp.
The documentation for this class was generated from the following files:
