diff options
-rw-r--r-- | src/imports/sensors/qmlsensorglobal.cpp | 12 | ||||
-rw-r--r-- | src/sensors/doc/src/qtsensors5.qdoc | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/imports/sensors/qmlsensorglobal.cpp b/src/imports/sensors/qmlsensorglobal.cpp index 3d043565..c2a67e85 100644 --- a/src/imports/sensors/qmlsensorglobal.cpp +++ b/src/imports/sensors/qmlsensorglobal.cpp @@ -43,13 +43,13 @@ QT_BEGIN_NAMESPACE /*! - \qmltype SensorGlobal + \qmltype QmlSensors \instantiates QmlSensorGlobal \inqmlmodule QtSensors \since QtSensors 5.0 - \brief The SensorGlobal element provides the module API. + \brief The QmlSensors singleton provides the module API. - The SensorGlobal element provides the module API. + The QmlSensors singleton provides the module API. This element cannot be directly created. It can only be accessed via a namespace import. @@ -76,7 +76,7 @@ QmlSensorGlobal::~QmlSensorGlobal() } /*! - \qmlmethod list<string> SensorGlobal::sensorTypes() + \qmlmethod list<string> QmlSensors::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> SensorGlobal::sensorsForType(type) + \qmlmethod list<string> QmlSensors::sensorsForType(type) Returns a list of the sensor identifiers that have been registered for \a type. Please see QSensor::sensorsForType() for information. @@ -108,7 +108,7 @@ QStringList QmlSensorGlobal::sensorsForType(const QString &type) const } /*! - \qmlmethod string SensorGlobal::defaultSensorForType(type) + \qmlmethod string QmlSensors::defaultSensorForType(type) Returns the default sensor identifier that has been registered for \a type. Please see QSensor::defaultSensorForType() for information. diff --git a/src/sensors/doc/src/qtsensors5.qdoc b/src/sensors/doc/src/qtsensors5.qdoc index aec6dda6..688ff064 100644 --- a/src/sensors/doc/src/qtsensors5.qdoc +++ b/src/sensors/doc/src/qtsensors5.qdoc @@ -60,7 +60,7 @@ } \endqml - The documentation for the module API can be found in SensorGlobal. + The documentation for the module API can be found in QmlSensors. \section1 QML Sensor Types |