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()
この関数は、登録されているバックエンドが変更されたときに呼び出される。他のセンサーの存在に依存するバックエンドは、ここで登録または登録解除する必要があります。
センサープラグインの作成も参照してください 。
© 2025 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.