summaryrefslogtreecommitdiffstats
path: root/doc/src/examples/qmlqtsensors.qdoc
diff options
context:
space:
mode:
authorPeter Yard <peter.yard@nokia.com>2012-06-13 14:14:30 +1000
committerQt by Nokia <qt-info@nokia.com>2012-06-19 03:40:14 +0200
commit3aebcb96b72c8e2dbfeff078e67af55489c2bac8 (patch)
treeef1adbb87daf4f9ddd8ce1ec095f87cb8c6017f7 /doc/src/examples/qmlqtsensors.qdoc
parenta42fd9d05a8f8db8a79fc8da920fa917188b8e9b (diff)
Docs: change QML elements to QML types in docs.
Change-Id: I54a9a1972978f1d989d262f137b5890d1feb35e0 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
Diffstat (limited to 'doc/src/examples/qmlqtsensors.qdoc')
-rw-r--r--doc/src/examples/qmlqtsensors.qdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/examples/qmlqtsensors.qdoc b/doc/src/examples/qmlqtsensors.qdoc
index 4c509392..1dfe3202 100644
--- a/doc/src/examples/qmlqtsensors.qdoc
+++ b/doc/src/examples/qmlqtsensors.qdoc
@@ -32,22 +32,22 @@
\image qmlqtsensors.png
\section2 Qt Sensors in QML
- \brief The QML QtSensors example demonstrates the QML sensors elements in the QtSensors 5 import.
+ \brief The QtSensors - QML example demonstrates the QML sensors types in the QtSensors 5 import.
- To write a QML application that will use the QML sensors elements in the QtSensors 5 import you need to to the following steps:
+ To write a QML application that will use the QML sensors types in the QtSensors 5 import you need to to the following steps:
Import the QtSensors 5.x declarative plugin:
\snippet ../examples/QtSensors/QtSensors_qmlqtsensors/QtSensors_qmlqtsensors.qml 0
- Add the Sensor QML elements into your qml file.
+ Add the Sensor QML types into your qml file.
In this example we use the TiltSensor:
\snippet ../examples/QtSensors/QtSensors_qmlqtsensors/QtSensors_qmlqtsensors.qml 1
- The Tilt-, AmbientLight- and the Proximity QML element sensor have the 'enabled' property in common.
+ The Tilt-, AmbientLight- and the Proximity QML sensor types have the 'enabled' property in common.
To start or stop the sensor set this property to true or false.
\snippet ../examples/QtSensors/QtSensors_qmlqtsensors/QtSensors_qmlqtsensors.qml 2