Extending Qt Creator Manual | MimeTypeParserBase

Extending Qt Creator Manual 4.7.2

# MimeTypeParserBase Class

(Utils::Internal::MimeTypeParserBase)

- List of all members, including inherited members

## Public Functions

| MimeTypeParserBase()
virtual | ~MimeTypeParserBase()
bool | parse(const QByteArray &content, const QString &fileName, QString *errorMessage)

## Protected Functions

virtual bool | mimeTypeExists(const QString &mimeTypeName) = 0
virtual bool | process(const Utils::MimeType &t, QString *errorMessage) = 0
virtual bool | process(const Utils::Internal::MimeGlobPattern &t, QString *errorMessage) = 0
virtual void | processAlias(const QString &alias, const QString &name) = 0
virtual void | processMagicMatcher(const Utils::Internal::MimeMagicRuleMatcher &matcher) = 0
virtual void | processParent(const QString &child, const QString &parent) = 0

## Member Function Documentation

### MimeTypeParserBase::MimeTypeParserBase()

Default constructs an instance of MimeTypeParserBase.

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

Destroys the instance of MimeTypeParserBase. The destructor is virtual.

### `[pure virtual protected]` bool MimeTypeParserBase::mimeTypeExists(const QString &mimeTypeName)

### bool MimeTypeParserBase::parse(const QByteArray &content, const QString &fileName, QString *errorMessage)

### `[pure virtual protected]` bool MimeTypeParserBase::process(const Utils::MimeType &t, QString *errorMessage)

### `[pure virtual protected]` bool MimeTypeParserBase::process(const Utils::Internal::MimeGlobPattern &t, QString *errorMessage)

### `[pure virtual protected]` void MimeTypeParserBase::processAlias(const QString &alias, const QString &name)

### `[pure virtual protected]` void MimeTypeParserBase::processMagicMatcher(const Utils::Internal::MimeMagicRuleMatcher &matcher)

### `[pure virtual protected]` void MimeTypeParserBase::processParent(const QString &child, const QString &parent)