• Skip to content
  • Skip to link menu
Brand

API Documentation

  1. KDE API Reference
  2. KDE PIM
  3. Akonadi
  • KDE Home
  • Contact Us

Quick Links

Skip menu "Akonadi"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • File List
  • Modules
  • Related Pages

Class Picker

About

PIM Storage Framework

Maintainer
Daniel Vrátil
Supported platforms
Linux
Community
IRC: #akonadi on Freenode
Mailing list: kde-pim
Use with CMake
find_package(KF5AkonadiCore)
target_link_libraries(yourapp KF5::AkonadiCore)
Use with QMake
QT += AkonadiCore 
Clone
git clone git://anongit.kde.org/akonadi.git
Browse source
Akonadi on cgit.kde.org

Akonadi

  • View on LXR
  • Akonadi
  • IncidenceSearchTerm
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Akonadi::IncidenceSearchTerm Class Reference

#include <searchquery.h>

Inheritance diagram for Akonadi::IncidenceSearchTerm:
Inheritance graph
[legend]

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 (SearchTerm::Relation relation=SearchTerm::RelAnd)
 
 SearchTerm (const QString &key, const QVariant &value, SearchTerm::Condition condition=SearchTerm::CondEqual)
 
 SearchTerm (const SearchTerm &other)
 
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 281 of file searchquery.h.

Member Function Documentation

IncidenceSearchTerm::IncidenceSearchField IncidenceSearchTerm::fromKey ( const QString &  key)
static

Translates key to field.

Definition at line 412 of file searchquery.cpp.

QString IncidenceSearchTerm::toKey ( IncidenceSearchTerm::IncidenceSearchField  field)
static

Translates field to key.

Definition at line 407 of file searchquery.cpp.


The documentation for this class was generated from the following files:
  • searchquery.h
  • searchquery.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Mon Dec 16 2019 01:27:21 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal