52 #ifndef MOVESPLINEPATH_H
53 #define MOVESPLINEPATH_H
55 #include <qcompilerdetection.h>
56 #include <QMetaObject>
61 #include "../vgeometry/vsplinepath.h"
71 const quint32 &
id, QUndoCommand *parent =
nullptr);
73 virtual void undo() Q_DECL_OVERRIDE;
74 virtual void redo() Q_DECL_OVERRIDE;
75 virtual bool mergeWith(
const QUndoCommand *command) Q_DECL_OVERRIDE;
76 virtual int id()
const Q_DECL_OVERRIDE;
virtual ~MoveSplinePath() Q_DECL_OVERRIDE
MoveSplinePath(VAbstractPattern *doc, const VSplinePath &oldSplPath, const VSplinePath &newSplPath, const quint32 &id, QUndoCommand *parent=nullptr)
virtual void redo() Q_DECL_OVERRIDE
virtual void undo() Q_DECL_OVERRIDE
void Do(const VSplinePath &splPath)
VSplinePath newSplinePath
quint32 getSplinePathId() const
VSplinePath oldSplinePath
virtual bool mergeWith(const QUndoCommand *command) Q_DECL_OVERRIDE
VSplinePath getNewSplinePath() const
virtual int id() const Q_DECL_OVERRIDE
The VSplinePath class keep information about splinePath.