QSensorChangesInterface Class
La classe QSensorChangesInterface è l'interfaccia puramente virtuale per i plugin dei sensori. Per saperne di più...
| Intestazione: | #include <QSensorChangesInterface> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Sensors) target_link_libraries(mytarget PRIVATE Qt6::Sensors) |
| qmake: | QT += sensors |
Funzioni pubbliche
| virtual void | sensorsChanged() = 0 |
Descrizione dettagliata
La classe QSensorChangesInterface viene implementata nei plugin dei sensori per ricevere notifiche relative alle modifiche apportate ai backend dei sensori registrati.
Vedi anche Creazione di un plugin per sensori.
Documentazione sulle funzioni membro
[pure virtual] void QSensorChangesInterface::sensorsChanged()
Questa funzione viene chiamata quando i backend registrati sono stati modificati. Qualsiasi backend che dipenda dalla presenza di altri sensori deve essere registrato o rimosso da qui.
Vedi anche Creazione di un plugin per sensori.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.