Qt 4.8
|
Public Functions | |
bool | canConvertFromMime (const FORMATETC &formatetc, const QMimeData *mimeData) const |
Returns true if the converter can convert from the mimeData to the format specified in formatetc. More... | |
bool | canConvertToMime (const QString &mimeType, IDataObject *pDataObj) const |
Returns true if the converter can convert to the mimeType from the available formats in pDataObj. More... | |
bool | convertFromMime (const FORMATETC &formatetc, const QMimeData *mimeData, STGMEDIUM *pmedium) const |
Convert the mimeData to the format specified in formatetc. More... | |
QVariant | convertToMime (const QString &mime, LPDATAOBJECT pDataObj, QVariant::Type preferredType) const |
QVector< FORMATETC > | formatsForMime (const QString &mimeType, const QMimeData *mimeData) const |
Returns a QVector of FORMATETC structures representing the different windows clipboard formats that can be provided for the mimeType from the mimeData. More... | |
QString | mimeForFormat (const FORMATETC &formatetc) const |
Returns the mime type that will be created form the format specified in formatetc, or an empty string if this converter does not support formatetc. More... | |
Public Functions inherited from QWindowsMime | |
virtual QVariant | convertToMime (const QString &mimeType, IDataObject *pDataObj, QVariant::Type preferredType) const =0 |
Returns a QVariant containing the converted data for mimeType from pDataObj. More... | |
QWindowsMime () | |
Constructs a new conversion object, adding it to the globally accessed list of available converters. More... | |
virtual | ~QWindowsMime () |
Destroys a conversion object, removing it from the global list of available converters. More... | |
Additional Inherited Members | |
Static Public Functions inherited from QWindowsMime | |
static int | registerMimeType (const QString &mime) |
Registers the MIME type mime, and returns an ID number identifying the format on Windows. More... | |
Definition at line 425 of file qmime_win.cpp.
|
virtual |
Returns true if the converter can convert from the mimeData to the format specified in formatetc.
All subclasses must reimplement this pure virtual function.
Implements QWindowsMime.
Definition at line 436 of file qmime_win.cpp.
|
virtual |
Returns true if the converter can convert to the mimeType from the available formats in pDataObj.
All subclasses must reimplement this pure virtual function.
Implements QWindowsMime.
Definition at line 518 of file qmime_win.cpp.
|
virtual |
Convert the mimeData to the format specified in formatetc.
The converted data should then be placed in pmedium structure.
Return true if the conversion was successful.
All subclasses must reimplement this pure virtual function.
Implements QWindowsMime.
Definition at line 447 of file qmime_win.cpp.
QVariant QWindowsMimeText::convertToMime | ( | const QString & | mime, |
LPDATAOBJECT | pDataObj, | ||
QVariant::Type | preferredType | ||
) | const |
Definition at line 544 of file qmime_win.cpp.
|
virtual |
Returns a QVector of FORMATETC structures representing the different windows clipboard formats that can be provided for the mimeType from the mimeData.
All subclasses must reimplement this pure virtual function.
Implements QWindowsMime.
Definition at line 534 of file qmime_win.cpp.
Returns the mime type that will be created form the format specified in formatetc, or an empty string if this converter does not support formatetc.
All subclasses must reimplement this pure virtual function.
Implements QWindowsMime.
Definition at line 525 of file qmime_win.cpp.