25 #ifndef TOGGLE_PIECELOCK_H
26 #define TOGGLE_PIECELOCK_H
28 #include <qcompilerdetection.h>
29 #include <QMetaObject>
42 virtual void undo() Q_DECL_OVERRIDE;
43 virtual void redo() Q_DECL_OVERRIDE;
44 virtual int id()
const Q_DECL_OVERRIDE;
58 void doCmd(
bool lock);
TogglePieceLock(quint32 id, bool lock, VContainer *data, VAbstractPattern *doc, QUndoCommand *parent=nullptr)
virtual int id() const Q_DECL_OVERRIDE
virtual void undo() Q_DECL_OVERRIDE
quint32 getpieceId() const
void updateList(quint32 m_id)
virtual void redo() Q_DECL_OVERRIDE
virtual ~TogglePieceLock()
The VContainer class container of all variables.