Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qmimetypeparser.cpp File Reference

(4e9944e6c8a456353d243ab268cb0f01ff006faa)

#include "qmimetypeparser_p.h"
#include "qmimetype_p.h"
#include "qmimemagicrulematcher_p.h"
#include <QtCore/QCoreApplication>
#include <QtCore/QDebug>
#include <QtCore/QDir>
#include <QtCore/QXmlStreamReader>
#include <QtCore/QXmlStreamWriter>
#include <QtCore/QStack>
+ Include dependency graph for qmimetypeparser.cpp:

Go to the source code of this file.

Macros

#define QT_NO_CAST_FROM_ASCII
 

Variables

static const char mimeInfoTagC [] = "mime-info"
 
static const char mimeTypeTagC [] = "mime-type"
 
static const char mimeTypeAttributeC [] = "type"
 
static const char subClassTagC [] = "sub-class-of"
 
static const char commentTagC [] = "comment"
 
static const char genericIconTagC [] = "generic-icon"
 
static const char iconTagC [] = "icon"
 
static const char nameAttributeC [] = "name"
 
static const char globTagC [] = "glob"
 
static const char globDeleteAllTagC [] = "glob-deleteall"
 
static const char aliasTagC [] = "alias"
 
static const char patternAttributeC [] = "pattern"
 
static const char weightAttributeC [] = "weight"
 
static const char caseSensitiveAttributeC [] = "case-sensitive"
 
static const char localeAttributeC [] = "xml:lang"
 
static const char magicTagC [] = "magic"
 
static const char priorityAttributeC [] = "priority"
 
static const char matchTagC [] = "match"
 
static const char matchValueAttributeC [] = "value"
 
static const char matchTypeAttributeC [] = "type"
 
static const char matchOffsetAttributeC [] = "offset"
 
static const char matchMaskAttributeC [] = "mask"
 

Macro Definition Documentation

◆ QT_NO_CAST_FROM_ASCII

#define QT_NO_CAST_FROM_ASCII

Definition at line 4 of file qmimetypeparser.cpp.

Variable Documentation

◆ aliasTagC

const char aliasTagC[] = "alias"
static

Definition at line 33 of file qmimetypeparser.cpp.

◆ caseSensitiveAttributeC

const char caseSensitiveAttributeC[] = "case-sensitive"
static

Definition at line 36 of file qmimetypeparser.cpp.

Referenced by QMimeTypeParserBase::parse().

◆ commentTagC

const char commentTagC[] = "comment"
static

Definition at line 27 of file qmimetypeparser.cpp.

◆ genericIconTagC

const char genericIconTagC[] = "generic-icon"
static

Definition at line 28 of file qmimetypeparser.cpp.

◆ globDeleteAllTagC

const char globDeleteAllTagC[] = "glob-deleteall"
static

Definition at line 32 of file qmimetypeparser.cpp.

◆ globTagC

const char globTagC[] = "glob"
static

Definition at line 31 of file qmimetypeparser.cpp.

◆ iconTagC

const char iconTagC[] = "icon"
static

Definition at line 29 of file qmimetypeparser.cpp.

◆ localeAttributeC

const char localeAttributeC[] = "xml:lang"
static

Definition at line 37 of file qmimetypeparser.cpp.

Referenced by QMimeTypeParserBase::parse().

◆ magicTagC

const char magicTagC[] = "magic"
static

Definition at line 39 of file qmimetypeparser.cpp.

Referenced by QMimeTypeParserBase::parse().

◆ matchMaskAttributeC

const char matchMaskAttributeC[] = "mask"
static

Definition at line 46 of file qmimetypeparser.cpp.

◆ matchOffsetAttributeC

const char matchOffsetAttributeC[] = "offset"
static

Definition at line 45 of file qmimetypeparser.cpp.

◆ matchTagC

const char matchTagC[] = "match"
static

Definition at line 42 of file qmimetypeparser.cpp.

Referenced by QMimeTypeParserBase::parse().

◆ matchTypeAttributeC

const char matchTypeAttributeC[] = "type"
static

Definition at line 44 of file qmimetypeparser.cpp.

◆ matchValueAttributeC

const char matchValueAttributeC[] = "value"
static

Definition at line 43 of file qmimetypeparser.cpp.

◆ mimeInfoTagC

const char mimeInfoTagC[] = "mime-info"
static

Definition at line 23 of file qmimetypeparser.cpp.

◆ mimeTypeAttributeC

const char mimeTypeAttributeC[] = "type"
static

Definition at line 25 of file qmimetypeparser.cpp.

Referenced by QMimeTypeParserBase::parse().

◆ mimeTypeTagC

const char mimeTypeTagC[] = "mime-type"
static

Definition at line 24 of file qmimetypeparser.cpp.

Referenced by QMimeTypeParserBase::parse().

◆ nameAttributeC

const char nameAttributeC[] = "name"
static

Definition at line 30 of file qmimetypeparser.cpp.

Referenced by QMimeTypeParserBase::parse().

◆ patternAttributeC

const char patternAttributeC[] = "pattern"
static

Definition at line 34 of file qmimetypeparser.cpp.

Referenced by QMimeTypeParserBase::parse().

◆ priorityAttributeC

const char priorityAttributeC[] = "priority"
static

Definition at line 40 of file qmimetypeparser.cpp.

Referenced by QMimeTypeParserBase::parse().

◆ subClassTagC

const char subClassTagC[] = "sub-class-of"
static

Definition at line 26 of file qmimetypeparser.cpp.

◆ weightAttributeC

const char weightAttributeC[] = "weight"
static

Definition at line 35 of file qmimetypeparser.cpp.

Referenced by QMimeTypeParserBase::parse().