summaryrefslogtreecommitdiffstats
path: root/examples/sensors
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sensors')
-rw-r--r--examples/sensors/grue/import/main.cpp6
-rw-r--r--examples/sensors/sensor_explorer/import/sensoritem.cpp2
2 files changed, 3 insertions, 5 deletions
diff --git a/examples/sensors/grue/import/main.cpp b/examples/sensors/grue/import/main.cpp
index 44714a5b..d892d892 100644
--- a/examples/sensors/grue/import/main.cpp
+++ b/examples/sensors/grue/import/main.cpp
@@ -112,22 +112,20 @@ QT_END_NAMESPACE
\qmltype GrueSensor
\instantiates GrueSensor
\inherits QtMobility.sensors1::Sensor
- \inqmlmodule Grue 1
+ \inqmlmodule Grue 1.0
\brief The GrueSensor type reports on your chance of being eaten by a Grue.
The GrueSensor type reports on your chance of being eaten by a Grue.
This type wraps the GrueSensor class. Please see the documentation for
GrueSensor for details.
-
- \sa {QtMobility.sensors QML Limitations}
*/
/*
\qmltype GrueSensorReading
\instantiates GrueSensorReading
\inherits QtMobility.sensors1::SensorReading
- \inqmlmodule Grue 1
+ \inqmlmodule Grue 1.0
\brief The GrueSensorReading type holds the most recent GrueSensor reading.
The GrueSensorReading type holds the most recent GrueSensor reading.
diff --git a/examples/sensors/sensor_explorer/import/sensoritem.cpp b/examples/sensors/sensor_explorer/import/sensoritem.cpp
index 4ef4b5ce..1b14c6ae 100644
--- a/examples/sensors/sensor_explorer/import/sensoritem.cpp
+++ b/examples/sensors/sensor_explorer/import/sensoritem.cpp
@@ -220,7 +220,7 @@ bool QSensorItem::ignoreProperty(const QString& propertyname)
{
if (propertyname == "reading" ||
propertyname == "active" ||
- propertyname == "sensorid" ||
+ propertyname == "identifier" ||
propertyname == "connectedToBackend" ||
propertyname == "busy")
return true;