53 #ifndef TOGGLE_PIECE_INLAYOUT_H
54 #define TOGGLE_PIECE_INLAYOUT_H
56 #include <qcompilerdetection.h>
57 #include <QMetaObject>
71 virtual void undo() Q_DECL_OVERRIDE;
72 virtual void redo() Q_DECL_OVERRIDE;
73 virtual int id()
const Q_DECL_OVERRIDE;
87 void doCmd(
bool state);
TogglePieceInLayout(quint32 id, bool state, VContainer *data, VAbstractPattern *doc, QUndoCommand *parent=nullptr)
virtual ~TogglePieceInLayout()
virtual void undo() Q_DECL_OVERRIDE
virtual void redo() Q_DECL_OVERRIDE
quint32 getPieceId() const
virtual int id() const Q_DECL_OVERRIDE
void updateList(quint32 m_id)
The VContainer class container of all variables.