diff options
author | Peter Yard <peter.yard@nokia.com> | 2012-06-13 14:14:30 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-19 03:40:14 +0200 |
commit | 3aebcb96b72c8e2dbfeff078e67af55489c2bac8 (patch) | |
tree | ef1adbb87daf4f9ddd8ce1ec095f87cb8c6017f7 /doc/src/examples/cubehouse.qdoc | |
parent | a42fd9d05a8f8db8a79fc8da920fa917188b8e9b (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/cubehouse.qdoc')
-rw-r--r-- | doc/src/examples/cubehouse.qdoc | 8 |
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 |