QSensorPluginInterface Class

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

Header: #include <QSensorPluginInterface>
qmake: QT += sensors
Since: Qt 5.1

Public Functions

virtual void registerSensors() = 0

Protected Functions

Detailed Description

The QSensorPluginInterface class is the pure virtual interface to sensor plugins.

The QSensorPluginInterface class is implemented in sensor plugins to register sensor backends with QSensorManager.

See also Creating a sensor plugin.

Member Function Documentation

[virtual protected] QSensorPluginInterface::~QSensorPluginInterface()

Destroys the instance of QSensorPluginInterface. The destructor is virtual.

[pure virtual] void QSensorPluginInterface::registerSensors()