aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/qquickscrollbar_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2016-01-20 17:31:18 +0100
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2016-01-21 12:26:21 +0000
commitf4f5e857447d42738b1b60b5c4184f39df2f1593 (patch)
treecae2e6a223cb48350b9634c0a04b39847ebc4299 /src/templates/qquickscrollbar_p.h
parent7cad85c2f0930e4f8531a0508c28abdae0f3e0de (diff)
C++11 keywords
- Q_NULLPTR -> nullptr - Q_DECL_OVERRIDE -> override Change-Id: I8ee65caafd43ab41b6de43835200cac6c8ffa278 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/templates/qquickscrollbar_p.h')
-rw-r--r--src/templates/qquickscrollbar_p.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/templates/qquickscrollbar_p.h b/src/templates/qquickscrollbar_p.h
index b944f92a..6eb8b798 100644
--- a/src/templates/qquickscrollbar_p.h
+++ b/src/templates/qquickscrollbar_p.h
@@ -67,7 +67,7 @@ class Q_LABSTEMPLATES_EXPORT QQuickScrollBar : public QQuickControl
Q_PROPERTY(QQuickItem *handle READ handle WRITE setHandle NOTIFY handleChanged FINAL)
public:
- explicit QQuickScrollBar(QQuickItem *parent = Q_NULLPTR);
+ explicit QQuickScrollBar(QQuickItem *parent = nullptr);
static QQuickScrollBarAttached *qmlAttachedProperties(QObject *object);
@@ -99,15 +99,15 @@ Q_SIGNALS:
void handleChanged();
protected:
- void mousePressEvent(QMouseEvent *event) Q_DECL_OVERRIDE;
- void mouseMoveEvent(QMouseEvent *event) Q_DECL_OVERRIDE;
- void mouseReleaseEvent(QMouseEvent *event) Q_DECL_OVERRIDE;
+ void mousePressEvent(QMouseEvent *event) override;
+ void mouseMoveEvent(QMouseEvent *event) override;
+ void mouseReleaseEvent(QMouseEvent *event) override;
virtual qreal positionAt(const QPoint &point) const;
#ifndef QT_NO_ACCESSIBILITY
- void accessibilityActiveChanged(bool active) Q_DECL_OVERRIDE;
- QAccessible::Role accessibleRole() const Q_DECL_OVERRIDE;
+ void accessibilityActiveChanged(bool active) override;
+ QAccessible::Role accessibleRole() const override;
#endif
private: