#include <libmythbase/http/mythmimetype.h>
Definition at line 16 of file mythmimetype.h.
◆ MythMimeType() [1/3]
| MythMimeType::MythMimeType |
( |
| ) |
|
|
default |
◆ MythMimeType() [2/3]
| MythMimeType::MythMimeType |
( |
const QMimeType & |
MimeType | ) |
|
|
protected |
◆ MythMimeType() [3/3]
| MythMimeType::MythMimeType |
( |
QString |
Name, |
|
|
QString |
Suffix, |
|
|
MimeMagic |
Magic, |
|
|
uint |
Weight, |
|
|
QStringList |
Inherits |
|
) |
| |
|
protected |
◆ Aliases()
| QStringList MythMimeType::Aliases |
( |
| ) |
const |
◆ Inherits()
| bool MythMimeType::Inherits |
( |
const QString & |
Name | ) |
const |
◆ IsValid()
| bool MythMimeType::IsValid |
( |
| ) |
const |
◆ Name()
| QString MythMimeType::Name |
( |
| ) |
const |
◆ operator==()
| bool MythMimeType::operator== |
( |
const MythMimeType & |
Other | ) |
const |
◆ SetAlias()
| void MythMimeType::SetAlias |
( |
const QString & |
Name | ) |
|
◆ Suffix()
| QString MythMimeType::Suffix |
( |
| ) |
const |
Return the preferred filename suffix used by this type.
- Note
- For consistency with QMimeType this returns the suffix alone (e.g. 'png') but internally it is is stored as '.png' to simplify matching.
-
We always use a lowercase suffix.
Definition at line 51 of file mythmimetype.cpp.
◆ MythMimeDatabase
◆ MythMimeDatabasePriv
◆ m_alias
| QString MythMimeType::m_alias |
|
protected |
◆ m_inherits
| QStringList MythMimeType::m_inherits |
|
protected |
◆ m_magic
| MimeMagic MythMimeType::m_magic { std::monostate() } |
|
protected |
◆ m_mime
| QMimeType MythMimeType::m_mime |
|
protected |
◆ m_name
| QString MythMimeType::m_name |
|
protected |
◆ m_qtType
| bool MythMimeType::m_qtType { false } |
|
protected |
◆ m_suffix
| QString MythMimeType::m_suffix |
|
protected |
◆ m_valid
| bool MythMimeType::m_valid { false } |
|
protected |
◆ m_weight
| uint MythMimeType::m_weight { 0 } |
|
protected |
The documentation for this class was generated from the following files: