summaryrefslogtreecommitdiff
path: root/examples/sensors/grue
diff options
context:
space:
mode:
authorLincoln Ramsay <lincoln.ramsay@nokia.com>2012-01-11 12:46:23 +1000
committerQt by Nokia <qt-info@nokia.com>2012-01-12 03:58:14 +0100
commit9c95113ba42770a76b0cbfe356b37061616244a0 (patch)
treea0ffeb73f3eced31e93fee048435739dbdefeca6 /examples/sensors/grue
parent413b134ed40515c7da6cc343190f55842c16ae49 (diff)
downloadqtsensors-9c95113ba42770a76b0cbfe356b37061616244a0.tar.gz
more properly document GrueSensor QML element
Change-Id: I61e2681f0573e2541c9101f684ddb1dbf3857745 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Peter Yard <peter.yard@nokia.com>
Diffstat (limited to 'examples/sensors/grue')
-rw-r--r--examples/sensors/grue/import/main.cpp15
1 files changed, 2 insertions, 13 deletions
diff --git a/examples/sensors/grue/import/main.cpp b/examples/sensors/grue/import/main.cpp
index cd56a41..bd2ae4b 100644
--- a/examples/sensors/grue/import/main.cpp
+++ b/examples/sensors/grue/import/main.cpp
@@ -72,6 +72,7 @@ Q_EXPORT_PLUGIN2(gruesensorqmlimport, QT_PREPEND_NAMESPACE(GrueSensorQmlImport))
/*
\qmlclass GrueSensor GrueSensor
+ \inherits QtMobility.sensors1::Sensor
\inqmlmodule Grue 1
\brief The GrueSensor element reports on your chance of being eaten by a Grue.
@@ -84,21 +85,9 @@ Q_EXPORT_PLUGIN2(gruesensorqmlimport, QT_PREPEND_NAMESPACE(GrueSensorQmlImport))
*/
/*
- \qmlproperty GrueSensorReading Grue1::GrueSensor::reading
- Holds the most recent Grue sensor reading.
- Please see QSensor::reading for information about this property.
-*/
-
-/*
- \qmlsignal Grue1::GrueSensor::onReadingChanged()
- Called when the reading object changes.
- Please see QSensor::readingChanged() for information about this signal.
-*/
-
-/*
\qmlclass GrueSensorReading GrueSensorReading
- \inqmlmodule Grue 1
\inherits QtMobility.sensors1::SensorReading
+ \inqmlmodule Grue 1
\brief The GrueSensorReading element holds the most recent GrueSensor reading.
The GrueSensorReading element holds the most recent GrueSensor reading.