8#include "messageviewer_export.h"
11namespace MessageViewer
21 enum class RuleType : uint8_t {
25 IgnoreEmailNotSigned = 3,
30 [[nodiscard]]
QString domain()
const;
31 void setDomain(
const QString &domain);
33 [[nodiscard]]
QStringList signedDomainIdentifier()
const;
34 void setSignedDomainIdentifier(
const QStringList &signedDomainIdentifier);
36 [[nodiscard]]
QString from()
const;
37 void setFrom(
const QString &from);
39 [[nodiscard]]
bool enabled()
const;
40 void setEnabled(
bool enabled);
42 [[nodiscard]]
bool isValid()
const;
44 [[nodiscard]] RuleType ruleType()
const;
45 void setRuleType(MessageViewer::DKIMRule::RuleType ruleType);
47 [[nodiscard]]
QString listId()
const;
48 void setListId(
const QString &listId);
50 [[nodiscard]]
bool operator==(
const DKIMRule &other)
const;
51 [[nodiscard]]
bool operator!=(
const DKIMRule &other)
const;
53 [[nodiscard]]
int priority()
const;
54 void setPriority(
int priority);
61 RuleType mRuleType = DKIMRule::RuleType::Unknown;
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:48:01 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.