2018-03-31 11:50:08 +02:00
|
|
|
#ifndef REMOVEITEMFROMGROUP_H
|
|
|
|
#define REMOVEITEMFROMGROUP_H
|
|
|
|
|
2018-04-01 23:36:54 +02:00
|
|
|
#include <qcompilerdetection.h>
|
|
|
|
#include <QDomElement>
|
|
|
|
#include <QMetaObject>
|
|
|
|
#include <QObject>
|
|
|
|
#include <QString>
|
|
|
|
#include <QtGlobal>
|
2018-03-31 11:50:08 +02:00
|
|
|
|
2018-04-01 23:36:54 +02:00
|
|
|
#include "vundocommand.h"
|
|
|
|
|
|
|
|
class RemoveItemFromGroup : public VUndoCommand
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
RemoveItemFromGroup(const QDomElement &xml, VAbstractPattern *doc, quint32 groupId, QUndoCommand *parent = nullptr);
|
|
|
|
virtual ~RemoveItemFromGroup();
|
|
|
|
virtual void undo() Q_DECL_OVERRIDE;
|
|
|
|
virtual void redo() Q_DECL_OVERRIDE;
|
|
|
|
signals:
|
|
|
|
void UpdateGroups();
|
|
|
|
private:
|
|
|
|
Q_DISABLE_COPY(RemoveItemFromGroup)
|
|
|
|
const QString nameActivDraw;
|
|
|
|
};
|
2018-03-31 11:50:08 +02:00
|
|
|
|
2018-04-01 17:19:10 +02:00
|
|
|
#endif // REMOVEITEMFROMGROUP_H
|