QtMobility Reference Documentation

QSensorGesturePluginInterface Class Reference

The QSensorGesturePluginInterface class is the pure virtual interface to sensor gesture plugins. More...

 #include <QSensorGesturePluginInterface>

This class was introduced in QtSensors 5.0.

Public Functions

QSensorGesturePluginInterface ()
virtual ~QSensorGesturePluginInterface ()
virtual QList<QSensorGestureRecognizer *> createRecognizers () = 0
virtual QString name () const = 0
virtual QStringList supportedIds () const = 0

Detailed Description

The QSensorGesturePluginInterface class is the pure virtual interface to sensor gesture plugins.

The QSensorGesturePluginInterface class is implemented in sensor gesture plugins to register sensor gesture recognizers with QSensorGestureManager.

See also QtSensorGestures Plugins.

Member Function Documentation

QSensorGesturePluginInterface::QSensorGesturePluginInterface ()

Construct the QSensorGesturePluginInterface.

QSensorGesturePluginInterface::~QSensorGesturePluginInterface () [virtual]

Destroy the QSensorGesturePluginInterface.

QList<QSensorGestureRecognizer *> QSensorGesturePluginInterface::createRecognizers () [pure virtual]

Called by the manager to create the recognizers. Plugins should initialize and register their recognizers using QSensorGestureManager::registerSensorGestureRecognizer() here.

See also QSensorGestureManager.

QString QSensorGesturePluginInterface::name () const [pure virtual]

Returns this plugins name.

QStringList QSensorGesturePluginInterface::supportedIds () const [pure virtual]

Returns a list of the recognizer Id's that this plugin supports.

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.