71KIDENTITYMANAGEMENTCORE_EXPORT QDataStream &operator<<(QDataStream &stream,
const KIdentityManagementCore::Identity &ident);
79 Q_PROPERTY(
bool mailingAllowed READ mailingAllowed)
81 Q_PROPERTY(
QString fullName READ fullName WRITE setFullName)
82 Q_PROPERTY(
QString organization READ organization WRITE setOrganization)
83 Q_PROPERTY(
QByteArray pgpEncryptionKey READ pgpEncryptionKey WRITE setPGPEncryptionKey)
84 Q_PROPERTY(
QByteArray pgpSigningKey READ pgpSigningKey WRITE setPGPSigningKey)
85 Q_PROPERTY(
QByteArray smimeEncryptionKey READ smimeEncryptionKey WRITE setSMIMEEncryptionKey)
86 Q_PROPERTY(
QByteArray smimeSigningKey READ smimeSigningKey WRITE setSMIMESigningKey)
87 Q_PROPERTY(
QString preferredCryptoMessageFormat READ preferredCryptoMessageFormat WRITE setPreferredCryptoMessageFormat)
88 Q_PROPERTY(
QString primaryEmailAddress READ primaryEmailAddress WRITE setPrimaryEmailAddress)
89 Q_PROPERTY(
QStringList emailAliases READ emailAliases WRITE setEmailAliases)
90 Q_PROPERTY(
QString vCardFile READ vCardFile WRITE setVCardFile)
91 Q_PROPERTY(
QString fullEmailAddr READ fullEmailAddr)
92 Q_PROPERTY(
QString replyToAddr READ replyToAddr WRITE setReplyToAddr)
93 Q_PROPERTY(
QString bcc READ bcc WRITE setBcc)
94 Q_PROPERTY(
QString cc READ cc WRITE setCc)
95 Q_PROPERTY(
bool attachVcard READ attachVcard WRITE setAttachVcard)
96 Q_PROPERTY(
QString autocorrectionLanguage READ autocorrectionLanguage WRITE setAutocorrectionLanguage)
97 Q_PROPERTY(
bool disabledFcc READ disabledFcc WRITE setDisabledFcc)
98 Q_PROPERTY(
bool pgpAutoSign READ pgpAutoSign WRITE setPgpAutoSign)
99 Q_PROPERTY(
bool pgpAutoEncrypt READ pgpAutoEncrypt WRITE setPgpAutoEncrypt)
100 Q_PROPERTY(
bool autocryptEnabled READ autocryptEnabled WRITE setAutocryptEnabled)
101 Q_PROPERTY(
bool autocryptPrefer READ autocryptPrefer WRITE setAutocryptPrefer)
102 Q_PROPERTY(
bool encryptionOverride READ encryptionOverride WRITE setEncryptionOverride)
103 Q_PROPERTY(
bool warnNotSign READ warnNotSign WRITE setWarnNotSign)
104 Q_PROPERTY(
bool warnNotEncrypt READ warnNotEncrypt WRITE setWarnNotEncrypt)
105 Q_PROPERTY(
QString defaultDomainName READ defaultDomainName WRITE setDefaultDomainName)
106 Q_PROPERTY(
Signature signature READ signature WRITE setSignature)
107 Q_PROPERTY(
QString signatureText READ signatureText)
108 Q_PROPERTY(
bool signatureIsInlinedHtml READ signatureIsInlinedHtml)
109 Q_PROPERTY(
QString transport READ transport WRITE setTransport)
110 Q_PROPERTY(
QString fcc READ fcc WRITE setFcc)
111 Q_PROPERTY(
QString drafts READ drafts WRITE setDrafts)
112 Q_PROPERTY(
QString templates READ templates WRITE setTemplates)
113 Q_PROPERTY(
QString dictionary READ dictionary WRITE setDictionary)
114 Q_PROPERTY(
QString xface READ xface WRITE setXFace)
115 Q_PROPERTY(
bool isXFaceEnabled READ isXFaceEnabled WRITE setXFaceEnabled)
116 Q_PROPERTY(
QString face READ face WRITE setFace)
117 Q_PROPERTY(
bool isFaceEnabled READ isFaceEnabled WRITE setFaceEnabled)
118 Q_PROPERTY(uint uoid READ uoid CONSTANT)
119 Q_PROPERTY(
bool isNull READ isNull)
120 Q_PROPERTY(
QString spam READ spam WRITE setSpam)
121 Q_PROPERTY(
bool disabledSpam READ disabledSpam WRITE setDisabledSpam)
126 friend class IdentityManager;
161 [[nodiscard]]
bool mailingAllowed()
const;
164 [[nodiscard]]
QString identityName()
const;
173 [[nodiscard]] uint uoid()
const;
176 [[nodiscard]]
QString fullName()
const;
177 void setFullName(
const QString &);
180 [[nodiscard]]
QString organization()
const;
181 void setOrganization(
const QString &);
184 [[nodiscard]]
QByteArray pgpEncryptionKey()
const;
185 void setPGPEncryptionKey(
const QByteArray &key);
188 [[nodiscard]]
QByteArray pgpSigningKey()
const;
192 [[nodiscard]]
QByteArray smimeEncryptionKey()
const;
193 void setSMIMEEncryptionKey(
const QByteArray &key);
196 [[nodiscard]]
QByteArray smimeSigningKey()
const;
197 void setSMIMESigningKey(
const QByteArray &key);
199 [[nodiscard]]
QString preferredCryptoMessageFormat()
const;
200 void setPreferredCryptoMessageFormat(
const QString &);
209 [[nodiscard]]
QString primaryEmailAddress()
const;
210 void setPrimaryEmailAddress(
const QString &email);
217 [[nodiscard]]
const QStringList emailAliases()
const;
230 [[nodiscard]]
QString vCardFile()
const;
231 void setVCardFile(
const QString &);
237 [[nodiscard]]
QString fullEmailAddr()
const;
240 [[nodiscard]]
QString replyToAddr()
const;
241 void setReplyToAddr(
const QString &);
244 [[nodiscard]]
QString bcc()
const;
251 [[nodiscard]]
QString cc()
const;
258 [[nodiscard]]
bool attachVcard()
const;
259 void setAttachVcard(
bool attach);
265 [[nodiscard]]
QString autocorrectionLanguage()
const;
266 void setAutocorrectionLanguage(
const QString &language);
272 [[nodiscard]]
bool disabledFcc()
const;
273 void setDisabledFcc(
bool);
279 [[nodiscard]]
bool pgpAutoSign()
const;
280 void setPgpAutoSign(
bool);
286 [[nodiscard]]
bool pgpAutoEncrypt()
const;
287 void setPgpAutoEncrypt(
bool);
293 [[nodiscard]]
bool autocryptEnabled()
const;
294 void setAutocryptEnabled(
const bool);
300 [[nodiscard]]
bool autocryptPrefer()
const;
301 void setAutocryptPrefer(
const bool);
308 [[nodiscard]]
bool encryptionOverride()
const;
309 void setEncryptionOverride(
const bool);
315 [[nodiscard]]
bool warnNotSign()
const;
316 void setWarnNotSign(
const bool);
322 [[nodiscard]]
bool warnNotEncrypt()
const;
323 void setWarnNotEncrypt(
const bool);
329 [[nodiscard]]
QString defaultDomainName()
const;
330 void setDefaultDomainName(
const QString &domainName);
347 [[nodiscard]]
QString signatureText(
bool *ok =
nullptr)
const;
353 [[nodiscard]]
bool signatureIsInlinedHtml()
const;
357 [[nodiscard]]
QString transport()
const;
358 void setTransport(
const QString &);
362 [[nodiscard]]
QString fcc()
const;
368 [[nodiscard]]
QString drafts()
const;
369 void setDrafts(
const QString &);
374 [[nodiscard]]
QString templates()
const;
375 void setTemplates(
const QString &);
383 [[nodiscard]]
QString dictionary()
const;
384 void setDictionary(
const QString &);
387 [[nodiscard]]
QString xface()
const;
388 void setXFace(
const QString &);
389 [[nodiscard]]
bool isXFaceEnabled()
const;
390 void setXFaceEnabled(
bool);
393 [[nodiscard]]
QString face()
const;
395 [[nodiscard]]
bool isFaceEnabled()
const;
396 void setFaceEnabled(
bool);
409 [[nodiscard]]
bool isNull()
const;
411 [[nodiscard]]
static QString mimeDataType();
412 [[nodiscard]]
static bool canDecode(
const QMimeData *);
413 void populateMimeData(
QMimeData *)
const;
440 [[nodiscard]]
const QStringList activities()
const;
443 [[nodiscard]]
bool enabledActivities()
const;
444 void setEnabledActivities(
bool a);
448 [[nodiscard]]
QString spam()
const;
455 [[nodiscard]]
bool disabledSpam()
const;
456 void setDisabledSpam(
bool);
472 void setSignatureFile(
const QString &);
476 void setSignatureInlineText(
const QString &);
482 bool mIsDefault =
false;