summaryrefslogtreecommitdiffstats
path: root/src/sensors/qorientationsensor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sensors/qorientationsensor.h')
-rw-r--r--src/sensors/qorientationsensor.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sensors/qorientationsensor.h b/src/sensors/qorientationsensor.h
index 1a54d800..2becf8f0 100644
--- a/src/sensors/qorientationsensor.h
+++ b/src/sensors/qorientationsensor.h
@@ -49,7 +49,6 @@ class QOrientationReadingPrivate;
class Q_SENSORS_EXPORT QOrientationReading : public QSensorReading
{
Q_OBJECT
- Q_ENUMS(Orientation)
Q_PROPERTY(Orientation orientation READ orientation)
DECLARE_READING(QOrientationReading)
public:
@@ -62,6 +61,7 @@ public:
FaceUp,
FaceDown
};
+ Q_ENUM(Orientation)
Orientation orientation() const;
void setOrientation(Orientation orientation);
@@ -91,4 +91,3 @@ private:
QT_END_NAMESPACE
#endif
-