|  | Qt 6.x
    The Qt SDK | 
\inmodule QtCore More...
#include <qmimetypeparser_p.h>
 Inheritance diagram for QMimeTypeParser:
 Inheritance diagram for QMimeTypeParser: Collaboration diagram for QMimeTypeParser:
 Collaboration diagram for QMimeTypeParser:| Public Member Functions | |
| QMimeTypeParser (QMimeXMLProvider &provider) | |
|  Public Member Functions inherited from QMimeTypeParserBase | |
| QMimeTypeParserBase () | |
| virtual | ~QMimeTypeParserBase () | 
| bool | parse (QIODevice *dev, const QString &fileName, QString *errorMessage) | 
| Protected Member Functions | |
| bool | process (const QMimeType &t, QString *) override | 
| Overwrite to process the sequence of parsed data. | |
| bool | process (const QMimeGlobPattern &glob, QString *) override | 
| void | processParent (const QString &child, const QString &parent) override | 
| void | processAlias (const QString &alias, const QString &name) override | 
| void | processMagicMatcher (const QMimeMagicRuleMatcher &matcher) override | 
| virtual bool | process (const QMimeType &t, QString *errorMessage)=0 | 
| Overwrite to process the sequence of parsed data. | |
| 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 | 
| Additional Inherited Members | |
|  Static Public Member Functions inherited from QMimeTypeParserBase | |
| static bool | parseNumber (QStringView n, int *target, QString *errorMessage) | 
\inmodule QtCore
The QMimeTypeParser class parses MIME types, and builds a MIME database hierarchy by adding to QMimeDatabase.
Populates QMimeDataBase
Definition at line 70 of file qmimetypeparser_p.h.
| 
 | inlineexplicit | 
Definition at line 73 of file qmimetypeparser_p.h.
| 
 | inlineoverrideprotectedvirtual | 
Implements QMimeTypeParserBase.
Definition at line 79 of file qmimetypeparser_p.h.
References QMimeXMLProvider::addGlobPattern().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | inlineoverrideprotectedvirtual | 
Overwrite to process the sequence of parsed data.
Implements QMimeTypeParserBase.
Definition at line 76 of file qmimetypeparser_p.h.
References QMimeXMLProvider::addMimeType().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | inlineoverrideprotectedvirtual | 
Implements QMimeTypeParserBase.
Definition at line 85 of file qmimetypeparser_p.h.
References QMimeXMLProvider::addAlias().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | inlineoverrideprotectedvirtual | 
Implements QMimeTypeParserBase.
Definition at line 88 of file qmimetypeparser_p.h.
References QMimeXMLProvider::addMagicMatcher(), and matcher.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | inlineoverrideprotectedvirtual | 
Implements QMimeTypeParserBase.
Definition at line 82 of file qmimetypeparser_p.h.
References QMimeXMLProvider::addParent(), child, and parent.
 Here is the call graph for this function:
 Here is the call graph for this function: