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, IDataObject *pDataObj, QVariant::Type preferredType) const |
Returns a QVariant containing the converted data for mimeType from pDataObj. More... | |
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... | |
QLastResortMimes () | |
Public Functions inherited from QWindowsMime | |
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 | |
QMap< int, QString > | formats |
Static Private Attributes | |
static QStringList | excludeList |
static QStringList | ianaTypes |
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 1157 of file qmime_win.cpp.
QLastResortMimes::QLastResortMimes | ( | ) |
Definition at line 1181 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 1207 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 1263 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 1222 of file qmime_win.cpp.
|
virtual |
Returns a QVariant containing the converted data for mimeType from pDataObj.
If possible the QVariant should be of the preferredType to avoid needless conversions.
All subclasses must reimplement this pure virtual function.
Implements QWindowsMime.
Definition at line 1279 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 1235 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 1301 of file qmime_win.cpp.
|
staticprivate |
Definition at line 1175 of file qmime_win.cpp.
Definition at line 1173 of file qmime_win.cpp.
Referenced by formatsForMime().
|
staticprivate |
Definition at line 1174 of file qmime_win.cpp.