MythTV
master
|
A private, internal class that holds custom mime types. More...
Public Member Functions | |
MythMimeDatabasePriv () | |
const MythMimeTypes & | AllTypes () const |
MythMimeType | MimeTypeForName (const QString &Name) const |
MythMimeTypes | MimeTypesForFileName (const QString &FileName) const |
QString | SuffixForFileName (const QString &FileName) const |
MythMimeType | MimeTypeForFileNameAndData (const QString &FileName, QIODevice *Device) const |
Static Public Member Functions | |
static MythMimeType | MagicSearch (const MythMimeTypes &Types, const QByteArray &Data) |
static MythMimeTypes | ToMythMimeTypes (const QList< QMimeType > &Types) |
Private Types | |
using | MimeDesc = std::tuple< QString, QString, MimeMagic, uint, QStringList > |
Private Attributes | |
MythMimeTypes | m_mimes |
A private, internal class that holds custom mime types.
Definition at line 20 of file mythmimedatabase.cpp.
|
private |
Definition at line 22 of file mythmimedatabase.cpp.
|
inline |
Definition at line 25 of file mythmimedatabase.cpp.
|
inline |
Definition at line 51 of file mythmimedatabase.cpp.
Referenced by MimeTypeForFileNameAndData().
|
inline |
Definition at line 56 of file mythmimedatabase.cpp.
|
inline |
Definition at line 65 of file mythmimedatabase.cpp.
Referenced by MimeTypeForFileNameAndData().
|
inline |
Definition at line 75 of file mythmimedatabase.cpp.
|
inlinestatic |
Definition at line 84 of file mythmimedatabase.cpp.
Referenced by MimeTypeForFileNameAndData().
|
inline |
Definition at line 103 of file mythmimedatabase.cpp.
|
inlinestatic |
Definition at line 130 of file mythmimedatabase.cpp.
Referenced by MythMimeDatabase::AllTypes(), and MythMimeDatabase::MimeTypesForFileName().
|
private |
Definition at line 139 of file mythmimedatabase.cpp.
Referenced by AllTypes(), MimeTypeForName(), MimeTypesForFileName(), MythMimeDatabasePriv(), and SuffixForFileName().