Go to the documentation of this file. 1 #ifndef MYTHMIMEDATABASE_H
2 #define MYTHMIMEDATABASE_H
static MythMimeTypes MimeTypesForFileName(const QString &FileName)
Return a vector of mime types that match the given filename.
A wrapper around QMimeDatabase that supports additional mime types.
A device containing images (ie. USB stick, CD, storage group etc)
A private, internal class that holds custom mime types.
std::vector< MythMimeType > MythMimeTypes
static QString SuffixForFileName(const QString &FileName)
Return the preferred suffix for the given filename.
static MythMimeType MimeTypeForName(const QString &Name)
Return a mime type that matches the given name.
MythMimeDatabasePriv * m_priv
static MythMimeTypes AllTypes()
Return a vector containing all of the known types (both Qt and MythTV)
static MythMimeType MimeTypeForFileNameAndData(const QString &FileName, const QByteArray &Data)
Return a mime type for the given FileName and data.