summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsensorgestures_gestures
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qsensorgestures_gestures')
-rw-r--r--tests/auto/qsensorgestures_gestures/mockbackends.h4
-rw-r--r--tests/auto/qsensorgestures_gestures/mockcommon.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/qsensorgestures_gestures/mockbackends.h b/tests/auto/qsensorgestures_gestures/mockbackends.h
index 28af79ea..474a7ef7 100644
--- a/tests/auto/qsensorgestures_gestures/mockbackends.h
+++ b/tests/auto/qsensorgestures_gestures/mockbackends.h
@@ -55,7 +55,7 @@ class mockSensorPlugin : public QObject,
public:
QString m_filename;
- void registerSensors()
+ void registerSensors() override
{
qDebug() << "loaded the mock plugin";
@@ -76,7 +76,7 @@ public:
}
- QSensorBackend *createBackend(QSensor *sensor)
+ QSensorBackend *createBackend(QSensor *sensor) override
{
if (sensor->identifier() == mockaccelerometer::id) {
return new mockaccelerometer(sensor);
diff --git a/tests/auto/qsensorgestures_gestures/mockcommon.h b/tests/auto/qsensorgestures_gestures/mockcommon.h
index c3007337..cbb36f25 100644
--- a/tests/auto/qsensorgestures_gestures/mockcommon.h
+++ b/tests/auto/qsensorgestures_gestures/mockcommon.h
@@ -78,8 +78,8 @@ class mockcommon : public QSensorBackend
public:
mockcommon(QSensor *sensor);
- void start();
- void stop();
+ void start() override;
+ void stop() override;
static char const * const id;
Q_SIGNALS: