[Qt4-preview-feedback] Mac OS X drag and drop from Mail
Richard
richardmg at trolltech.com
Tue Mar 3 13:26:12 CET 2009
On Mac, applications use UTI rather than MIME to describe clipboard
(pasteboard) data. Qt does the translation between these for you in
many cases, but apparently not for the "public.url" UTI. And this is
the UTI that Mail uses.
So you will need to implement support for "public.url" yourselves by
subclassing QMacPasteboardMime (http://doc.qtsoftware.com/4.5/qmacpasteboardmime.html
).
-Richard
(NB: I also schedule a request for supporting "public.url" in a future
release!)
Den Mar 3, 2009 kl. 12:11 AM skrev Peter Ware:
> Qt 4.5.0-rc1, Mac OS X (10.5.6), Intel
>
> Dragging an email message from Mail.app doesn't give any Mime data
> (i.e.
> QMimeData.formats() returns an empty list). Is there any way to get
> access to the data?
>
> --pete
> _______________________________________________
> Qt4-preview-feedback mailing list
> Qt4-preview-feedback at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
More information about the Qt4-feedback
mailing list