qt5base-lts/src/plugins
David Faure efbc538587 qwindowsmime.cpp: support dropping multiple mail attachments
Only the data for the first file could be reached with the mimetype
application/x-qt-windows-mime;value="FileContents"

To get the data for the other files, setting the lindex field of
the FORMATETC struct is necessary. Provide support for that by
appending ;index=N to the mimetype string.

The Windows API provides no generic way to find out how many of these
are available (the app has to find out by looking into the FILEGROUPDESCRIPTORW
structure, for this particular use case), so these additional mimetypes
are not listed in QMimeData::formats(). However this patch extends
the documentation to mention the feature.

[ChangeLog][Platform Specific Changes][Windows][QMimeData] Add support
for handling dropping of multiple mail attachments, adding ;index=N to
the mimetype string application/x-qt-windows-mime;value="FileContents"

Task-number: QTBUG-17373
Change-Id: I031e477d2357b4e5135d2dcd3e3cf991025715a5
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
2014-11-13 19:21:06 +01:00
..
bearer Merge remote-tracking branch 'origin/5.4' into dev 2014-10-27 13:00:36 +01:00
generic Clean up tslib plugin 2014-10-16 13:08:06 +02:00
imageformats Removing a few unneeded "? true : false" 2014-10-09 09:43:26 +02:00
platforminputcontexts QTableGenerator: replace a call to a member function with direct element access 2014-10-13 13:50:04 +02:00
platforms qwindowsmime.cpp: support dropping multiple mail attachments 2014-11-13 19:21:06 +01:00
platformthemes Fix native GTK2 dialogs to receive focus 2014-10-06 23:17:11 +02:00
printsupport QPrinter - Fix DuplexMode on all platforms 2014-10-24 21:34:21 +02:00
sqldrivers Update license headers and add new license files 2014-09-24 12:26:19 +02:00
styles BlackBerry 10 specific widget style as a style plugin 2014-11-07 16:35:47 +01:00
plugins.pro BlackBerry 10 specific widget style as a style plugin 2014-11-07 16:35:47 +01:00