From 870f19f44b1eb2b93c7151dd48b8d9cd471acae8 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 27 Jan 2012 14:09:36 +0100 Subject: Add native event filters to Windows, forward to Widgets. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use prototypically for qwizard_win.cpp. Change-Id: I075e81ae1bc3d62d9f27e51c73c800ffd71cbcd6 Reviewed-by: Samuel Rødal --- src/gui/kernel/qwindowsysteminterface_qpa.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/kernel/qwindowsysteminterface_qpa.h') diff --git a/src/gui/kernel/qwindowsysteminterface_qpa.h b/src/gui/kernel/qwindowsysteminterface_qpa.h index 66d55c9884..b99363eda7 100644 --- a/src/gui/kernel/qwindowsysteminterface_qpa.h +++ b/src/gui/kernel/qwindowsysteminterface_qpa.h @@ -120,6 +120,8 @@ public: static Qt::DropAction handleDrag(QWindow *w, QMimeData *dropData, const QPoint &p); static Qt::DropAction handleDrop(QWindow *w, QMimeData *dropData, const QPoint &p); + static bool handleNativeEvent(QWindow *window, const QByteArray &eventType, void *message, long *result); + // Changes to the screen static void handleScreenOrientationChange(QScreen *screen, Qt::ScreenOrientation newOrientation); static void handleScreenGeometryChange(QScreen *screen, const QRect &newGeometry); -- cgit v1.2.3