summaryrefslogtreecommitdiffstats
path: root/doc/src/examples/cubehouse.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/examples/cubehouse.qdoc')
-rw-r--r--doc/src/examples/cubehouse.qdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/examples/cubehouse.qdoc b/doc/src/examples/cubehouse.qdoc
index 278dd865..15e52fac 100644
--- a/doc/src/examples/cubehouse.qdoc
+++ b/doc/src/examples/cubehouse.qdoc
@@ -33,13 +33,13 @@
\image cubehouse.png
\section1 Overview
- To write a QML application that will use the QML Accelerometer element from the QtMobility.sensors import you need to to the following steps:
+ To write a QML application that will use the QML Accelerometer type from the QtMobility.sensors import you need to to the following steps:
Import the QtMobility.sensors declarative plugin:
\snippet ../examples/QtSensors/QtSensors_cubehouse/QtSensors_cubehouse.qml 0
- Add the Accelerometer QML elements into your qml file.
+ Add the Accelerometer QML types into your qml file.
\snippet ../examples/QtSensors/QtSensors_cubehouse/QtSensors_cubehouse.qml 1
@@ -48,11 +48,11 @@
\snippet ../examples/QtSensors/QtSensors_cubehouse/QtSensors_cubehouse.qml 2
Reading out the Accelerometer data can be done by implementing the 'onReadingChanged' slot and
- accessing the 'reading' property from the Accelerometer element:
+ accessing the 'reading' property from the Accelerometer type:
\snippet ../examples/QtSensors/QtSensors_cubehouse/QtSensors_cubehouse.qml 3
- By using a timer the view can be rotated using the pitch and roll properties from the Accelerometer element:
+ By using a timer the view can be rotated using the pitch and roll properties from the Accelerometer type:
\snippet ../examples/QtSensors/QtSensors_cubehouse/QtSensors_cubehouse.qml 4