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... | |
QWindowsMimeURI () | |
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... | |
Properties | |
int | CF_INETURL |
int | CF_INETURL_W |
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 580 of file qmime_win.cpp.
QWindowsMimeURI::QWindowsMimeURI | ( | ) |
Definition at line 595 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 601 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 668 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 613 of file qmime_win.cpp.
QVariant QWindowsMimeURI::convertToMime | ( | const QString & | mime, |
LPDATAOBJECT | pDataObj, | ||
QVariant::Type | preferredType | ||
) | const |
Definition at line 696 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 682 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 674 of file qmime_win.cpp.
|
private |
Definition at line 592 of file qmime_win.cpp.
|
private |
Definition at line 591 of file qmime_win.cpp.