QSensorChangesInterface Class▲
-
Header: QSensorChangesInterface
-
Since: Qt 5.1
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS Sensors)
target_link_libraries(mytarget PRIVATE Qt6::Sensors)
-
qmake: QT += sensors
-
Group: QSensorChangesInterface is part of sensors_backend
Detailed Description▲
The QSensorChangesInterface class is implemented in sensor plugins to receive notification that registered sensor backends have changed.
See Also▲
See also Creating a sensor plugin
Member Function Documentation▲
[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.
See Also▲
See also Creating a sensor plugin