QSensorChangesInterface Class
QSensorChangesInterface クラスは、センサープラグインに対する純粋仮想インターフェースです。詳細...
| ヘッダー: | #include <QSensorChangesInterface> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Sensors) target_link_libraries(mytarget PRIVATE Qt6::Sensors) |
| qmake: | QT += sensors |
パブリック関数
| virtual void | sensorsChanged() = 0 |
「センサープラグインの作成」も参照してください 。
メンバ関数のドキュメント
[pure virtual] void QSensorChangesInterface::sensorsChanged()
この関数は、登録済みのバックエンドに変更があった際に呼び出されます。他のセンサーの存在に依存するバックエンドについては、ここで登録または登録解除を行う必要があります。
「センサープラグインの作成」も参照してください 。
© 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.