summaryrefslogtreecommitdiffstats
path: root/src/sensors/qrotationsensor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sensors/qrotationsensor.h')
-rw-r--r--src/sensors/qrotationsensor.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/sensors/qrotationsensor.h b/src/sensors/qrotationsensor.h
index 9e022803..7021f355 100644
--- a/src/sensors/qrotationsensor.h
+++ b/src/sensors/qrotationsensor.h
@@ -60,13 +60,10 @@ class Q_SENSORS_EXPORT QRotationReading : public QSensorReading
DECLARE_READING(QRotationReading)
public:
qreal x() const;
- void setX(qreal x);
-
qreal y() const;
- void setY(qreal y);
-
qreal z() const;
- void setZ(qreal z);
+
+ void setFromEuler(qreal x, qreal y, qreal z);
};
class Q_SENSORS_EXPORT QRotationFilter : public QSensorFilter