summaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@nokia.com>2009-11-05 17:02:27 +0100
committerTor Arne Vestbø <tor.arne.vestbo@nokia.com>2009-11-05 17:16:54 +0100
commit7efc64e6a8dbf670bbc46243664d44df7acc5892 (patch)
treec2246eae9326f307d570687f78d769e0a22d54b6 /dist
parent1e964556d61b2f4c7a8a0d251940e17c22790980 (diff)
Add support for GetURL events on Mac OS X
GetURL events are delivered by Launch Services to the application if the application is registered as the default handler for the given protocol, and the user for example issues 'open http://foo.com/' in the console or clicks a link in another application. The GetURL event is converted to a QFileOpenEvent, which now has both a QUrl constructor and a url() method. These two new methods work in sync with the file() method, so a QFileOpenEvent constructed from a QUrl will return a valid file name from file() if the URL was a local file. The boolean argument to AEInstallEventHandler decides whether the handler is to be added to the system event dispatch table or the application's event dispatch table. Previously we added it to the system table, but this did not work for the GetURL event. We now use the application event table, which works for all three of the events we register on Carbon. Reviewed-by: Prasanth Ullattil <prasanth.ullattil@nokia.com> Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
Diffstat (limited to 'dist')
-rw-r--r--dist/changes-4.6.02
1 files changed, 2 insertions, 0 deletions
diff --git a/dist/changes-4.6.0 b/dist/changes-4.6.0
index df7a83508a..b66a088568 100644
--- a/dist/changes-4.6.0
+++ b/dist/changes-4.6.0
@@ -172,6 +172,8 @@ QtGui
- [MR#1111] Emit workAreaResized when _NET_WORKAREA is changed on X11.
+ - Add support for GetURL events on Mac OS X
+
****************************************************************************
* Tools *
****************************************************************************