55 #include <qcompilerdetection.h>
56 #include <QMetaObject>
70 QUndoCommand *parent =
nullptr);
73 virtual void undo() Q_DECL_OVERRIDE;
74 virtual void redo() Q_DECL_OVERRIDE;
76 virtual bool mergeWith(
const QUndoCommand *command) Q_DECL_OVERRIDE;
77 virtual int id()
const Q_DECL_OVERRIDE;
quint32 getPieceId() const
virtual void redo() Q_DECL_OVERRIDE
virtual int id() const Q_DECL_OVERRIDE
MovePiece(VAbstractPattern *doc, const double &x, const double &y, const quint32 &id, QGraphicsScene *scene, QUndoCommand *parent=nullptr)
void SaveCoordinates(QDomElement &domElement, double x, double y)
virtual bool mergeWith(const QUndoCommand *command) Q_DECL_OVERRIDE
virtual void undo() Q_DECL_OVERRIDE