akonadi
searchquery.h
64 SearchTerm(const QString &key, const QVariant &value, SearchTerm::Condition condition = SearchTerm::CondEqual);
146 void addTerm(const QString &key, const QVariant &value, SearchTerm::Condition condition = SearchTerm::CondEqual);
229 EmailSearchTerm(EmailSearchField field, const QVariant &value, SearchTerm::Condition condition = SearchTerm::CondEqual);
static ContactSearchField fromKey(const QString &key)
Translates key to field.
Definition searchquery.cpp:376
EmailSearchTerm(EmailSearchField field, const QVariant &value, SearchTerm::Condition condition=SearchTerm::CondEqual)
Constructs an email end term.
Definition searchquery.cpp:336
EmailSearchField
All fields expect a search string unless noted otherwise.
Definition searchquery.h:201
void addTerm(const QString &key, const QVariant &value, SearchTerm::Condition condition=SearchTerm::CondEqual)
Adds a new term.
Definition searchquery.cpp:255
SearchQuery(SearchTerm::Relation rel=SearchTerm::RelAnd)
Constructs query where all added terms will be in given relation.
Definition searchquery.cpp:219
Search term represents the actual condition within query.
Definition searchquery.h:40
void addSubTerm(const SearchTerm &term)
Adds a new subterm to this term.
Definition searchquery.cpp:204
void setIsNegated(bool negated)
Sets whether the entire term is negated.
Definition searchquery.cpp:194
SearchTerm::Condition condition() const
Returns relation between key and value.
Definition searchquery.cpp:189
SearchTerm(SearchTerm::Relation relation=SearchTerm::RelAnd)
Constructs a term where all subterms will be in given relation.
Definition searchquery.cpp:139
QList< SearchTerm > subTerms() const
Returns all subterms, or an empty list if this is an end term.
Definition searchquery.cpp:209
SearchTerm::Relation relation() const
Returns relation in which all subterms are.
Definition searchquery.cpp:214
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.