summaryrefslogtreecommitdiffstats
path: root/src/plugins/sensors/dummy/dummycommon.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/dummy/dummycommon.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/dummy/dummycommon.h')
-rw-r--r--src/plugins/sensors/dummy/dummycommon.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/sensors/dummy/dummycommon.h b/src/plugins/sensors/dummy/dummycommon.h
index a17bd9dd..5816e895 100644
--- a/src/plugins/sensors/dummy/dummycommon.h
+++ b/src/plugins/sensors/dummy/dummycommon.h
@@ -50,10 +50,10 @@ class dummycommon : public QSensorBackend
public:
dummycommon(QSensor *sensor);
- void start();
- void stop();
+ void start() Q_DECL_OVERRIDE;
+ void stop() Q_DECL_OVERRIDE;
virtual void poll() = 0;
- void timerEvent(QTimerEvent * /*event*/);
+ void timerEvent(QTimerEvent * /*event*/) Q_DECL_OVERRIDE;
protected:
quint64 getTimestamp();