summaryrefslogtreecommitdiffstats
path: root/doc/src/examples/sensorgestures.qdoc
diff options
context:
space:
mode:
authorWolfgang Beck <wolfgang.beck@nokia.com>2012-05-25 12:31:38 +1000
committerQt by Nokia <qt-info@nokia.com>2012-05-28 05:02:44 +0200
commit5effd1712aa6f1ae2359762cdadeb70198121f77 (patch)
treed7a48be78f910d7e957252b36a5dbf6f57e786bf /doc/src/examples/sensorgestures.qdoc
parentdd14ea8acf97103868d6dfcafb7b19275e605e97 (diff)
Update Examples using the same name conventions
e.g. Folder of example should start with QtSensorrs_ Example documentation title should start with QtSensors - images folder renamed to content Change-Id: I341fb8510ba3ad64068d786559e8d28af5d135c3 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
Diffstat (limited to 'doc/src/examples/sensorgestures.qdoc')
-rw-r--r--doc/src/examples/sensorgestures.qdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/examples/sensorgestures.qdoc b/doc/src/examples/sensorgestures.qdoc
index 6da13c85..4940dfb5 100644
--- a/doc/src/examples/sensorgestures.qdoc
+++ b/doc/src/examples/sensorgestures.qdoc
@@ -27,7 +27,7 @@
/*!
\page sensorgestureexample.html
- \title C++ Sensor Gestures Example
+ \title Qt Sensors - C++ Sensor Gestures Example
\ingroup qtsensors-examples
\brief The sensor gesture example demonstrates the steps for creating a C++ application
that uses sensor gestures and the included shake sensor.
@@ -45,17 +45,17 @@
In order to know about custom signals that may be available, we need to ask the QSensorGestureManager about them,
Using the QSensorGesture::gestureIds() function, the manager will return a QStringList of known and valid gesture Ids.
- \snippet ../examples/QtSensors/sensorgestures/mainwindow.cpp 0
+ \snippet ../examples/QtSensors/QtSensors_sensorgestures/mainwindow.cpp 0
We can then use this to create a QSensorGesture object that we can use to connect signals to,
and start the detection process. A QSensorGesture object will take a list of one or more
recognizer ids in it's constructor.
- \snippet ../examples/QtSensors/sensorgestures/mainwindow.cpp 1
+ \snippet ../examples/QtSensors/QtSensors_sensorgestures/mainwindow.cpp 1
and later stop the detection process.
- \snippet ../examples/QtSensors/sensorgestures/mainwindow.cpp 2
+ \snippet ../examples/QtSensors/QtSensors_sensorgestures/mainwindow.cpp 2
The QSensorGesture object will contain all the signals of the valid requested recognizers found on the system.