diff options
author | David Faure <faure@kde.org> | 2012-07-20 20:52:44 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-24 00:08:28 +0200 |
commit | 42c86bba9d46d8d16ffd6c90ec34857eccc23df4 (patch) | |
tree | 703d79deb66054ed88613474f8d87e9f742f65dd /src/corelib/kernel/qcoreapplication.h | |
parent | 607c37befb145c3aa1b9d29365ac682a2bd3a55f (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.h')
-rw-r--r-- | src/corelib/kernel/qcoreapplication.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/corelib/kernel/qcoreapplication.h b/src/corelib/kernel/qcoreapplication.h index 549b6f135d..b791c9168a 100644 --- a/src/corelib/kernel/qcoreapplication.h +++ b/src/corelib/kernel/qcoreapplication.h @@ -152,17 +152,12 @@ public: static void flush(); -#if defined(Q_OS_WIN) - virtual bool winEventFilter(MSG *message, long *result); -#endif - #if defined(Q_OS_UNIX) static void watchUnixSignal(int signal, bool watch); #endif void installNativeEventFilter(QAbstractNativeEventFilter *filterObj); void removeNativeEventFilter(QAbstractNativeEventFilter *filterObj); - bool filterNativeEvent(const QByteArray &eventType, void *message, long *result); static bool isQuitLockEnabled(); static void setQuitLockEnabled(bool enabled); |