Akonadi
searchquery.h
214 EmailSearchTerm(EmailSearchField field, const QVariant &value, SearchTerm::Condition condition = SearchTerm::CondEqual);
static ContactSearchField fromKey(const QString &key)
Translates key to field.
Definition searchquery.cpp:331
EmailSearchTerm(EmailSearchField field, const QVariant &value, SearchTerm::Condition condition=SearchTerm::CondEqual)
Constructs an email end term.
Definition searchquery.cpp:293
EmailSearchField
All fields expect a search string unless noted otherwise.
Definition searchquery.h:186
static IncidenceSearchField fromKey(const QString &key)
Translates key to field.
Definition searchquery.cpp:359
void addTerm(const QString &key, const QVariant &value, SearchTerm::Condition condition=SearchTerm::CondEqual)
Adds a new term.
Definition searchquery.cpp:207
SearchQuery(SearchTerm::Relation rel=SearchTerm::RelAnd)
Constructs query where all added terms will be in given relation.
Definition searchquery.cpp:171
Search term represents the actual condition within query.
Definition searchquery.h:27
void addSubTerm(const SearchTerm &term)
Adds a new subterm to this term.
Definition searchquery.cpp:156
void setIsNegated(bool negated)
Sets whether the entire term is negated.
Definition searchquery.cpp:146
SearchTerm::Condition condition() const
Returns relation between key and value.
Definition searchquery.cpp:141
SearchTerm(SearchTerm::Relation relation=SearchTerm::RelAnd)
Constructs a term where all subterms will be in given relation.
Definition searchquery.cpp:93
QList< SearchTerm > subTerms() const
Returns all subterms, or an empty list if this is an end term.
Definition searchquery.cpp:161
SearchTerm::Relation relation() const
Returns relation in which all subterms are.
Definition searchquery.cpp:166
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:57 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:57 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.