QLightFilter

Since: 1.2

#include <QtSensors/QLightFilter>

QtSensors

The QLightFilter class is a convenience wrapper around QSensorFilter.

The only difference is that the filter() method features a pointer to QLightReading instead of QSensorReading


Overview

Inheritance

QSensorFilter
QLightFilter

Protected Attributes Index

Only has inherited protected attributes

QSensor *m_sensorInherited

Public Functions Index

boolfilter (QLightReading *reading)=0

Protected Functions Index

Only has inherited protected functions

QSensorFilter ()Inherited
virtual voidsetSensor (QSensor *sensor)Inherited

Protected Attributes

(Only has inherited protected attributes)

QSensor * m_sensor ()Inherited

Public Functions

bool filter (

Called when reading changes.

Returns false to prevent the reading from propagating.

Since:

1.2

Protected Functions

(Only has inherited protected functions)

QSensorFilter ()Inherited

virtual void setSensor (Inherited

Last modified: 2014-03-13

comments powered by Disqus