KNewStuff
tagsfilterchecker.cpp
66 qCDebug(KNEWSTUFFCORE) << "Item excluded by filter on" << m_tag << "because" << value << "was not included in" << m_acceptedValues;
88 qCDebug(KNEWSTUFFCORE) << "Item excluded by filter on" << m_tag << "because" << value << "was included in" << m_acceptedValues;
117 qCDebug(KNEWSTUFFCORE) << "Created InequalityValidator for tag" << tag << "with value" << value;
119 qCDebug(KNEWSTUFFCORE) << "Critical error attempting to create tag filter validators. The filter is defined as" << filter
138 qCDebug(KNEWSTUFFCORE) << "Checking tags list" << tags << "against validators with keys" << d->validators.keys();
141 // This happens when you do a split on an empty string (not an empty list, a list with one empty element... because reasons).
147 qCDebug(KNEWSTUFFCORE) << "Critical error attempting to filter tags. Entry has tag defined as" << tag
151 // If the tag is defined simply as a key, we give it the value "1", just to make our filtering work simpler
154 QMap<QString, TagsFilterCheckerPrivate::Validator *>::const_iterator i = d->validators.constBegin();
TagsFilterChecker(const QStringList &tagFilter)
Constructs an instance of the tags filter checker, prepopulated with the list of tag filters in the t...
Definition tagsfilterchecker.cpp:125
bool filterAccepts(const QStringList &tags)
Check whether the filter list accepts the passed list of tags.
Definition tagsfilterchecker.cpp:135
const_reference at(qsizetype i) const const
qsizetype length() const const
iterator insert(const Key &key, const T &value)
T value(const Key &key, const T &defaultValue) const const
bool isEmpty() const const
bool isNull() const const
qsizetype length() const const
QStringList split(QChar sep, Qt::SplitBehavior behavior, Qt::CaseSensitivity cs) const const
bool contains(QLatin1StringView str, Qt::CaseSensitivity cs) const const
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 Fri Dec 6 2024 12:13:34 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:13:34 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.