summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/corelib/kernel/qabstractnativeeventfilter.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/kernel/qabstractnativeeventfilter.cpp b/src/corelib/kernel/qabstractnativeeventfilter.cpp
index eceeb06297..62648440ce 100644
--- a/src/corelib/kernel/qabstractnativeeventfilter.cpp
+++ b/src/corelib/kernel/qabstractnativeeventfilter.cpp
@@ -101,6 +101,10 @@ QAbstractNativeEventFilter::~QAbstractNativeEventFilter()
On Blackberry (not plain QNX) \a eventType is set to "bps_event_t", and the \a message can be casted
to a bps_event_t pointer.
+ In your reimplementation of this function, if you want to filter
+ the \a message out, i.e. stop it being handled further, return
+ true; otherwise return false.
+
Example:
\snippet code/src_corelib_kernel_qabstractnativeeventfilter.cpp 0
*/