11#include "akonadi-mime_export.h"
40 Q_PROPERTY(
bool isOfUnknownStatus READ isOfUnknownStatus CONSTANT)
41 Q_PROPERTY(
bool isRead READ isRead WRITE setRead)
42 Q_PROPERTY(
bool isDeleted READ isDeleted WRITE setDeleted)
43 Q_PROPERTY(
bool isReplied READ isReplied WRITE setReplied)
44 Q_PROPERTY(
bool isForwarded READ isForwarded WRITE setForwarded)
45 Q_PROPERTY(
bool isQueued READ isQueued WRITE setQueued)
46 Q_PROPERTY(
bool isSent READ isSent WRITE setSent)
47 Q_PROPERTY(
bool isImportant READ isImportant WRITE setImportant)
48 Q_PROPERTY(
bool isWatched READ isWatched WRITE setWatched)
49 Q_PROPERTY(
bool isIgnored READ isIgnored WRITE setIgnored)
50 Q_PROPERTY(
bool isSpam READ isSpam WRITE setSpam)
51 Q_PROPERTY(
bool isHam READ isHam WRITE setHam)
52 Q_PROPERTY(
bool isToAct READ isToAct WRITE setToAct)
53 Q_PROPERTY(
bool hasAttachment READ hasAttachment WRITE setHasAttachment)
54 Q_PROPERTY(
bool hasInvitation READ hasInvitation WRITE setHasInvitation)
55 Q_PROPERTY(
bool isEncrypted READ isEncrypted WRITE setEncrypted)
56 Q_PROPERTY(
bool isSigned READ isSigned WRITE setSigned)
57 Q_PROPERTY(
bool hasError READ hasError WRITE setHasError)
106 [[nodiscard]]
bool isOfUnknownStatus()
const;
111 [[nodiscard]]
bool isRead()
const;
116 [[nodiscard]]
bool isDeleted()
const;
121 [[nodiscard]]
bool isReplied()
const;
126 [[nodiscard]]
bool isForwarded()
const;
131 [[nodiscard]]
bool isQueued()
const;
136 [[nodiscard]]
bool isSent()
const;
141 [[nodiscard]]
bool isImportant()
const;
146 [[nodiscard]]
bool isWatched()
const;
151 [[nodiscard]]
bool isIgnored()
const;
156 [[nodiscard]]
bool isToAct()
const;
161 [[nodiscard]]
bool isSpam()
const;
166 [[nodiscard]]
bool isHam()
const;
171 [[nodiscard]]
bool hasAttachment()
const;
176 [[nodiscard]]
bool hasInvitation()
const;
181 [[nodiscard]]
bool isSigned()
const;
186 [[nodiscard]]
bool isEncrypted()
const;
191 [[nodiscard]]
bool hasError()
const;
199 void setRead(
bool read =
true);
204 void setDeleted(
bool deleted =
true);
209 void setReplied(
bool replied =
true);
214 void setForwarded(
bool forwarded =
true);
219 void setQueued(
bool queued =
true);
224 void setSent(
bool sent =
true);
229 void setImportant(
bool important =
true);
234 void setWatched(
bool watched =
true);
239 void setIgnored(
bool ignored =
true);
244 void setToAct(
bool toAct =
true);
249 void setSpam(
bool spam =
true);
254 void setHam(
bool ham =
true);
259 void setHasAttachment(
bool hasAttachment =
true);
264 void setHasInvitation(
bool hasInvitation =
true);
269 void setSigned(
bool value =
true);
274 void setEncrypted(
bool value =
true);
279 void setHasError(
bool value =
true);
288 [[nodiscard]] qint32 toQInt32()
const;
295 void fromQInt32(qint32
status);
303 [[nodiscard]]
QString statusStr()
const;
312 void setStatusFromStr(
const QString &aStr);
Akonadi KMime Message Status.
Q_SCRIPTABLE CaptureState status()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:28 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.