KIMAP Library
21 #ifndef KIMAP_SEARCHJOB_H
22 #define KIMAP_SEARCHJOB_H
24 #include "kimap_export.h"
36 class SearchJobPrivate;
63 enum BooleanSearchKey {
82 enum NumberSearchKey {
86 enum SequenceSearchKey {
94 Term( BooleanSearchKey key );
95 Term( DateSearchKey key,
const QDate &date );
96 Term( NumberSearchKey key,
int value );
102 Term& operator=(
const Term &other );
103 bool operator==(
const Term &other )
const;
107 Term &setFuzzy(
bool fuzzy );
108 Term &setNegated(
bool negated );
117 class KIMAP_EXPORT SearchJob :
public Job
120 Q_DECLARE_PRIVATE( SearchJob )
122 friend class SessionPrivate;
131 enum SearchCriteria {
167 explicit SearchJob( Session *session );
168 virtual ~SearchJob();
170 void setUidBased(
bool uidBased);
171 bool isUidBased()
const;
196 KIMAP_DEPRECATED
void addSearchCriteria( SearchCriteria criteria );
206 KIMAP_DEPRECATED
void addSearchCriteria( SearchCriteria criteria,
const QByteArray &argument );
216 KIMAP_DEPRECATED
void addSearchCriteria( SearchCriteria criteria,
int argument );
226 KIMAP_DEPRECATED
void addSearchCriteria( SearchCriteria criteria,
const QDate& argument );
234 KIMAP_DEPRECATED
void addSearchCriteria(
const QByteArray &searchCriteria );
241 KIMAP_DEPRECATED
void setSearchLogic(SearchLogic logic);
248 void setTerm(
const Term & );
251 virtual void doStart();
252 virtual void handleResponse(
const Message &response);
Represents a set of natural numbers (1-> ) in a as compact as possible form.
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.