diff options
author | Lincoln Ramsay <lincoln.ramsay@nokia.com> | 2012-06-19 15:47:09 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-20 01:56:15 +0200 |
commit | b2e97817684f40ab9353fa279a4c02ef9c12e13d (patch) | |
tree | b7c7114b555539de9e1bc5a1bd1ed5afeed777bb /doc/src/examples/qmlqtsensors.qdoc | |
parent | 5e89b386f4aae5a4953c725b6aab565b21a3330f (diff) |
Remove the 'special' naming of examples.
Just go back to the naming convention we had before.
Change-Id: Iefecb7a5e0ab3aa4d22267b4f475a8e9c1c96058
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
Diffstat (limited to 'doc/src/examples/qmlqtsensors.qdoc')
-rw-r--r-- | doc/src/examples/qmlqtsensors.qdoc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/src/examples/qmlqtsensors.qdoc b/doc/src/examples/qmlqtsensors.qdoc index 1dfe3202..422f2d08 100644 --- a/doc/src/examples/qmlqtsensors.qdoc +++ b/doc/src/examples/qmlqtsensors.qdoc @@ -26,7 +26,7 @@ ****************************************************************************/ /*! - \example QtSensors/QtSensors_qmlqtsensors + \example sensors/qmlqtsensors \title Qt Sensors - QML example \ingroup qtsensors-examples \image qmlqtsensors.png @@ -39,32 +39,32 @@ Import the QtSensors 5.x declarative plugin: - \snippet ../examples/QtSensors/QtSensors_qmlqtsensors/QtSensors_qmlqtsensors.qml 0 + \snippet ../examples/sensors/qmlqtsensors/qmlqtsensors.qml 0 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 + \snippet ../examples/sensors/qmlqtsensors/qmlqtsensors.qml 1 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 + \snippet ../examples/sensors/qmlqtsensors/qmlqtsensors.qml 2 Reading the data can be done for each sensor type like following: \l {QtSensors5::TiltSensor} {TiltSensor} - \snippet ../examples/QtSensors/QtSensors_qmlqtsensors/QtSensors_qmlqtsensors.qml 3 - \snippet ../examples/QtSensors/QtSensors_qmlqtsensors/QtSensors_qmlqtsensors.qml 4 + \snippet ../examples/sensors/qmlqtsensors/qmlqtsensors.qml 3 + \snippet ../examples/sensors/qmlqtsensors/qmlqtsensors.qml 4 \l {QtSensors5::AmbientLightSensor} {AmbientLightSensor} - \snippet ../examples/QtSensors/QtSensors_qmlqtsensors/QtSensors_qmlqtsensors.qml 5 + \snippet ../examples/sensors/qmlqtsensors/qmlqtsensors.qml 5 \l {QtSensors5::ProximitySensor} {ProximitySensor} - \snippet ../examples/QtSensors/QtSensors_qmlqtsensors/QtSensors_qmlqtsensors.qml 6 + \snippet ../examples/sensors/qmlqtsensors/qmlqtsensors.qml 6 */ |