Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qmimetypeparser.cpp File Reference

(de9ef7dae8cbaeecf192698edfbab05950f5e7a9)

#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 5 of file qmimetypeparser.cpp.

Variable Documentation

◆ aliasTagC

const char aliasTagC = "alias"
static

Definition at line 34 of file qmimetypeparser.cpp.

◆ caseSensitiveAttributeC

const char caseSensitiveAttributeC = "case-sensitive"
static

Definition at line 37 of file qmimetypeparser.cpp.

◆ commentTagC

const char commentTagC = "comment"
static

Definition at line 28 of file qmimetypeparser.cpp.

◆ genericIconTagC

const char genericIconTagC = "generic-icon"
static

Definition at line 29 of file qmimetypeparser.cpp.

◆ globDeleteAllTagC

const char globDeleteAllTagC = "glob-deleteall"
static

Definition at line 33 of file qmimetypeparser.cpp.

◆ globTagC

const char globTagC = "glob"
static

Definition at line 32 of file qmimetypeparser.cpp.

◆ iconTagC

const char iconTagC = "icon"
static

Definition at line 30 of file qmimetypeparser.cpp.

◆ localeAttributeC

const char localeAttributeC = "xml:lang"
static

Definition at line 38 of file qmimetypeparser.cpp.

◆ magicTagC

const char magicTagC = "magic"
static

Definition at line 40 of file qmimetypeparser.cpp.

◆ matchMaskAttributeC

const char matchMaskAttributeC = "mask"
static

Definition at line 47 of file qmimetypeparser.cpp.

◆ matchOffsetAttributeC

const char matchOffsetAttributeC = "offset"
static

Definition at line 46 of file qmimetypeparser.cpp.

◆ matchTagC

const char matchTagC = "match"
static

Definition at line 43 of file qmimetypeparser.cpp.

◆ matchTypeAttributeC

const char matchTypeAttributeC = "type"
static

Definition at line 45 of file qmimetypeparser.cpp.

◆ matchValueAttributeC

const char matchValueAttributeC = "value"
static

Definition at line 44 of file qmimetypeparser.cpp.

◆ mimeInfoTagC

const char mimeInfoTagC = "mime-info"
static

Definition at line 24 of file qmimetypeparser.cpp.

◆ mimeTypeAttributeC

const char mimeTypeAttributeC = "type"
static

Definition at line 26 of file qmimetypeparser.cpp.

◆ mimeTypeTagC

const char mimeTypeTagC = "mime-type"
static

Definition at line 25 of file qmimetypeparser.cpp.

◆ nameAttributeC

const char nameAttributeC = "name"
static

Definition at line 31 of file qmimetypeparser.cpp.

◆ patternAttributeC

const char patternAttributeC = "pattern"
static

Definition at line 35 of file qmimetypeparser.cpp.

◆ priorityAttributeC

const char priorityAttributeC = "priority"
static

Definition at line 41 of file qmimetypeparser.cpp.

◆ subClassTagC

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

Definition at line 27 of file qmimetypeparser.cpp.

◆ weightAttributeC

const char weightAttributeC = "weight"
static

Definition at line 36 of file qmimetypeparser.cpp.