KIMAP2::Term

KIMAP2::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 KIMAP2::ImapSet &)
 
 Term (const QString &header, const QString &value)
 
 Term (const Term &other)
 
bool isNull () const
 
Termoperator= (const Term &other)
 
bool operator== (const Term &other) const
 
QByteArray serialize () const
 
TermsetFuzzy (bool fuzzy)
 
TermsetNegated (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 45 of file searchjob.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jul 1 2020 23:05:58 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.