static QStringList MimeTypeForFileName(const QString &FileName)
Return a list of possible MIME types for the file named Name.
static QString MimeTypeForFileNameAndData(const QString &FileName, QIODevice *Device)
Return a MIME type for the media described by FileName and Device.
static QString MimeTypeForData(const QByteArray &Data)
Return a MIME type for the media described by Data.
static QString MimeTypeForUrl(const QUrl &Url)
Return a MIME type for the media pointed to by Url.
static QStringList ExtensionsForType(const QString &Type)
Returns a list of known file extensions for a given top level MIME type.
A wrapper around QMimeDatabase().
static QString MimeTypeForName(const QString &Name)
Return a MIME type for the file named Name.