KDECore
kmimeglobsfileparser_p.h
Go to the documentation of this file.
92 QHash<QString, QStringList> m_fastPatterns; // example: "doc" -> "application/msword", "text/plain"
bool hasPattern(const QString &mime, const QString &pattern) const
Definition: kmimeglobsfileparser_p.h:57
void removeMime(const QString &mime)
Definition: kmimeglobsfileparser.cpp:216
PatternsMap patternsMap() const
Definition: kmimeglobsfileparser.cpp:193
void addGlob(const Glob &glob)
Definition: kmimeglobsfileparser.cpp:158
void removeMime(const QString &mime)
Definition: kmimeglobsfileparser_p.h:66
GlobList m_highWeightGlobs
Definition: kmimeglobsfileparser_p.h:93
Definition: kmimeglobsfileparser_p.h:32
static bool parseGlobFile(QIODevice *file, Format format, AllGlobs &globs)
Definition: kmimeglobsfileparser.cpp:71
KMimeGlobsFileParser()
Definition: kmimeglobsfileparser.cpp:30
static AllGlobs parseGlobFiles(const QStringList &globFiles, QStringList &parsedFiles)
Definition: kmimeglobsfileparser.cpp:47
GlobList m_lowWeightGlobs
Definition: kmimeglobsfileparser_p.h:94
Glob(const QString &mime, int w=50, const QString &pat=QString(), int _flags=0)
Definition: kmimeglobsfileparser_p.h:46
QHash< QString, QStringList > PatternsMap
Definition: kmimeglobsfileparser_p.h:75
QHash< QString, QStringList > m_fastPatterns
Definition: kmimeglobsfileparser_p.h:92
Result of the globs parsing, as data structures ready for efficient mimetype matching.
Definition: kmimeglobsfileparser_p.h:85
Definition: kaboutdata.h:33
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.