summaryrefslogtreecommitdiffstats
path: root/src/plugins/sensors
diff options
context:
space:
mode:
authorThomas McGuire <thomas.mcguire.qnx@kdab.com>2012-11-02 16:29:15 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-02 23:09:14 +0100
commitbb39ac52a68eb0b4da8f03d7c2cd9bbbd72854eb (patch)
treea3d56294d873397913f920b9e7b093580dedaddc /src/plugins/sensors
parent980ce3eb2a9da3a4b20993e221889597d18d0a0d (diff)
Removal last references to QtMobility
Change-Id: Ia92de27ec25451b64a2e584507ca44485b94745a Reviewed-by: Kevin Ottens <kevin.ottens.qnx@kdab.com> Reviewed-by: Bernd Weimer <bweimer@rim.com> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'src/plugins/sensors')
-rw-r--r--src/plugins/sensors/blackberry/bbrotationsensor.cpp2
-rw-r--r--src/plugins/sensors/blackberry/bbsensorbackend.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/sensors/blackberry/bbrotationsensor.cpp b/src/plugins/sensors/blackberry/bbrotationsensor.cpp
index 82ffc7ab..087bc27a 100644
--- a/src/plugins/sensors/blackberry/bbrotationsensor.cpp
+++ b/src/plugins/sensors/blackberry/bbrotationsensor.cpp
@@ -70,7 +70,7 @@ bool BbRotationSensor::addDefaultRange()
bool BbRotationSensor::updateReadingFromEvent(const sensor_event_t &event, QRotationReading *reading)
{
- // sensor_event_t has euler angles for a Z-Y'-X'' system, but the QtMobility API
+ // sensor_event_t has euler angles for a Z-Y'-X'' system, but the QtSensors API
// uses Z-X'-Y''.
// So extract the euler angles using the Z-X'-Y'' system from the matrix.
float xRad, yRad, zRad;
diff --git a/src/plugins/sensors/blackberry/bbsensorbackend.h b/src/plugins/sensors/blackberry/bbsensorbackend.h
index c90e86fa..7e2ad0ec 100644
--- a/src/plugins/sensors/blackberry/bbsensorbackend.h
+++ b/src/plugins/sensors/blackberry/bbsensorbackend.h
@@ -139,7 +139,7 @@ private:
return;
if (updateReadingFromEvent(sensorEvent, &m_reading)) {
- // The OS timestamp is in nanoseconds, QtMobility expects microseconds
+ // The OS timestamp is in nanoseconds, QtSensors expects microseconds
m_reading.setTimestamp(sensorEvent.timestamp / 1000);
newReadingAvailable();
}