path: root/src/corelib/kernel/qabstracteventdispatcher.cpp
diff options
authorFrederik Gladhorn <>2012-08-15 11:45:57 +0200
committerQt by Nokia <>2012-08-15 15:29:40 +0200
commitdd54ba933f02356eeaff860b06ca93de7fc56df8 (patch)
tree8c9233d05004aaba8cf793b19070ff06c97d07e9 /src/corelib/kernel/qabstracteventdispatcher.cpp
parent732fc614dab0434b0a977889f326ea0910901b94 (diff)
Add parameter docs for QAbstractEventDispatcher::filterNativeEvent.
Change-Id: If028d2560d7bb18c9dd3e0f5fa6677c42fbf7d4b Reviewed-by: Gabriel de Dietrich <>
Diffstat (limited to 'src/corelib/kernel/qabstracteventdispatcher.cpp')
1 files changed, 4 insertions, 2 deletions
diff --git a/src/corelib/kernel/qabstracteventdispatcher.cpp b/src/corelib/kernel/qabstracteventdispatcher.cpp
index b018f545be..9cda3fdf6b 100644
--- a/src/corelib/kernel/qabstracteventdispatcher.cpp
+++ b/src/corelib/kernel/qabstracteventdispatcher.cpp
@@ -443,12 +443,14 @@ void QAbstractEventDispatcher::removeNativeEventFilter(QAbstractNativeEventFilte
Subclasses of QAbstractEventDispatcher \e must call this function
for \e all messages received from the system to ensure
compatibility with any extensions that may be used in the
- application.
+ application. The type of event \a eventType is specific to the platform
+ plugin chosen at run-time, and can be used to cast message to the right type.
+ The result pointer is only used on Windows, and corresponds to the LRESULT pointer.
Note that the type of \a message is platform dependent. See
QAbstractNativeEventFilter for details.
- \sa installNativeEventFilter()
+ \sa installNativeEventFilter(), QAbstractNativeEventFilter::nativeEventFilter()
\since 5.0
bool QAbstractEventDispatcher::filterNativeEvent(const QByteArray &eventType, void *message, long *result)