21#ifndef KIMAP2_SEARCHJOB_H
22#define KIMAP2_SEARCHJOB_H
24#include "kimap2_export.h"
27#include <QSharedPointer>
38class SearchJobPrivate;
65 enum BooleanSearchKey {
84 enum NumberSearchKey {
88 enum SequenceSearchKey {
97 Term(BooleanSearchKey key);
98 Term(DateSearchKey key,
const QDate &date);
99 Term(NumberSearchKey key,
int value);
106 bool operator==(
const Term &other)
const;
110 Term &setFuzzy(
bool fuzzy);
111 Term &setNegated(
bool negated);
120class KIMAP2_EXPORT SearchJob :
public Job
123 Q_DECLARE_PRIVATE(SearchJob)
125 friend class SessionPrivate;
134 enum SearchCriteria {
170 explicit SearchJob(
Session *session);
171 virtual ~SearchJob();
173 void setUidBased(
bool uidBased);
174 bool isUidBased()
const;
191 void setTerm(
const Term &);
194 void doStart() Q_DECL_OVERRIDE;
195 void handleResponse(const Message &response) Q_DECL_OVERRIDE;
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-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:56:35 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.