diff options
Diffstat (limited to 'doc/src/examples/sensorgestures.qdoc')
-rw-r--r-- | doc/src/examples/sensorgestures.qdoc | 8 |
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. |