53 #ifndef RENAME_DRAFTBLOCK_H
54 #define RENAME_DRAFTBLOCK_H
56 #include <qcompilerdetection.h>
57 #include <QMetaObject>
71 virtual void undo() Q_DECL_OVERRIDE;
72 virtual void redo() Q_DECL_OVERRIDE;
73 virtual bool mergeWith(
const QUndoCommand *command) Q_DECL_OVERRIDE;
74 virtual int id()
const Q_DECL_OVERRIDE;
82 void changeName(const QString &oldName, const QString &newName);
RenameDraftBlock(VAbstractPattern *doc, const QString &newBlockName, QComboBox *combo, QUndoCommand *parent=nullptr)
virtual int id() const Q_DECL_OVERRIDE
void changeName(const QString &oldName, const QString &newName)
virtual ~RenameDraftBlock() Q_DECL_OVERRIDE
QString getNewName() const
virtual bool mergeWith(const QUndoCommand *command) Q_DECL_OVERRIDE
virtual void undo() Q_DECL_OVERRIDE
virtual void redo() Q_DECL_OVERRIDE
QString getOldName() const