summaryrefslogtreecommitdiffstats
path: root/src/gui/embedded
diff options
context:
space:
mode:
authorJeremy Katz <jeremy.katz@nokia.com>2010-02-10 15:31:13 (GMT)
committerJeremy Katz <jeremy.katz@nokia.com>2010-02-10 15:31:13 (GMT)
commit5dcacb00fd68e6cc2bf3e6a467b603f387cb1a60 (patch)
tree45b73fb93cc61a2c612dfda951babdd9e3d9ab91 /src/gui/embedded
parent7651a4bacf8f34f3700853f147093a073f0472ab (diff)
downloadQt-5dcacb00fd68e6cc2bf3e6a467b603f387cb1a60.zip
Qt-5dcacb00fd68e6cc2bf3e6a467b603f387cb1a60.tar.gz
Qt-5dcacb00fd68e6cc2bf3e6a467b603f387cb1a60.tar.bz2
Move user event handling into QWindowSystemInterface class
This currently includes mouse, wheel, keyboard, enter, leave, geometry, and close events. Windowing system plugins should limit themselves to the QWindowSystemInterface::handle*Event() methods, as the other methods will likely become private.
Diffstat (limited to 'src/gui/embedded')
-rw-r--r--src/gui/embedded/qkbd_qws.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/embedded/qkbd_qws.cpp b/src/gui/embedded/qkbd_qws.cpp
index 97fb7a0..c4dd6bd 100644
--- a/src/gui/embedded/qkbd_qws.cpp
+++ b/src/gui/embedded/qkbd_qws.cpp
@@ -54,7 +54,7 @@
#endif
#ifdef Q_WS_LITE
-#include <private/qapplication_p.h>
+#include <QWindowSystemInterface>
#include <QKeyEvent>
#endif
@@ -367,7 +367,7 @@ void QWSKeyboardHandler::processKeyEvent(int unicode, int keycode, Qt::KeyboardM
QString str;
if (unicode != 0xffff)
str = QString(unicode);
- QApplicationPrivate::handleKeyEvent(0, type, keycode, modifiers, str);
+ QWindowSystemInterface::handleKeyEvent(0, type, keycode, modifiers, str);
#endif
}