summaryrefslogtreecommitdiff
path: root/src/designer/src/lib/shared/qdesigner_promotion_p.h
diff options
context:
space:
mode:
authorKevin Funk <kevin.funk@kdab.com>2017-09-20 20:57:47 +0200
committerKevin Funk <kevin.funk@kdab.com>2017-09-22 07:33:13 +0000
commitfdf1613fd9d059b5cbfddbf0dd9a76a8d2e23b26 (patch)
treec25f693010cc064c768c55313785d4209d09c769 /src/designer/src/lib/shared/qdesigner_promotion_p.h
parentc2f48cd9e8eeafda8fb52c59840bccc3e9c60de5 (diff)
downloadqttools-fdf1613fd9d059b5cbfddbf0dd9a76a8d2e23b26.tar.gz
Replace Q_DECL_OVERRIDE with override
Change-Id: I1b8b338a6bc2f3c87af62c20ff1428096b309628 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/designer/src/lib/shared/qdesigner_promotion_p.h')
-rw-r--r--src/designer/src/lib/shared/qdesigner_promotion_p.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/designer/src/lib/shared/qdesigner_promotion_p.h b/src/designer/src/lib/shared/qdesigner_promotion_p.h
index e8165926b..9017d6de4 100644
--- a/src/designer/src/lib/shared/qdesigner_promotion_p.h
+++ b/src/designer/src/lib/shared/qdesigner_promotion_p.h
@@ -55,22 +55,22 @@ namespace qdesigner_internal {
public:
explicit QDesignerPromotion(QDesignerFormEditorInterface *core);
- PromotedClasses promotedClasses() const Q_DECL_OVERRIDE;
+ PromotedClasses promotedClasses() const override;
- QSet<QString> referencedPromotedClassNames() const Q_DECL_OVERRIDE;
+ QSet<QString> referencedPromotedClassNames() const override;
virtual bool addPromotedClass(const QString &baseClass,
const QString &className,
const QString &includeFile,
- QString *errorMessage) Q_DECL_OVERRIDE;
+ QString *errorMessage) override;
- bool removePromotedClass(const QString &className, QString *errorMessage) Q_DECL_OVERRIDE;
+ bool removePromotedClass(const QString &className, QString *errorMessage) override;
- bool changePromotedClassName(const QString &oldclassName, const QString &newClassName, QString *errorMessage) Q_DECL_OVERRIDE;
+ bool changePromotedClassName(const QString &oldclassName, const QString &newClassName, QString *errorMessage) override;
- bool setPromotedClassIncludeFile(const QString &className, const QString &includeFile, QString *errorMessage) Q_DECL_OVERRIDE;
+ bool setPromotedClassIncludeFile(const QString &className, const QString &includeFile, QString *errorMessage) override;
- QList<QDesignerWidgetDataBaseItemInterface *> promotionBaseClasses() const Q_DECL_OVERRIDE;
+ QList<QDesignerWidgetDataBaseItemInterface *> promotionBaseClasses() const override;
private:
bool canBePromoted(const QDesignerWidgetDataBaseItemInterface *) const;