summaryrefslogtreecommitdiffstats
path: root/src/plugins/sensorgestures/qtsensors/qwhipsensorgesturerecognizer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/sensorgestures/qtsensors/qwhipsensorgesturerecognizer.h')
-rw-r--r--src/plugins/sensorgestures/qtsensors/qwhipsensorgesturerecognizer.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/sensorgestures/qtsensors/qwhipsensorgesturerecognizer.h b/src/plugins/sensorgestures/qtsensors/qwhipsensorgesturerecognizer.h
index 234a69a7..0b27efcf 100644
--- a/src/plugins/sensorgestures/qtsensors/qwhipsensorgesturerecognizer.h
+++ b/src/plugins/sensorgestures/qtsensors/qwhipsensorgesturerecognizer.h
@@ -68,14 +68,11 @@ Q_SIGNALS:
private slots:
void accelChanged(QAccelerometerReading *reading);
- void orientationReadingChanged(QOrientationReading *reading);
void timeout();
private:
- QOrientationReading *orientationReading;
QTimer *timer;
int accelRange;
- bool whipIt;
bool wasNegative;
qreal lastX;
qreal detectedX;
@@ -84,6 +81,8 @@ private:
qreal accelX;
qreal roll;
+ bool detecting;
+ QList<qreal> zList;
};