IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QSensorChangesInterface Class

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

This class was introduced in Qt 5.1.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

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

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

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+