mailcommon
searchrulestring.h
Go to the documentation of this file.
bool matchesInternal(const QString &contents) const
A helper method for the main matches() method.
Definition: searchrulestring.cpp:259
virtual bool isEmpty() const
Determines whether the rule is worth considering.
Definition: searchrulestring.cpp:74
virtual QString informationAboutNotValidRules() const
Definition: searchrulestring.cpp:252
QByteArray field() const
Returns the message header field name (without the trailing ':').
Definition: searchrule.cpp:501
virtual RequiredPart requiredPart() const
Returns the required part from the item that is needed for the search to operate. ...
Definition: searchrulestring.cpp:79
const SearchRuleString & operator=(const SearchRuleString &other)
Initializes this rule with an other rule.
Definition: searchrulestring.cpp:57
virtual void addQueryTerms(Akonadi::SearchTerm &groupTerm, bool &emptyIsNotAnError) const
Adds query terms to the given term group.
Definition: searchrulestring.cpp:199
virtual bool matches(const Akonadi::Item &item) const
Tries to match the rule against the KMime::Message in the given item.
Definition: searchrulestring.cpp:110
SearchRuleString(const QByteArray &field=QByteArray(), Function function=FuncContains, const QString &contents=QString())
Creates new new string search rule.
Definition: searchrulestring.cpp:45
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.