From 1ca05bb0c174d505469ac647818afaf537b41f43 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Wed, 18 Jan 2012 15:16:09 +0100 Subject: Add support for platform plugin specific event filters. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The setEventFilter on the platform native interface allows subscribing to events on the backend by event name. Change-Id: Ib10077fbc69f0207edbae1177e7bbd18c8d0f9ae Reviewed-by: Jørgen Lind Reviewed-by: Michalina Ziemba --- src/plugins/platforms/xcb/qxcbintegration.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/platforms/xcb/qxcbintegration.h') diff --git a/src/plugins/platforms/xcb/qxcbintegration.h b/src/plugins/platforms/xcb/qxcbintegration.h index 8a3926dbfb..2bb5f1e65e 100644 --- a/src/plugins/platforms/xcb/qxcbintegration.h +++ b/src/plugins/platforms/xcb/qxcbintegration.h @@ -49,6 +49,7 @@ QT_BEGIN_NAMESPACE class QXcbConnection; class QAbstractEventDispatcher; +class QXcbNativeInterface; class QXcbIntegration : public QPlatformIntegration { @@ -80,7 +81,7 @@ private: QList m_connections; QScopedPointer m_fontDatabase; - QScopedPointer m_nativeInterface; + QScopedPointer m_nativeInterface; QScopedPointer m_inputContext; QAbstractEventDispatcher *m_eventDispatcher; -- cgit v1.2.3