diff options
Diffstat (limited to 'src/plugins/sensorgestures/qtsensors/qcoversensorgesturerecognizer.h')
-rw-r--r-- | src/plugins/sensorgestures/qtsensors/qcoversensorgesturerecognizer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/sensorgestures/qtsensors/qcoversensorgesturerecognizer.h b/src/plugins/sensorgestures/qtsensors/qcoversensorgesturerecognizer.h index 475ad518..93627448 100644 --- a/src/plugins/sensorgestures/qtsensors/qcoversensorgesturerecognizer.h +++ b/src/plugins/sensorgestures/qtsensors/qcoversensorgesturerecognizer.h @@ -68,20 +68,20 @@ Q_SIGNALS: void cover(); private slots: - void proximityChanged(QIRProximityReading *reading); + void proximityChanged(QProximityReading *reading); void orientationReadingChanged(QOrientationReading *reading); void timeout(); private: QOrientationReading *orientationReading; - qreal proximityReading; + bool proximityReading; QTimer *timer; - bool lastProx; QtSensorGestureSensorHandler *handler; bool active; bool detecting; + qreal lastTs; }; QT_END_NAMESPACE |