Messagelib
9 #include "messageviewer_private_export.h"
12 namespace MessageViewer
14 class MESSAGEVIEWER_TESTS_EXPORT DKIMAuthenticationStatusInfo
17 DKIMAuthenticationStatusInfo();
19 struct AuthStatusInfo {
23 Q_REQUIRED_RESULT
bool isValid()
const
25 return !type.isEmpty() && !value.
isEmpty();
30 return other.type == type && other.value == value;
37 int methodVersion = -1;
45 Q_REQUIRED_RESULT
bool operator==(
const AuthStatusInfo &other)
const;
46 Q_REQUIRED_RESULT
bool isValid()
const;
49 Q_REQUIRED_RESULT
QString authservId()
const;
50 void setAuthservId(
const QString &authservId);
52 Q_REQUIRED_RESULT
bool parseAuthenticationStatus(
const QString &key,
bool relaxingParsing);
54 Q_REQUIRED_RESULT
int authVersion()
const;
55 void setAuthVersion(
int authVersion);
57 Q_REQUIRED_RESULT
QString reasonSpec()
const;
58 void setReasonSpec(
const QString &reasonSpec);
60 Q_REQUIRED_RESULT
bool operator==(
const DKIMAuthenticationStatusInfo &other)
const;
66 Q_REQUIRED_RESULT AuthStatusInfo parseAuthResultInfo(
QString &valueKey,
bool relaxingParsing);
70 int mAuthVersion = -1;
73 Q_DECLARE_METATYPE(MessageViewer::DKIMAuthenticationStatusInfo)
74 Q_DECLARE_TYPEINFO(MessageViewer::DKIMAuthenticationStatusInfo::AuthStatusInfo, Q_MOVABLE_TYPE);
QDataStream & operator<<(QDataStream &out, const KDateTime &dateTime)
bool operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
bool isEmpty() const const
bool isValid(QStringView ifopt)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Mar 24 2023 04:08:31 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.