Messagelib
7 #include "dkimresultattribute.h"
10 using namespace MessageViewer;
11 class MessageViewer::DKIMResultAttributePrivate
14 DKIMResultAttributePrivate() =
default;
21 DKIMResultAttribute::DKIMResultAttribute()
22 : d(new DKIMResultAttributePrivate)
26 DKIMResultAttribute::~DKIMResultAttribute() =
default;
30 static const QByteArray sType(
"DKIMResultAttribute");
34 DKIMResultAttribute *DKIMResultAttribute::clone()
const
36 auto attr =
new DKIMResultAttribute();
37 attr->setWarning(warning());
39 attr->setError(
error());
43 QByteArray DKIMResultAttribute::serialized()
const
53 void DKIMResultAttribute::deserialize(
const QByteArray &data)
67 bool DKIMResultAttribute::operator==(
const DKIMResultAttribute &other)
const
69 return d->error == other.error() && d->warning == other.warning() && d->status == other.status();
72 void DKIMResultAttribute::setError(
int err)
77 int DKIMResultAttribute::error()
const
82 void DKIMResultAttribute::setWarning(
int err)
87 int DKIMResultAttribute::warning()
const
92 void DKIMResultAttribute::setStatus(
int err)
97 int DKIMResultAttribute::status()
const
void error(QWidget *parent, const QString &text, const QString &caption=QString(), Options options=Notify)
NETWORKMANAGERQT_EXPORT NetworkManager::Status status()
int stat(const QString &path, KDE_struct_stat *buf)
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Tue May 17 2022 04:00:04 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.