![]() |
Home · All Classes · All Functions · | ![]() |
The QSensorManager class handles registration and creation of sensor backends. More...
#include <QSensorManager>
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.
Create a backend for sensor. Returns null if no suitable backend exists.
Register a sensor for type. The identifier must be unique.
The factory will be asked to create instances of the backend.
Registers a static plugin, pluginname.
Note that this macro relies on static initialization so it may not be appropriate for use in a library and may not work on all platforms.
See also Creating a sensor plugin.
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt Mobility Project 1.0.1 |