libs/flake
KoPathControlPointMoveCommand Class Reference
The undo / redo command for path point moving. More...
#include <KoPathControlPointMoveCommand.h>
Inheritance diagram for KoPathControlPointMoveCommand:

Public Member Functions | |
| KoPathControlPointMoveCommand (const KoPathPointData &pointData, const QPointF &offset, KoPathPoint::KoPointType pointType, QUndoCommand *parent=0) | |
| void | redo () |
| void | undo () |
Detailed Description
The undo / redo command for path point moving.
Definition at line 33 of file KoPathControlPointMoveCommand.h.
Constructor & Destructor Documentation
| KoPathControlPointMoveCommand::KoPathControlPointMoveCommand | ( | const KoPathPointData & | pointData, | |
| const QPointF & | offset, | |||
| KoPathPoint::KoPointType | pointType, | |||
| QUndoCommand * | parent = 0 | |||
| ) |
Command to move one control path point.
- Parameters:
-
offset the offset by which the point is moved in document coordinates pointType the type of the point to move parent the parent command used for macro commands
Definition at line 25 of file KoPathControlPointMoveCommand.cpp.
Member Function Documentation
| void KoPathControlPointMoveCommand::redo | ( | ) |
redo the command
Reimplemented from QUndoCommand.
Definition at line 43 of file KoPathControlPointMoveCommand.cpp.
| void KoPathControlPointMoveCommand::undo | ( | ) |
revert the actions done in redo
Reimplemented from QUndoCommand.
Definition at line 88 of file KoPathControlPointMoveCommand.cpp.
The documentation for this class was generated from the following files:
