The QSensorChangesInterface class is the pure virtual interface to sensor plugins. 更多...
头: | #include <QSensorChangesInterface> |
qmake: | QT += sensors |
Since: | Qt 5.1 |
该类在 Qt 5.1 引入。
virtual void | sensorsChanged () = 0 |
The QSensorChangesInterface class is implemented in sensor plugins to receive notification that registered sensor backends have changed.
另请参阅 Creating a sensor plugin .
[pure virtual]
void
QSensorChangesInterface::
sensorsChanged
()
This function is called when the registered backends have changed. Any backends that depend on the presence of other sensors should be registered or unregistered in here.
另请参阅 Creating a sensor plugin .