MimeGlobPattern Class

(Utils::Internal::MimeGlobPattern)

Public Functions

MimeGlobPattern(const QString &thePattern, const QString &theMimeType, unsigned int theWeight = DefaultWeight, Qt::CaseSensitivity s = Qt::CaseInsensitive)
~MimeGlobPattern()
bool isCaseSensitive() const
bool matchFileName(const QString &filename) const
const QString &mimeType() const
const QString &pattern() const
unsigned int weight() const

Member Function Documentation

MimeGlobPattern::MimeGlobPattern(const QString &thePattern, const QString &theMimeType, unsigned int theWeight = DefaultWeight, Qt::CaseSensitivity s = Qt::CaseInsensitive)

Default constructs an instance of MimeGlobPattern.

MimeGlobPattern::~MimeGlobPattern()

Destroys the instance of MimeGlobPattern.

bool MimeGlobPattern::isCaseSensitive() const

bool MimeGlobPattern::matchFileName(const QString &filename) const

const QString &MimeGlobPattern::mimeType() const

const QString &MimeGlobPattern::pattern() const

unsigned int MimeGlobPattern::weight() const