summaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--src/imports/sensors/qmllightsensor.cpp2
-rw-r--r--src/imports/sensors/qmlproximitysensor.cpp2
-rw-r--r--src/imports/sensors/qmlsensor.cpp2
-rw-r--r--src/plugins/sensors/blackberry/bbrotationsensor.cpp2
-rw-r--r--src/plugins/sensors/blackberry/bbsensorbackend.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/imports/sensors/qmllightsensor.cpp b/src/imports/sensors/qmllightsensor.cpp
index b1995772..7bc3477a 100644
--- a/src/imports/sensors/qmllightsensor.cpp
+++ b/src/imports/sensors/qmllightsensor.cpp
@@ -125,7 +125,7 @@ QmlLightSensorReading::~QmlLightSensorReading()
}
/*!
- \qmlproperty qreal QtMobility.sensors1::LightReading::illuminance
+ \qmlproperty qreal QtSensors::LightReading::illuminance
This property holds the light level.
Please see QLightReading::illuminance for information about this property.
diff --git a/src/imports/sensors/qmlproximitysensor.cpp b/src/imports/sensors/qmlproximitysensor.cpp
index e6ffc644..79a3b651 100644
--- a/src/imports/sensors/qmlproximitysensor.cpp
+++ b/src/imports/sensors/qmlproximitysensor.cpp
@@ -107,7 +107,7 @@ QmlProximitySensorReading::~QmlProximitySensorReading()
}
/*!
- \qmlproperty bool QtMobility.sensors1::ProximityReading::near
+ \qmlproperty bool QtSensors::ProximityReading::near
This property holds a value indicating if something is near.
Please see QProximityReading::near for information about this property.
diff --git a/src/imports/sensors/qmlsensor.cpp b/src/imports/sensors/qmlsensor.cpp
index e12171ae..cdf522f9 100644
--- a/src/imports/sensors/qmlsensor.cpp
+++ b/src/imports/sensors/qmlsensor.cpp
@@ -73,7 +73,7 @@ QmlSensor::~QmlSensor()
}
/*!
- \qmlproperty string QtMobility.sensors1::Sensor::identifier
+ \qmlproperty string QtSensors::Sensor::identifier
This property holds the backend identifier for the sensor.
Please see QSensor::identifier for information about this property.
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();
}