summaryrefslogtreecommitdiffstats
path: root/tools/qml/deviceorientation.h
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-06-04 06:58:08 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-06-04 06:58:08 (GMT)
commit65c063a531810f5a21c00a0afb81cdd68d0d6961 (patch)
tree07da5e193045a18bb63d744cf9d32d60e11e59a5 /tools/qml/deviceorientation.h
parent1448e19b3613ab7c5498c17c619586d03ec46d18 (diff)
parentfc017309a7a63a537f496d9c51b3a6390c5f5534 (diff)
downloadQt-65c063a531810f5a21c00a0afb81cdd68d0d6961.zip
Qt-65c063a531810f5a21c00a0afb81cdd68d0d6961.tar.gz
Qt-65c063a531810f5a21c00a0afb81cdd68d0d6961.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: Move QListModelInterface into util. Ensure ParticleMotionGravity always pulls in the right direction. Remove version ifdefs from Particles; only 4.7 is supported. Update docs for the runtime.orientation values Revert to Portrait/Landscape terminology for Orientation enum, with Add more Q_AUTOTEST_EXPORTs Improve input panel handling in declarative demos and examples Always integer align anchor center points Add header and footer to GridView
Diffstat (limited to 'tools/qml/deviceorientation.h')
-rw-r--r--tools/qml/deviceorientation.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/qml/deviceorientation.h b/tools/qml/deviceorientation.h
index fe73868..817bfc8 100644
--- a/tools/qml/deviceorientation.h
+++ b/tools/qml/deviceorientation.h
@@ -54,10 +54,10 @@ class DeviceOrientation : public QObject
public:
enum Orientation {
UnknownOrientation,
- TopUp,
- TopDown,
- LeftUp,
- RightUp
+ Portrait,
+ Landscape,
+ PortraitInverted,
+ LandscapeInverted
};
virtual Orientation orientation() const = 0;