12#include "search_pim_export.h"
14#include <Akonadi/Collection>
25class EmailQueryPrivate;
34 enum OpType : uint8_t {
39 void setSplitSearchMatchString(
bool split);
41 void setSearchType(OpType op);
44 void addInvolves(
const QString &email);
49 void setFrom(
const QString &from);
50 void addFrom(
const QString &from);
56 void addBcc(
const QString &bcc);
64 void setImportant(
bool important =
true);
69 void setRead(
bool read =
true);
74 void setAttachment(
bool hasAttachment =
true);
80 void matches(
const QString &match);
86 void subjectMatches(
const QString &subjectMatch);
91 void bodyMatches(
const QString &bodyMatch);
93 void setLimit(
int limit);
94 [[nodiscard]]
int limit()
const;
104 std::unique_ptr<EmailQueryPrivate>
const d;
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:10:12 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.