Fix references to platform-specific handlers in QMimeData documentation.

Task-number: QTBUG-39558
Task-number: QTBUG-39559
Change-Id: I2634c5ac16f19251628228c9d60011a355846a79
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
Friedemann Kleint 2014-06-17 10:01:59 +02:00
parent 20144165c8
commit a8a6728a3f
2 changed files with 7 additions and 5 deletions

View File

@ -294,7 +294,7 @@ QVariant QMimeDataPrivate::retrieveTypedData(const QString &format, QVariant::Ty
data is encoded.
On Windows, the MIME format does not always map directly to the
clipboard formats. Qt provides QWindowsMime to map clipboard
clipboard formats. Qt provides QWinMime to map clipboard
formats to open-standard MIME formats. Similarly, the
QMacPasteboardMime maps MIME to Mac flavors.

View File

@ -399,13 +399,15 @@
On X11, the public \l{http://www.newplanetsoftware.com/xdnd/}{XDND
protocol} is used, while on Windows Qt uses the OLE standard, and
Qt for Mac OS X uses the Cocoa Drag Manager. On X11, XDND uses MIME,
Qt for OS X uses the Cocoa Drag Manager. On X11, XDND uses MIME,
so no translation is necessary. The Qt API is the same regardless of
the platform. On Windows, MIME-aware applications can communicate by
using clipboard format names that are MIME types. Already some
Windows applications use MIME naming conventions for their
clipboard formats. Internally, Qt uses QWindowsMime and
QMacPasteboardMime for translating proprietary clipboard formats
to and from MIME types.
clipboard formats.
Custom classes for translating proprietary clipboard formats can be
registered by reimplementing QWinMime on Windows or
QMacPasteboardMime on OS X.
*/