summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qabstracteventdispatcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/kernel/qabstracteventdispatcher.cpp')
-rw-r--r--src/corelib/kernel/qabstracteventdispatcher.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/corelib/kernel/qabstracteventdispatcher.cpp b/src/corelib/kernel/qabstracteventdispatcher.cpp
index 40c70f77d8..28ae334f51 100644
--- a/src/corelib/kernel/qabstracteventdispatcher.cpp
+++ b/src/corelib/kernel/qabstracteventdispatcher.cpp
@@ -135,10 +135,7 @@ void QAbstractEventDispatcherPrivate::releaseTimerId(int timerId)
values to control which events should be delivered.
QAbstractEventDispatcher also allows the integration of an
- external event loop with the Qt event loop. For example, the
- \l{Motif Extension}
- includes a reimplementation of QAbstractEventDispatcher that merges Qt and
- Motif events together.
+ external event loop with the Qt event loop.
\sa QEventLoop, QCoreApplication, QThread
*/
@@ -472,9 +469,12 @@ bool QAbstractEventDispatcher::filterNativeEvent(const QByteArray &eventType, vo
}
/*! \fn bool QAbstractEventDispatcher::filterEvent(void *message)
- \deprecated
+ \deprecated
- Simply calls filterNativeEvent() with an empty eventType and \a message.
+ Calls filterNativeEvent() with an empty eventType and \a message.
+ This function returns true as soon as an
+ event filter returns true, and false otherwise to indicate that
+ the processing of the event should continue.
*/
/*! \fn bool QAbstractEventDispatcher::registerEventNotifier(QWinEventNotifier *notifier);
@@ -482,6 +482,8 @@ bool QAbstractEventDispatcher::filterNativeEvent(const QByteArray &eventType, vo
This pure virtual method exists on windows only and has to be reimplemented by a Windows specific
event dispatcher implementation. \a notifier is the QWinEventNotifier instance to be registered.
+ The method should return true if the registration of \a notifier was sucessful, otherwise false.
+
QWinEventNotifier calls this method in it's constructor and there should never be a need to call this
method directly.