![]() |
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 (QMimeMagicRule::RegexRules regexRules) | |
| virtual | ~QMimeTypeParserBase () |
| bool | parse (QIODevice *dev, const QString &fileName, QString *errorMessage) |
Static Public Member Functions | |
| static bool | parseNumber (QStringView nn, int *targettarget, QString *errorMessage) |
Protected Member Functions | |
| virtual bool | process (const QMimeTypeXMLData &tt, QString *errorMessage)=0 |
| virtual bool | process (const QMimeGlobPattern &tt, QString *errorMessage)=0 |
| virtual void | processParent (const QString &child, const QString &parent)=0 |
| virtual void | processAlias (const QString &alias, const QString &namename)=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 45 of file qmimetypeparser_p.h.
|
inlineexplicit |
Definition at line 50 of file qmimetypeparser_p.h.
|
virtualdefault |
| bool QMimeTypeParserBase::parse | ( | QIODevice * | dev, |
| const QString & | fileName, | ||
| QString * | errorMessage ) |
Definition at line 175 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.