summaryrefslogtreecommitdiffstats
path: root/src/plugins/sensors/blackberry/bbrotationsensor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/sensors/blackberry/bbrotationsensor.h')
-rw-r--r--src/plugins/sensors/blackberry/bbrotationsensor.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/plugins/sensors/blackberry/bbrotationsensor.h b/src/plugins/sensors/blackberry/bbrotationsensor.h
index 96511c4b..6fb7f7a0 100644
--- a/src/plugins/sensors/blackberry/bbrotationsensor.h
+++ b/src/plugins/sensors/blackberry/bbrotationsensor.h
@@ -53,6 +53,8 @@ public:
static QString devicePath();
+ void setGuiHelper(BbGuiHelper *guiHelper) Q_DECL_OVERRIDE;
+
protected:
void additionalDeviceInit() Q_DECL_OVERRIDE;
bool addDefaultRange() Q_DECL_OVERRIDE;
@@ -60,13 +62,10 @@ protected:
bool updateReadingFromEvent(const sensor_event_t &event, QRotationReading *reading) Q_DECL_OVERRIDE;
bool isAutoAxisRemappingEnabled() const;
- bool eventFilter(QObject *object, QEvent *event) Q_DECL_OVERRIDE;
-
-private:
+private slots:
void updateOrientation();
- Qt::ScreenOrientation m_orientation;
- Qt::ScreenOrientation m_nativeOrientation;
+private:
float m_mappingMatrix[4];
};