diff options
author | Lincoln Ramsay <lincoln.ramsay@nokia.com> | 2012-08-17 12:02:20 +1000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-11 10:19:46 +0200 |
commit | be4e63b220108a959f1d016403aa95389060630e (patch) | |
tree | aeedb34f815135e4ead5c2e7cb61c289ac5fb83e /src/imports/sensors/qmlsensorglobal.cpp | |
parent | ceb982907c98d2e71e1d7b84c87b06328c6c391f (diff) | |
download | qtsensors-be4e63b220108a959f1d016403aa95389060630e.tar.gz |
Rename QtMobility.sensors 1.3 to QtSensors 5.0
Change-Id: I2b24533d38db1f8e205de19b67fe0b21625bbf6b
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'src/imports/sensors/qmlsensorglobal.cpp')
-rw-r--r-- | src/imports/sensors/qmlsensorglobal.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/imports/sensors/qmlsensorglobal.cpp b/src/imports/sensors/qmlsensorglobal.cpp index 5c9723a..9f26e41 100644 --- a/src/imports/sensors/qmlsensorglobal.cpp +++ b/src/imports/sensors/qmlsensorglobal.cpp @@ -47,8 +47,8 @@ QT_BEGIN_NAMESPACE /*! \qmltype SensorGlobal \instantiates QmlSensorGlobal - \inqmlmodule QtMobility.sensors 1.3 - \since QtMobility.sensors 1.3 + \inqmlmodule QtSensors 5.0 + \since QtSensors 5.0 \brief The SensorGlobal element provides the module API. The SensorGlobal element provides the module API. @@ -56,8 +56,8 @@ QT_BEGIN_NAMESPACE This element cannot be directly created. It can only be accessed via a namespace import. \code - import QtMobility.sensors 1.3 - import QtMobility.sensors 1.3 as Sensors + import QtSensors 5.0 + import QtSensors 5.0 as Sensors ... Component.onCompleted: { var types = Sensors.sensorTypes(); @@ -78,7 +78,7 @@ QmlSensorGlobal::~QmlSensorGlobal() } /*! - \qmlmethod list<string> QtMobility.sensors1::SensorGlobal::sensorTypes() + \qmlmethod list<string> QtSensors::SensorGlobal::sensorTypes() Returns a list of the sensor types that have been registered. Please see QSensor::sensorTypes() for information. @@ -92,7 +92,7 @@ QStringList QmlSensorGlobal::sensorTypes() const } /*! - \qmlmethod list<string> QtMobility.sensors1::SensorGlobal::sensorsForType(type) + \qmlmethod list<string> QtSensors::SensorGlobal::sensorsForType(type) Returns a list of the sensor identifiers that have been registered for \a type. Please see QSensor::sensorsForType() for information. @@ -106,7 +106,7 @@ QStringList QmlSensorGlobal::sensorsForType(const QString &type) const } /*! - \qmlmethod string QtMobility.sensors1::SensorGlobal::defaultSensorForType(type) + \qmlmethod string QtSensors::SensorGlobal::defaultSensorForType(type) Returns the default sensor identifier that has been registered for \a type. Please see QSensor::defaultSensorForType() for information. |