summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qapplication_p.h
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2010-07-20 14:38:12 +0200
committerJørgen Lind <jorgen.lind@nokia.com>2010-07-21 08:38:10 +0200
commitbc786ded04aa316f99cf9ac4cf8b714ee46575b5 (patch)
treed7bfc3959b767428da8e69d683cdf81e1be616ea /src/gui/kernel/qapplication_p.h
parenta7182f757e5414d7baf21fdc098f3f6649e6a1d6 (diff)
Made the rest of QWindowSystemInterface callback functions thread safe
and cleaned up the headerfile
Diffstat (limited to 'src/gui/kernel/qapplication_p.h')
-rw-r--r--src/gui/kernel/qapplication_p.h29
1 files changed, 19 insertions, 10 deletions
diff --git a/src/gui/kernel/qapplication_p.h b/src/gui/kernel/qapplication_p.h
index 68ec648cbd..0602d825af 100644
--- a/src/gui/kernel/qapplication_p.h
+++ b/src/gui/kernel/qapplication_p.h
@@ -78,6 +78,7 @@
#endif
#ifdef Q_WS_QPA
#include <QWindowSystemInterface>
+#include "qwindowsysteminterface_qpa_p.h"
#include "QtGui/qplatformintegration_qpa.h"
#endif
@@ -490,19 +491,27 @@ public:
#endif
#ifdef Q_WS_QPA
- static void processMouseEvent(QWindowSystemInterface::MouseEvent *e);
- static void processKeyEvent(QWindowSystemInterface::KeyEvent *e);
- static void processWheelEvent(QWindowSystemInterface::WheelEvent *e);
- static void processTouchEvent(QWindowSystemInterface::TouchEvent *e);
+ static void processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent *e);
+ static void processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent *e);
+ static void processWheelEvent(QWindowSystemInterfacePrivate::WheelEvent *e);
+ static void processTouchEvent(QWindowSystemInterfacePrivate::TouchEvent *e);
- static void processCloseEvent(QWidget *tlw);
- static void processGeometryChange(QWidget *tlw, const QRect &newRect);
+ static void processCloseEvent(QWindowSystemInterfacePrivate::CloseEvent *e);
- static void processUserEvent(QWindowSystemInterface::UserEvent *e);
+ static void processMoveEvent(QWindowSystemInterfacePrivate::MoveEvent *e);
+ static void processResizeEvent(QWindowSystemInterfacePrivate::ResizeEvent *e);
- static void reportScreenCount(int count);
- static void reportGeometryChange(int screenIndex);
- static void reportAvailableGeometryChange(int screenIndex);
+ static void processEnterEvent(QWindowSystemInterfacePrivate::EnterEvent *e);
+ static void processLeaveEvent(QWindowSystemInterfacePrivate::LeaveEvent *e);
+
+ static void processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent *e);
+
+// static void reportScreenCount(int count);
+ static void reportScreenCount(QWindowSystemInterfacePrivate::ScreenCountEvent *e);
+// static void reportGeometryChange(int screenIndex);
+ static void reportGeometryChange(QWindowSystemInterfacePrivate::ScreenGeometryEvent *e);
+// static void reportAvailableGeometryChange(int screenIndex);
+ static void reportAvailableGeometryChange(QWindowSystemInterfacePrivate::ScreenAvailableGeometryEvent *e);
#endif