Akonadi::IncidenceSearchTerm
Akonadi::IncidenceSearchTerm Class Reference
#include <searchquery.h>
Inheritance diagram for Akonadi::IncidenceSearchTerm:
Public Types | |
enum | IncidenceSearchField { Unknown , All , PartStatus , Organizer , Summary , Location } |
Public Types inherited from Akonadi::SearchTerm | |
enum | Condition { CondEqual , CondGreaterThan , CondGreaterOrEqual , CondLessThan , CondLessOrEqual , CondContains } |
enum | Relation { RelAnd , RelOr } |
Public Member Functions | |
IncidenceSearchTerm (IncidenceSearchField field, const QVariant &value, SearchTerm::Condition condition=SearchTerm::CondEqual) | |
Public Member Functions inherited from Akonadi::SearchTerm | |
SearchTerm (const QString &key, const QVariant &value, SearchTerm::Condition condition=SearchTerm::CondEqual) | |
SearchTerm (const SearchTerm &other) | |
SearchTerm (SearchTerm::Relation relation=SearchTerm::RelAnd) | |
void | addSubTerm (const SearchTerm &term) |
SearchTerm::Condition | condition () const |
bool | isNegated () const |
bool | isNull () const |
QString | key () const |
SearchTerm & | operator= (const SearchTerm &other) |
bool | operator== (const SearchTerm &other) const |
SearchTerm::Relation | relation () const |
void | setIsNegated (bool negated) |
QList< SearchTerm > | subTerms () const |
QVariant | value () const |
Static Public Member Functions | |
static IncidenceSearchField | fromKey (const QString &key) |
static QString | toKey (IncidenceSearchField) |
Detailed Description
A search term for a incidence field.
This class can be used to create queries that akonadi incidence search backends understand.
- Since
- 5.0
Definition at line 266 of file searchquery.h.
Member Enumeration Documentation
◆ IncidenceSearchField
enum Akonadi::IncidenceSearchTerm::IncidenceSearchField |
Definition at line 269 of file searchquery.h.
Constructor & Destructor Documentation
◆ IncidenceSearchTerm()
IncidenceSearchTerm::IncidenceSearchTerm | ( | IncidenceSearchTerm::IncidenceSearchField | field, |
const QVariant & | value, | ||
SearchTerm::Condition | condition = SearchTerm::CondEqual ) |
Definition at line 349 of file searchquery.cpp.
Member Function Documentation
◆ fromKey()
|
static |
Translates key to field.
Definition at line 359 of file searchquery.cpp.
◆ toKey()
|
static |
Translates field to key.
Definition at line 354 of file searchquery.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:31:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:31:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.