From 4efd61c3cf3d25db1c60bf5c842837c5b24a05fa Mon Sep 17 00:00:00 2001 From: Thomas McGuire Date: Thu, 29 Mar 2012 16:13:52 +0200 Subject: Add support for screen overlays / foreign windows We're not the only one creating native windows. When using the multimedia API, the multimedia library creates a video window for video display. Here we need to deal with giving this video window overlay a proper z-order, otherwise it will never get visible. Change-Id: Ibff0382ebee5cda87408b91c8181a4104fc4a1a3 Reviewed-by: Sean Harmer Reviewed-by: Kevin Krammer Reviewed-by: Robin Burchell --- src/plugins/platforms/qnx/qqnxeventthread.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/plugins/platforms/qnx/qqnxeventthread.h') diff --git a/src/plugins/platforms/qnx/qqnxeventthread.h b/src/plugins/platforms/qnx/qqnxeventthread.h index 0bb26c3c06..aa6186aa0d 100644 --- a/src/plugins/platforms/qnx/qqnxeventthread.h +++ b/src/plugins/platforms/qnx/qqnxeventthread.h @@ -48,10 +48,12 @@ QT_BEGIN_NAMESPACE +class QQnxScreenEventHandler; + class QQnxEventThread : public QThread { public: - explicit QQnxEventThread(screen_context_t context); + QQnxEventThread(screen_context_t context, QQnxScreenEventHandler *screenEventHandler); virtual ~QQnxEventThread(); static void injectKeyboardEvent(int flags, int sym, int mod, int scan, int cap); @@ -63,6 +65,7 @@ private: void shutdown(); screen_context_t m_screenContext; + QQnxScreenEventHandler *m_screenEventHandler; bool m_quit; }; -- cgit v1.2.3