mailcommon
searchrulenumerical.h
Go to the documentation of this file.
virtual RequiredPart requiredPart() const
Returns the required part from the item that is needed for the search to operate. ...
Definition: searchrulenumerical.cpp:87
This class represents a search pattern rule operating on numerical values.
Definition: searchrulenumerical.h:30
virtual bool isEmpty() const
Determines whether the rule is worth considering.
Definition: searchrulenumerical.cpp:48
virtual bool matches(const Akonadi::Item &item) const =0
Tries to match the rule against the KMime::Message in the given item.
virtual QString informationAboutNotValidRules() const
Definition: searchrulenumerical.cpp:163
virtual bool matches(const Akonadi::Item &item) const
Tries to match the rule against the KMime::Message in the given item.
Definition: searchrulenumerical.cpp:56
QByteArray field() const
Returns the message header field name (without the trailing ':').
Definition: searchrule.cpp:501
SearchRuleNumerical(const QByteArray &field=QByteArray(), Function function=FuncContains, const QString &contents=QString())
Creates new numerical search rule.
Definition: searchrulenumerical.cpp:41
virtual void addQueryTerms(Akonadi::SearchTerm &groupTerm, bool &emptyIsNotAnError) const
Adds query terms to the given term group.
Definition: searchrulenumerical.cpp:146
bool matchesInternal(long numericalValue, long numericalContents, const QString &contents) const
A helper method for the main matches() method.
Definition: searchrulenumerical.cpp:93
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.