|
| enum | Columns { NameColumn
, ColumnCount
} |
| |
|
| | MimetypeModel (QObject *parent=nullptr) |
| |
| QVariant | data (const QModelIndex &index, int role) const override |
| |
| QMimeType | mimeType (const QModelIndex &) const |
| |
| QModelIndex | indexForMimeType (const QString &name) const |
| |
Definition at line 12 of file mimetypemodel.h.
◆ NameIndexHash
| typedef QHash<QString, QModelIndex> MimetypeModel::NameIndexHash |
|
private |
◆ Columns
| enum MimetypeModel::Columns |
◆ MimetypeModel()
| MimetypeModel::MimetypeModel |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
◆ data()
| QVariant MimetypeModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
|
override |
◆ formatMimeTypeInfo()
| QString MimetypeModel::formatMimeTypeInfo |
( |
const QMimeType & |
t | ) |
|
|
static |
◆ indexForMimeType()
| QModelIndex MimetypeModel::indexForMimeType |
( |
const QString & |
name | ) |
const |
|
inline |
◆ mimeType()
| QMimeType MimetypeModel::mimeType |
( |
const QModelIndex & |
index | ) |
const |
◆ populate()
| void MimetypeModel::populate |
( |
| ) |
|
|
private |
◆ m_nameIndexHash
| NameIndexHash MimetypeModel::m_nameIndexHash |
|
private |
The documentation for this class was generated from the following files: