diff options
author | Geir Vattekar <geir.vattekar@nokia.com> | 2010-06-17 07:11:18 (GMT) |
---|---|---|
committer | Geir Vattekar <geir.vattekar@nokia.com> | 2010-06-17 07:11:18 (GMT) |
commit | 594900e68f8e264facbe8c75eaf2b857240bc072 (patch) | |
tree | cf90439e697acff3d61561b0310269505ae1da05 /src/corelib/kernel | |
parent | ac3c3b3a19207328ffbcbdada10ef61291caba15 (diff) | |
download | Qt-594900e68f8e264facbe8c75eaf2b857240bc072.zip Qt-594900e68f8e264facbe8c75eaf2b857240bc072.tar.gz Qt-594900e68f8e264facbe8c75eaf2b857240bc072.tar.bz2 |
Doc: Specified QAbstractEventDispatcher::filterEvent()'s argument types.
Task-number: QTBUG-10904
Reviewed-by: Morten Engvoldsen
Diffstat (limited to 'src/corelib/kernel')
-rw-r--r-- | src/corelib/kernel/qabstracteventdispatcher.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/corelib/kernel/qabstracteventdispatcher.cpp b/src/corelib/kernel/qabstracteventdispatcher.cpp index ee3c4f2..bcf4477 100644 --- a/src/corelib/kernel/qabstracteventdispatcher.cpp +++ b/src/corelib/kernel/qabstracteventdispatcher.cpp @@ -393,6 +393,27 @@ 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. + + \table + \header + \o Platform + \o type + \row + \o Windows + \o MSG + \row + \o X11 + \o XEvent + \row + \o Mac + \o NSEvent + \endtable + + + \sa setEventFilter(), filterEvent() */ @@ -434,6 +455,9 @@ QAbstractEventDispatcher::EventFilter QAbstractEventDispatcher::setEventFilter(E compatibility with any extensions that may be used in the application. + Note that the type of \a message is platform dependent. See + QAbstractEventDispatcher::EventFilter for details. + \sa setEventFilter() */ bool QAbstractEventDispatcher::filterEvent(void *message) |