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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/qml/deviceorientation.h b/tools/qml/deviceorientation.h
index c8125cd..d209005 100644
--- a/tools/qml/deviceorientation.h
+++ b/tools/qml/deviceorientation.h
@@ -50,6 +50,7 @@ class DeviceOrientationPrivate;
class DeviceOrientation : public QObject
{
Q_OBJECT
+ Q_ENUMS(Orientation)
public:
enum Orientation { UnknownOrientation, Portrait, Landscape };
virtual Orientation orientation() const = 0;