QTapFilter Class
The QTapFilter class is a convenience wrapper around QSensorFilter. 更多...
头文件: | #include <QTapFilter> |
qmake: | QT += sensors |
开始支持版本: | Qt 5.1 |
基类: | QSensorFilter |
公有函数
virtual bool | filter(QTapReading *reading) = 0 |
- 1 个公有函数继承自 QSensorFilter
详细描述
The QTapFilter class is a convenience wrapper around QSensorFilter.
The only difference is that the filter() method features a pointer to QTapReading instead of QSensorReading.
成员函数
[pure virtual]
bool QTapFilter::filter(QTapReading *reading)
Called when reading changes. Returns false to prevent the reading from propagating.
参见 QSensorFilter::filter().