diff options
author | Alexander Volkov <a.volkov@rusbitech.ru> | 2016-12-02 02:09:24 +0300 |
---|---|---|
committer | Alexander Volkov <a.volkov@rusbitech.ru> | 2016-12-02 08:46:51 +0000 |
commit | 2c595c382c50a5632b14eda00d85a9b7fcb09b5d (patch) | |
tree | f8e070d11537c794ee99a977a7de91c460d5ebc7 /src/imports/sensors/qmlorientationsensor.h | |
parent | 07bf3002fecd493a47bfb97420d3c3fbe6ee1458 (diff) |
Replace Q_DECL_OVERRIDE by override
'override' keyword can be used directly since Qt 5.7.
Change-Id: Ibf0fc590f7e247a310a833a22ece700ec75199bb
Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
Diffstat (limited to 'src/imports/sensors/qmlorientationsensor.h')
-rw-r--r-- | src/imports/sensors/qmlorientationsensor.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/imports/sensors/qmlorientationsensor.h b/src/imports/sensors/qmlorientationsensor.h index 896279d0..bdb1b1e4 100644 --- a/src/imports/sensors/qmlorientationsensor.h +++ b/src/imports/sensors/qmlorientationsensor.h @@ -56,9 +56,9 @@ public: private: - QSensor *sensor() const Q_DECL_OVERRIDE; + QSensor *sensor() const override; QOrientationSensor *m_sensor; - QmlSensorReading *createReading() const Q_DECL_OVERRIDE; + QmlSensorReading *createReading() const override; }; class QmlOrientationSensorReading : public QmlSensorReading @@ -76,8 +76,8 @@ Q_SIGNALS: void orientationChanged(); private: - QSensorReading *reading() const Q_DECL_OVERRIDE; - void readingUpdate() Q_DECL_OVERRIDE; + QSensorReading *reading() const override; + void readingUpdate() override; QOrientationSensor *m_sensor; QOrientationReading::Orientation m_orientation; }; |