summaryrefslogtreecommitdiffstats
path: root/src/sensors/qrotationsensor_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sensors/qrotationsensor_p.h')
-rw-r--r--src/sensors/qrotationsensor_p.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/sensors/qrotationsensor_p.h b/src/sensors/qrotationsensor_p.h
index bf3aef7c..401c2143 100644
--- a/src/sensors/qrotationsensor_p.h
+++ b/src/sensors/qrotationsensor_p.h
@@ -53,6 +53,8 @@
// We mean it.
//
+#include "qsensor_p.h"
+
QT_BEGIN_NAMESPACE
class QRotationReadingPrivate
@@ -70,6 +72,17 @@ public:
qreal z;
};
+class QRotationSensorPrivate : public QSensorPrivate
+{
+public:
+ QRotationSensorPrivate()
+ : hasZ(true)
+ {
+ }
+
+ bool hasZ;
+};
+
QT_END_NAMESPACE
#endif