summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qcoreapplication_win.cpp
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2012-07-20 20:52:44 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-24 00:08:28 +0200
commit42c86bba9d46d8d16ffd6c90ec34857eccc23df4 (patch)
tree703d79deb66054ed88613474f8d87e9f742f65dd /src/corelib/kernel/qcoreapplication_win.cpp
parent607c37befb145c3aa1b9d29365ac682a2bd3a55f (diff)
Remove winEventFilter, replaced with installNativeEventFilter.
No reason to keep a virtual method for Windows when all other similar methods (macEvent and x11Event) have been removed, and when installNativeEventFilter provides a much nicer solution (no need to derive from QApplication). Change-Id: Ia2a7960e320fcbd04cef91f467900861dbb377c1 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/corelib/kernel/qcoreapplication_win.cpp')
-rw-r--r--src/corelib/kernel/qcoreapplication_win.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/corelib/kernel/qcoreapplication_win.cpp b/src/corelib/kernel/qcoreapplication_win.cpp
index e42411917f..bba27272f9 100644
--- a/src/corelib/kernel/qcoreapplication_win.cpp
+++ b/src/corelib/kernel/qcoreapplication_win.cpp
@@ -157,21 +157,6 @@ void qWinMain(HINSTANCE instance, HINSTANCE prevInstance, LPSTR cmdParam,
Q_UNUSED(prevInstance);
}
-/*!
- The message procedure calls this function for every message
- received. Reimplement this function if you want to process window
- messages \a msg that are not processed by Qt. If you don't want
- the event to be processed by Qt, then return true and set \a result
- to the value that the window procedure should return. Otherwise
- return false.
-*/
-bool QCoreApplication::winEventFilter(MSG *msg, long *result) // Windows event filter
-{
- Q_UNUSED(msg);
- Q_UNUSED(result);
- return false;
-}
-
void QCoreApplicationPrivate::removePostedTimerEvent(QObject *object, int timerId)
{
QThreadData *data = object->d_func()->threadData;