QSensorManager Class Reference
The QSensorManager class handles registration and creation of sensor backends. More...
#include <QSensorManager>
Static Public Members
QSensorBackend * | createBackend ( QSensor * sensor ) |
void | registerBackend ( const QByteArray & type, const QByteArray & identifier, QSensorBackendFactory * factory ) |
Macros
REGISTER_STATIC_PLUGIN ( pluginname ) |
Detailed Description
The QSensorManager class handles registration and creation of sensor backends.
Sensor plugins register backends using the registerBackend() function.
When QSensor::connectToBackend() is called, the createBackend() function will be called.