summaryrefslogtreecommitdiffstats
path: root/src/plugins/sensorgestures/qtsensors/qslamgesturerecognizer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/sensorgestures/qtsensors/qslamgesturerecognizer.h')
-rw-r--r--src/plugins/sensorgestures/qtsensors/qslamgesturerecognizer.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/sensorgestures/qtsensors/qslamgesturerecognizer.h b/src/plugins/sensorgestures/qtsensors/qslamgesturerecognizer.h
index 38777b8c..e5f71d62 100644
--- a/src/plugins/sensorgestures/qtsensors/qslamgesturerecognizer.h
+++ b/src/plugins/sensorgestures/qtsensors/qslamgesturerecognizer.h
@@ -67,12 +67,14 @@ Q_SIGNALS:
void slam();
private slots:
- void accelChanged();
+ void accelChanged(QAccelerometerReading *reading);
+ void orientationReadingChanged(QOrientationReading *reading);
void timeout();
+
private:
QAccelerometer *accel;
- QOrientationSensor *orientation;
+ QOrientationReading *orientationReading;
QTimer *timer;
int accelRange;
bool active;