diff options
author | Lasse Holmstedt <lasse.holmstedt@nokia.com> | 2011-07-04 12:08:38 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-07-04 14:32:41 +0200 |
commit | a77ce3301c2035a2aaa3c14e051dceb46ca27924 (patch) | |
tree | 76f0346ee9b2e0978beff9886a0dd0595d8e5eca /src/corelib/kernel/qcoreevent.h | |
parent | 85869920bb9a4ee45cf4a89e74b1bd3d4ce67eaa (diff) |
Add QScreenOrientationChangeEvent and rotation support to wayland client
Qt Compositor propagates screen orientation changes to wayland, which
are then picked up by the wayland client. The wayland client then sends
a QScreenOrientationChangeEvent to QApplication, which can handle the
orientation change.
Change-Id: Ieb2225e52b7e3c318648f2cb21dab7937f301505
Reviewed-on: http://codereview.qt.nokia.com/1063
Reviewed-by: Matthias Ettrich
Diffstat (limited to 'src/corelib/kernel/qcoreevent.h')
-rw-r--r-- | src/corelib/kernel/qcoreevent.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/kernel/qcoreevent.h b/src/corelib/kernel/qcoreevent.h index 302d525042..01a5356f73 100644 --- a/src/corelib/kernel/qcoreevent.h +++ b/src/corelib/kernel/qcoreevent.h @@ -273,6 +273,8 @@ public: ScrollPrepare = 204, Scroll = 205, + OrientationChange = 206, // Screen orientation has changed + // 512 reserved for Qt Jambi's MetaCall event // 513 reserved for Qt Jambi's DeleteOnMainThread event |