summaryrefslogtreecommitdiffstats
path: root/doc/src/examples
diff options
context:
space:
mode:
authorWolfgang Beck <wolfgang.beck@nokia.com>2011-09-02 13:29:38 +1000
committerLincoln Ramsay <lincoln.ramsay@nokia.com>2011-10-10 09:25:25 +1000
commit6b2c7688b3f344f350125f8b9713a6a77b82c3dd (patch)
tree2eb622b436f6462b344f1b4d7fbbd39859aefa3a /doc/src/examples
parent3496318f01b63b4127c72999d634530313d60b57 (diff)
MTMW-98 QML API Version 2
Change-Id: I10c610ae22974d291fad663088c5a11449a86b05 Reviewed-on: http://codereview.qt-project.org/4107 Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
Diffstat (limited to 'doc/src/examples')
-rw-r--r--doc/src/examples/sensors.qdoc10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/examples/sensors.qdoc b/doc/src/examples/sensors.qdoc
index 4ecc4e16..3f5a9a2a 100644
--- a/doc/src/examples/sensors.qdoc
+++ b/doc/src/examples/sensors.qdoc
@@ -79,13 +79,13 @@
light sensor. In the start method, the backend should be sure to call the
sensorStopped() or sensorBusy() methods if it cannot start.
- \snippet ../../examples/sensors/grueplugin/gruesensorimpl.cpp start
+ \snippet ../examples/sensors/grueplugin/gruesensorimpl.cpp start
The setReading method is needed so that the sensors library knows where the
readings are coming from. This backend has a local copy of the reading so
it passes a pointer to the function.
- \snippet ../../examples/sensors/grueplugin/gruesensorimpl.cpp setReading
+ \snippet ../examples/sensors/grueplugin/gruesensorimpl.cpp setReading
However it is also possible to pass null to the setReading method in which
case the sensors library will create an instance and return a pointer.
@@ -142,15 +142,15 @@
The accelerometer is created and the filter is added.
- \snippet ../../examples/sensors/cubehouse/view.cpp accelerometer
+ \snippet ../examples/sensors/cubehouse/view.cpp accelerometer
When new values are available, the view is recalculated.
- \snippet ../../examples/sensors/cubehouse/view.cpp accelerometer2
+ \snippet ../examples/sensors/cubehouse/view.cpp accelerometer2
The filter is defined like this.
- \snippet ../../examples/sensors/cubehouse/view.cpp smoothed
+ \snippet ../examples/sensors/cubehouse/view.cpp smoothed
*/