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

Public Member Functions | |
| KoPathPointMoveCommand (const QList< KoPathPointData > &pointData, const QList< QPointF > &offsets, QUndoCommand *parent=0) | |
| KoPathPointMoveCommand (const QList< KoPathPointData > &pointData, const QPointF &offset, QUndoCommand *parent=0) | |
| void | redo () |
| void | undo () |
Detailed Description
The undo / redo command for path point moving.
Definition at line 34 of file KoPathPointMoveCommand.h.
Constructor & Destructor Documentation
| KoPathPointMoveCommand::KoPathPointMoveCommand | ( | const QList< KoPathPointData > & | pointData, | |
| const QPointF & | offset, | |||
| QUndoCommand * | parent = 0 | |||
| ) |
Command to move path points.
- Parameters:
-
pointData the path points to move offset the offset by which the point is moved in document coordinates parent the parent command used for macro commands
Definition at line 26 of file KoPathPointMoveCommand.cpp.
| KoPathPointMoveCommand::KoPathPointMoveCommand | ( | const QList< KoPathPointData > & | pointData, | |
| const QList< QPointF > & | offsets, | |||
| QUndoCommand * | parent = 0 | |||
| ) |
Command to move path points.
- Parameters:
-
pointData the path points to move offsets the offsets by which the points are moved in document coordinates parent the parent command used for macro commands
Definition at line 40 of file KoPathPointMoveCommand.cpp.
Member Function Documentation
| void KoPathPointMoveCommand::redo | ( | ) |
redo the command
Reimplemented from QUndoCommand.
Definition at line 58 of file KoPathPointMoveCommand.cpp.
| void KoPathPointMoveCommand::undo | ( | ) |
revert the actions done in redo
Reimplemented from QUndoCommand.
Definition at line 69 of file KoPathPointMoveCommand.cpp.
The documentation for this class was generated from the following files:
