aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/qquicklabel_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/qquicklabel_p.h')
-rw-r--r--src/templates/qquicklabel_p.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/templates/qquicklabel_p.h b/src/templates/qquicklabel_p.h
index 26f72840..7bb09d1b 100644
--- a/src/templates/qquicklabel_p.h
+++ b/src/templates/qquicklabel_p.h
@@ -62,7 +62,7 @@ class Q_LABSTEMPLATES_EXPORT QQuickLabel : public QQuickText
Q_PROPERTY(QQuickItem *background READ background WRITE setBackground NOTIFY backgroundChanged FINAL)
public:
- explicit QQuickLabel(QQuickItem *parent = Q_NULLPTR);
+ explicit QQuickLabel(QQuickItem *parent = nullptr);
~QQuickLabel();
QFont font() const;
@@ -76,10 +76,10 @@ Q_SIGNALS:
void backgroundChanged();
protected:
- void classBegin() Q_DECL_OVERRIDE;
+ void classBegin() override;
- void itemChange(ItemChange change, const ItemChangeData &value) Q_DECL_OVERRIDE;
- void geometryChanged(const QRectF &newGeometry, const QRectF &oldGeometry) Q_DECL_OVERRIDE;
+ void itemChange(ItemChange change, const ItemChangeData &value) override;
+ void geometryChanged(const QRectF &newGeometry, const QRectF &oldGeometry) override;
private:
Q_DISABLE_COPY(QQuickLabel)