• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepimlibs API Reference
  • KDE Home
  • Contact Us
 

KIMAP Library

  • KIMAP
  • Term
Public Types | Public Member Functions | List of all members
KIMAP::Term Class Reference

#include <searchjob.h>

Public Types

enum  BooleanSearchKey {
  New, Old, Recent, Seen,
  Draft, Deleted, Flagged, Answered
}
 
enum  DateSearchKey {
  Before, On, Since, SentBefore,
  SentOn, SentSince
}
 
enum  NumberSearchKey { Larger, Smaller }
 
enum  Relation { And, Or }
 
enum  SearchKey {
  All, Bcc, Body, Cc,
  From, Subject, Text, To,
  Keyword
}
 
enum  SequenceSearchKey { Uid, SequenceNumber }
 

Public Member Functions

 Term (Relation relation, const QVector< Term > &subterms)
 
 Term (SearchKey key, const QString &value)
 
 Term (BooleanSearchKey key)
 
 Term (DateSearchKey key, const QDate &date)
 
 Term (NumberSearchKey key, int value)
 
 Term (SequenceSearchKey key, const KIMAP::ImapSet &)
 
 Term (const QString &header, const QString &value)
 
 Term (const Term &other)
 
bool isNull () const
 
Term & operator= (const Term &other)
 
bool operator== (const Term &other) const
 
QByteArray serialize () const
 
Term & setFuzzy (bool fuzzy)
 
Term & setNegated (bool negated)
 

Detailed Description

A query term.

Refer to the IMAP RFC for the meaning of the individual terms.

Since
4.13

Definition at line 43 of file searchjob.h.


The documentation for this class was generated from the following files:
  • searchjob.h
  • searchjob.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KIMAP Library

Skip menu "KIMAP Library"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2

Search



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