summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorBernd Weimer <bweimer@rim.com>2012-11-22 15:45:42 (GMT)
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-23 09:20:20 (GMT)
commit467188858109129886fc77db7c0a53f9fcbbac9e (patch)
tree457147e7c3dc40e22680bfba97cbd27ab70859d9 /src/corelib
parent9d8980deec64c0ffebc8bd9b8504d0406b11600b (diff)
downloadQt-467188858109129886fc77db7c0a53f9fcbbac9e.zip
Qt-467188858109129886fc77db7c0a53f9fcbbac9e.tar.gz
Qt-467188858109129886fc77db7c0a53f9fcbbac9e.tar.bz2
BlackBerry: Removed filtering of window system events
Only one event type can be passed to the event filter in Qt4. For the BlackBerry platform this will be BPS events. This should be acceptable, as there isn't any documentation stating that it should be window system events for QPA ports. In Qt5 the implementation is different (it is possible to pass the event type along with the event itself). Change-Id: I95550cec8a04a4994479904bc68544742a458aa9 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/kernel/qabstracteventdispatcher.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/corelib/kernel/qabstracteventdispatcher.cpp b/src/corelib/kernel/qabstracteventdispatcher.cpp
index 9ede350..abc362b 100644
--- a/src/corelib/kernel/qabstracteventdispatcher.cpp
+++ b/src/corelib/kernel/qabstracteventdispatcher.cpp
@@ -463,8 +463,8 @@ void QAbstractEventDispatcher::closingDown()
\snippet doc/src/snippets/code/src_corelib_kernel_qabstracteventdispatcher.cpp 0
Note that the type of the \a message is platform dependent. The
- following table shows the \a {message}'s type on Windows, Mac, and
- X11. You can do a static cast to these types.
+ following table shows the \a {message}'s type on Windows, Mac, X11
+ and BlackBerry. You can do a static cast to these types.
\table
\header
@@ -479,6 +479,9 @@ void QAbstractEventDispatcher::closingDown()
\row
\o Mac
\o NSEvent
+ \row
+ \o BlackBerry
+ \o bps_event_t
\endtable