![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
The QMimeGlobPattern class contains the glob pattern for file names for MIME type matching. More...
#include <qmimeglobpattern_p.h>
Public Member Functions | |
| QMimeGlobPattern (const QString &thePattern, const QString &theMimeType, unsigned theWeight=DefaultWeight, Qt::CaseSensitivity ss=Qt::CaseInsensitive) | |
| void | swap (QMimeGlobPattern &other) noexcept |
| bool | matchFileName (const QString &fileName) const |
| const QString & | pattern () const |
| unsigned | weight () const |
| const QString & | mimeType () const |
| bool | isCaseSensitive () const |
Static Public Attributes | |
| static const unsigned | MaxWeight = 100 |
| static const unsigned | DefaultWeight = 50 |
| static const unsigned | MinWeight = 1 |
The QMimeGlobPattern class contains the glob pattern for file names for MIME type matching.
\inmodule QtCore
Definition at line 42 of file qmimeglobpattern_p.h.
|
inlineexplicit |
Definition at line 49 of file qmimeglobpattern_p.h.
References QMimeGlobPattern().
Referenced by QMimeGlobPattern().
|
inline |
Definition at line 74 of file qmimeglobpattern_p.h.
| bool QMimeGlobPattern::matchFileName | ( | const QString & | fileName | ) | const |
Definition at line 105 of file qmimeglobpattern.cpp.
|
inline |
Definition at line 73 of file qmimeglobpattern_p.h.
|
inline |
Definition at line 71 of file qmimeglobpattern_p.h.
|
inlinenoexcept |
Definition at line 60 of file qmimeglobpattern_p.h.
|
inline |
Definition at line 72 of file qmimeglobpattern_p.h.
Referenced by QMimeAllGlobPatterns::addGlob().
|
static |
Definition at line 46 of file qmimeglobpattern_p.h.
|
static |
Definition at line 45 of file qmimeglobpattern_p.h.
|
static |
Definition at line 47 of file qmimeglobpattern_p.h.