Extending Qt Creator Manual | MimeDatabasePrivate

Extending Qt Creator Manual 4.7.0

# MimeDatabasePrivate Class

(Utils::Internal::MimeDatabasePrivate)

- List of all members, including inherited members

## Public Functions

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

## Static Public Members

Utils::Internal::MimeDatabasePrivate * | instance()

## Member Function Documentation

### MimeDatabasePrivate::MimeDatabasePrivate(const Utils::Internal::MimeDatabasePrivate &)

Default constructs an instance of MimeDatabasePrivate.

### MimeDatabasePrivate::MimeDatabasePrivate()

Default constructs an instance of MimeDatabasePrivate.

### MimeDatabasePrivate::~MimeDatabasePrivate()

Destroys the instance of MimeDatabasePrivate.

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

### QString MimeDatabasePrivate::defaultMimeType() const

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

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

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

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

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

### Utils::Internal::MimeProviderBase *MimeDatabasePrivate::provider()

See also setProvider().

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

See also provider().

### Utils::Internal::MimeDatabasePrivate &MimeDatabasePrivate::operator=(const Utils::Internal::MimeDatabasePrivate &)

Copy-assignment operator.