55 #include <qcompilerdetection.h>
56 #include <QMetaObject>
61 #include "../vgeometry/vspline.h"
71 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 void redo() Q_DECL_OVERRIDE
quint32 getSplineId() const
void Do(const VSpline &spl)
virtual ~MoveSpline() Q_DECL_OVERRIDE
MoveSpline(VAbstractPattern *doc, const VSpline *oldSpl, const VSpline &newSpl, const quint32 &id, QUndoCommand *parent=nullptr)
virtual int id() const Q_DECL_OVERRIDE
virtual void undo() Q_DECL_OVERRIDE
virtual bool mergeWith(const QUndoCommand *command) Q_DECL_OVERRIDE
VSpline getNewSpline() const
VSpline class that implements the spline.