KIO
kfilefilter.cpp
52 std::transform(filters.begin(), filters.end(), std::back_inserter(result), [](const QString &mimeType) {
96KFileFilter::KFileFilter(const QString &label, const QStringList &filePatterns, const QStringList &mimePatterns)
153 qCWarning(KIO_CORE) << "KFileFilters with both mime and file patterns cannot be converted to filter strings";
163 const QString escapedLabel = QString(d->m_label).replace(QLatin1String("/"), QLatin1String("\\/"));
QStringList filePatterns() const
List of file name patterns that are included by this filter.
Definition kfilefilter.cpp:125
QString toFilterString() const
Converts this filter to a string representation.
Definition kfilefilter.cpp:150
bool isEmpty() const
Whether the filer is empty, i.e. matches all files.
Definition kfilefilter.cpp:140
static QList< KFileFilter > fromMimeTypes(const QStringList &mimeTypes)
Creates filters from a list of MIME types.
Definition kfilefilter.cpp:200
bool operator==(const KFileFilter &other) const
Checks whether two filters are equal.
Definition kfilefilter.cpp:135
QStringList mimePatterns() const
List of MIME types that are included by this filter;.
Definition kfilefilter.cpp:130
Type type(const QSqlDatabase &db)
KCALUTILS_EXPORT QString mimeType()
QDebug & nospace()
iterator begin()
iterator end()
void reserve(qsizetype size)
qsizetype size() const const
QMimeType mimeTypeForName(const QString &nameOrAlias) const const
bool endsWith(QChar c, Qt::CaseSensitivity cs) const const
qsizetype indexOf(QChar ch, qsizetype from, Qt::CaseSensitivity cs) const const
bool isEmpty() const const
QString & replace(QChar before, QChar after, Qt::CaseSensitivity cs)
QStringList split(QChar sep, Qt::SplitBehavior behavior, Qt::CaseSensitivity cs) const const
QString join(QChar separator) const const
SkipEmptyParts
QFuture< void > filter(QThreadPool *pool, Sequence &sequence, KeepFunctor &&filterFunction)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.