MimeDatabasePrivate Class | Extending Qt Creator Manual

Extending Qt Creator Manual | MimeDatabasePrivate

Extending Qt Creator Manual 4.6.0

# MimeDatabasePrivate Class

(Utils::Internal::MimeDatabasePrivate)

- List of all members, including inherited members

## Public Functions

| MimeDatabasePrivate()
| ~MimeDatabasePrivate()
QList<MimeType> | allMimeTypes()
QString | defaultMimeType() const
MimeType | findByData(const QByteArray &data, int *priorityPtr)
bool | inherits(const QString &mime, const QString &parent)
QStringList | mimeTypeForFileName(const QString &fileName, QString *foundSuffix = 0)
MimeType | mimeTypeForFileNameAndData(const QString &fileName, QIODevice *device, int *priorityPtr)
MimeProviderBase * | provider()
void | setProvider(MimeProviderBase *theProvider)

## Static Public Members

MimeDatabasePrivate * | instance()

## Member Function Documentation

### MimeDatabasePrivate::MimeDatabasePrivate()

Default constructs an instance of MimeDatabasePrivate.

### MimeDatabasePrivate::~MimeDatabasePrivate()

Destroys the instance of MimeDatabasePrivate.

### QList<MimeType> MimeDatabasePrivate::allMimeTypes()

### QString MimeDatabasePrivate::defaultMimeType() const

### MimeType MimeDatabasePrivate::findByData(const QByteArray &data, int *priorityPtr)

### bool MimeDatabasePrivate::inherits(const QString &mime, const QString &parent)

### `[static]` MimeDatabasePrivate *MimeDatabasePrivate::instance()

### QStringList MimeDatabasePrivate::mimeTypeForFileName(const QString &fileName, QString *foundSuffix = 0)

### MimeType MimeDatabasePrivate::mimeTypeForFileNameAndData(const QString &fileName, QIODevice *device, int *priorityPtr)

### MimeProviderBase *MimeDatabasePrivate::provider()

See also setProvider().

### void MimeDatabasePrivate::setProvider(MimeProviderBase *theProvider)

See also provider().