summaryrefslogtreecommitdiffstats
path: root/tools/qml/deviceorientation.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qml/deviceorientation.h')
-rw-r--r--tools/qml/deviceorientation.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/qml/deviceorientation.h b/tools/qml/deviceorientation.h
index d209005..fe73868 100644
--- a/tools/qml/deviceorientation.h
+++ b/tools/qml/deviceorientation.h
@@ -52,7 +52,14 @@ class DeviceOrientation : public QObject
Q_OBJECT
Q_ENUMS(Orientation)
public:
- enum Orientation { UnknownOrientation, Portrait, Landscape };
+ enum Orientation {
+ UnknownOrientation,
+ TopUp,
+ TopDown,
+ LeftUp,
+ RightUp
+ };
+
virtual Orientation orientation() const = 0;
virtual void setOrientation(Orientation) = 0;