Extending Qt Creator Manual | MimeProviderBase

Extending Qt Creator Manual 4.7.0

# MimeProviderBase Class

(Utils::Internal::MimeProviderBase)

- List of all members, including inherited members

## Public Functions

| MimeProviderBase(Utils::Internal::MimeDatabasePrivate *db)
virtual | ~MimeProviderBase()
int | allMimeTypes()
virtual class QStringList | findByFileName(const int &fileName, int *foundSuffix) = 0
virtual Utils::MimeType | findByMagic(const int &data, int *accuracyPtr) = 0
virtual bool | isValid() = 0
virtual class QStringList | listAliases(const int &name) = 0
virtual void | loadGenericIcon(Utils::Internal::MimeTypePrivate &)
virtual void | loadIcon(Utils::Internal::MimeTypePrivate &)
virtual void | loadMimeTypePrivate(Utils::Internal::MimeTypePrivate &)
virtual Utils::MimeType | mimeTypeForName(const int &name) = 0
virtual class QStringList | parents(const int &mime) = 0
int | resolveAlias(const int &)
virtual void | setGlobPatternsForMimeType(const Utils::MimeType &mimeType, const class QStringList &patterns) = 0
virtual void | setMagicRulesForMimeType(const Utils::MimeType &mimeType, const int) = 0

## Protected Functions

bool | shouldCheck()

## Member Function Documentation

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

Default constructs an instance of MimeProviderBase.

### `[virtual]` MimeProviderBase::~MimeProviderBase()

Destroys the instance of MimeProviderBase. The destructor is virtual.

### int MimeProviderBase::allMimeTypes()

### `[pure virtual]` class QStringList MimeProviderBase::findByFileName(const int &fileName, int *foundSuffix)

### `[pure virtual]` Utils::MimeType MimeProviderBase::findByMagic(const int &data, int *accuracyPtr)

### `[pure virtual]` bool MimeProviderBase::isValid()

### `[pure virtual]` class QStringList MimeProviderBase::listAliases(const int &name)

### `[virtual]` void MimeProviderBase::loadGenericIcon(Utils::Internal::MimeTypePrivate &)

### `[virtual]` void MimeProviderBase::loadIcon(Utils::Internal::MimeTypePrivate &)

### `[virtual]` void MimeProviderBase::loadMimeTypePrivate(Utils::Internal::MimeTypePrivate &)

### `[pure virtual]` Utils::MimeType MimeProviderBase::mimeTypeForName(const int &name)

### `[pure virtual]` class QStringList MimeProviderBase::parents(const int &mime)

### int MimeProviderBase::resolveAlias(const int &)

### `[pure virtual]` void MimeProviderBase::setGlobPatternsForMimeType(const Utils::MimeType &mimeType, const class QStringList &patterns)

### `[pure virtual]` void MimeProviderBase::setMagicRulesForMimeType(const Utils::MimeType &mimeType, const int)

### `[protected]` bool MimeProviderBase::shouldCheck()