summaryrefslogtreecommitdiffstats
path: root/src/plugins/sensors/blackberry/bborientationsensor.h
diff options
context:
space:
mode:
authorThomas McGuire <thomas.mcguire.qnx@kdab.com>2012-06-29 11:14:29 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-02 13:45:59 +0200
commitceeed543d3218210afd2caca48506dbe7596a8ab (patch)
tree4fa0bd01c58baf7fefec366c24ed27f77f4fa86e /src/plugins/sensors/blackberry/bborientationsensor.h
parent20769d97920674d9b7480d1f2305315dcd9d2819 (diff)
Blackberry: Add Q_DECL_OVERRIDE keywords
Change-Id: Iae2c29ac040d32623ec49976cf4df0a7a492d28b Reviewed-by: Adam Parco <aparco@rim.com> Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/plugins/sensors/blackberry/bborientationsensor.h')
-rw-r--r--src/plugins/sensors/blackberry/bborientationsensor.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/sensors/blackberry/bborientationsensor.h b/src/plugins/sensors/blackberry/bborientationsensor.h
index 44793093..8dcb2711 100644
--- a/src/plugins/sensors/blackberry/bborientationsensor.h
+++ b/src/plugins/sensors/blackberry/bborientationsensor.h
@@ -56,7 +56,7 @@ class BbOrientationReading : public QOrientationReading
public:
explicit BbOrientationReading(QObject *parent = 0);
~BbOrientationReading();
- void copyValuesFrom(QSensorReading *other);
+ void copyValuesFrom(QSensorReading *other) Q_DECL_OVERRIDE;
int rotation() const;
void setRotation(int rotation);
@@ -73,12 +73,12 @@ public:
static QString devicePath();
- void start();
- void additionalDeviceInit();
- bool addDefaultRange();
+ void start() Q_DECL_OVERRIDE;
+ void additionalDeviceInit() Q_DECL_OVERRIDE;
+ bool addDefaultRange() Q_DECL_OVERRIDE;
protected:
- bool updateReadingFromEvent(const sensor_event_t &event, BbOrientationReading *reading);
+ bool updateReadingFromEvent(const sensor_event_t &event, BbOrientationReading *reading) Q_DECL_OVERRIDE;
};
#endif