![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\inmodule QtCore More...
#include <qmimetypeparser_p.h>
Public Member Functions | |
QMimeTypeParserBase () | |
virtual | ~QMimeTypeParserBase () |
bool | parse (QIODevice *dev, const QString &fileName, QString *errorMessage) |
Static Public Member Functions | |
static bool | parseNumber (QStringView n, int *target, QString *errorMessage) |
Protected Member Functions | |
virtual bool | process (const QMimeTypeXMLData &t, QString *errorMessage)=0 |
virtual bool | process (const QMimeGlobPattern &t, QString *errorMessage)=0 |
virtual void | processParent (const QString &child, const QString &parent)=0 |
virtual void | processAlias (const QString &alias, const QString &name)=0 |
virtual void | processMagicMatcher (const QMimeMagicRuleMatcher &matcher)=0 |
\inmodule QtCore
The QMimeTypeParserBase class parses for a sequence of <mime-type> in a generic way.
Calls abstract handler function process for QMimeType it finds.
Definition at line 44 of file qmimetypeparser_p.h.
|
inline |
Definition at line 49 of file qmimetypeparser_p.h.
|
virtualdefault |
bool QMimeTypeParserBase::parse | ( | QIODevice * | dev, |
const QString & | fileName, | ||
QString * | errorMessage ) |
Definition at line 172 of file qmimetypeparser.cpp.
|
static |
Definition at line 137 of file qmimetypeparser.cpp.
|
protectedpure virtual |
Implemented in QMimeTypeParser.
|
protectedpure virtual |
Implemented in QMimeTypeParser.
|
protectedpure virtual |
Implemented in QMimeTypeParser.
|
protectedpure virtual |
Implemented in QMimeTypeParser.
|
protectedpure virtual |
Implemented in QMimeTypeParser.