diff options
author | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2010-05-07 11:46:23 (GMT) |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2010-05-20 13:22:46 (GMT) |
commit | 59b0bce57a9f8e16c735a99463c208a6c11bb1ba (patch) | |
tree | 67a92930bb653f4f81f0860b62a321a887f61d72 /src/gui/kernel/kernel.pri | |
parent | 2134980e4c480c04852ebeda138bdc656233a8f6 (diff) | |
download | Qt-59b0bce57a9f8e16c735a99463c208a6c11bb1ba.zip Qt-59b0bce57a9f8e16c735a99463c208a6c11bb1ba.tar.gz Qt-59b0bce57a9f8e16c735a99463c208a6c11bb1ba.tar.bz2 |
Cocoa: Add support for native application event filter
Support for adding application wide filters were never
implemented for the cocoa port because of NSApplication
singleton issues. This patch removes that problem by
using introspection if needed. And the patch also makes
qt_cocoaPostMessage more reliable.
Diffstat (limited to 'src/gui/kernel/kernel.pri')
-rw-r--r-- | src/gui/kernel/kernel.pri | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/kernel/kernel.pri b/src/gui/kernel/kernel.pri index 6fd45ad..b6cc2ac 100644 --- a/src/gui/kernel/kernel.pri +++ b/src/gui/kernel/kernel.pri @@ -213,7 +213,8 @@ embedded { qcocoaapplicationdelegate_mac_p.h \ qmacgesturerecognizer_mac_p.h \ qmultitouch_mac_p.h \ - qcocoasharedwindowmethods_mac_p.h + qcocoasharedwindowmethods_mac_p.h \ + qcocoaintrospection_p.h OBJECTIVE_SOURCES += \ kernel/qcursor_mac.mm \ @@ -233,7 +234,8 @@ embedded { kernel/qeventdispatcher_mac.mm \ kernel/qcocoawindowcustomthemeframe_mac.mm \ kernel/qmacgesturerecognizer_mac.mm \ - kernel/qmultitouch_mac.mm + kernel/qmultitouch_mac.mm \ + kernel/qcocoaintrospection_mac.mm HEADERS += \ kernel/qt_cocoa_helpers_mac_p.h \ |