From bb39ac52a68eb0b4da8f03d7c2cd9bbbd72854eb Mon Sep 17 00:00:00 2001 From: Thomas McGuire Date: Fri, 2 Nov 2012 16:29:15 +0100 Subject: Removal last references to QtMobility Change-Id: Ia92de27ec25451b64a2e584507ca44485b94745a Reviewed-by: Kevin Ottens Reviewed-by: Bernd Weimer Reviewed-by: Lorn Potter --- src/imports/sensors/qmllightsensor.cpp | 2 +- src/imports/sensors/qmlproximitysensor.cpp | 2 +- src/imports/sensors/qmlsensor.cpp | 2 +- src/plugins/sensors/blackberry/bbrotationsensor.cpp | 2 +- src/plugins/sensors/blackberry/bbsensorbackend.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') 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(); } -- cgit v1.2.3