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()
int | allMimeTypes()
int | defaultMimeType() const
Utils::MimeType | findByData(const int &data, int *priorityPtr)
bool | inherits(const int &mime, const int &parent)
class QStringList | mimeTypeForFileName(const int &fileName, int *foundSuffix = 0)
Utils::MimeType | mimeTypeForFileNameAndData(const int &fileName, QIODevice *device, int *priorityPtr)
Utils::Internal::MimeProviderBase * | provider()
void | setProvider(Utils::Internal::MimeProviderBase *theProvider)

## Static Public Members

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

## Member Function Documentation

### MimeDatabasePrivate::~MimeDatabasePrivate()

Destroys the instance of MimeDatabasePrivate.

### int MimeDatabasePrivate::allMimeTypes()

### int MimeDatabasePrivate::defaultMimeType() const

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

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

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

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

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

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

See also setProvider().

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

See also provider().