Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
return data;
}
-bool QInternalMimeData::canReadData(const QString &mimeType)
-{
- return imageReadMimeFormats().contains(mimeType);
-}
-
// helper functions for rendering mimedata to the system, this is needed because QMimeData is in core.
QStringList QInternalMimeData::formatsHelper(const QMimeData *data)
{
bool hasFormat(const QString &mimeType) const;
QStringList formats() const;
- static bool canReadData(const QString &mimeType);
-
static QStringList formatsHelper(const QMimeData *data);
static bool hasFormatHelper(const QString &mimeType, const QMimeData *data);