The QSensorGestureManager class manages sensor gestures, registers and creates sensor gesture plugins. More...
#include <QSensorGestureManager>
Inherits: QObject.
QSensorGestureManager ( QObject * parent = 0 ) | |
~QSensorGestureManager () | |
QStringList | gestureIds () const |
QStringList | recognizerSignals ( const QString & gestureId ) const |
bool | registerSensorGestureRecognizer ( QSensorGestureRecognizer * recognizer ) |
void | newSensorGestureAvailable () |
QSensorGestureRecognizer * | sensorGestureRecognizer ( const QString & id ) |
The QSensorGestureManager class manages sensor gestures, registers and creates sensor gesture plugins.
Sensor Gesture plugins register their recognizers using the registerSensorGestureRecognizer() function.
Constructs the QSensorGestureManager as a child of parent
Destroy the QSensorGestureManager
Returns the list of the currently registered gestures. Includes all the standard built-ins as well as available plugins.
Signals when a new sensor gesture becomes available for use.
Returns the list of all the gesture signals for the registered gestureId gesture recognizer id.
Registers the sensor recognizer recognizer for use. QSensorGestureManager retains ownership of the recognizer object. Returns true unless the gesture has already been registered, in which case the object is deleted.
Returns the sensor gesture object for the recognizer id.