summaryrefslogtreecommitdiffstats
path: root/src/plugins/sensors/android/src/androidmagnetometer.h
diff options
context:
space:
mode:
authorSamuel Gaist <samuel.gaist@edeltech.ch>2013-11-18 23:07:09 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-19 13:28:36 +0100
commit400ad25d72b8b2d9a10057953a88d7d64b9bc0a9 (patch)
treec3f14ba845cc331c744d5623d5abe5b90814fc91 /src/plugins/sensors/android/src/androidmagnetometer.h
parenta840cbffba476205eba81f56f40ec32cea6097cc (diff)
Make QtSensors use Q_DECL_OVERRIDE
This patch aims to make QtSensors uses Q_DECL_OVERRIDE uniformly across the module Task-number: QTBUG-27392 Change-Id: I5f814f93307159175f92e29a9990587c03cce96f Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Diffstat (limited to 'src/plugins/sensors/android/src/androidmagnetometer.h')
-rw-r--r--src/plugins/sensors/android/src/androidmagnetometer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/sensors/android/src/androidmagnetometer.h b/src/plugins/sensors/android/src/androidmagnetometer.h
index 57d9f36d..3f1a59c2 100644
--- a/src/plugins/sensors/android/src/androidmagnetometer.h
+++ b/src/plugins/sensors/android/src/androidmagnetometer.h
@@ -50,8 +50,8 @@ class AndroidMagnetometer : public AndroidCommonSensor<QMagnetometerReading>
public:
AndroidMagnetometer(AndroidSensors::AndroidSensorType type, QSensor *sensor);
private:
- virtual void onAccuracyChanged(jint accuracy);
- virtual void onSensorChanged(jlong timestamp, const jfloat *values, uint size);
+ void onAccuracyChanged(jint accuracy) Q_DECL_OVERRIDE;
+ void onSensorChanged(jlong timestamp, const jfloat *values, uint size) Q_DECL_OVERRIDE;
};
#endif // ANDROIDMAGNETOMETER_H