7#include "dkimresultattribute.h"
11using namespace MessageViewer;
12class MessageViewer::DKIMResultAttributePrivate
15 DKIMResultAttributePrivate() =
default;
22DKIMResultAttribute::DKIMResultAttribute()
23 : d(new DKIMResultAttributePrivate)
27DKIMResultAttribute::~DKIMResultAttribute() =
default;
31 static const QByteArray sType(
"DKIMResultAttribute");
35DKIMResultAttribute *DKIMResultAttribute::clone()
const
37 auto attr =
new DKIMResultAttribute();
38 attr->setWarning(warning());
39 attr->setStatus(status());
40 attr->setError(error());
44QByteArray DKIMResultAttribute::serialized()
const
55void DKIMResultAttribute::deserialize(
const QByteArray &data)
70bool DKIMResultAttribute::operator==(
const DKIMResultAttribute &other)
const
72 return d->error == other.error() && d->warning == other.warning() && d->status == other.status();
75void DKIMResultAttribute::setError(
int err)
80int DKIMResultAttribute::error()
const
85void DKIMResultAttribute::setWarning(
int err)
90int DKIMResultAttribute::warning()
const
95void DKIMResultAttribute::setStatus(
int err)
100int DKIMResultAttribute::status()
const
KIOCORE_EXPORT StatJob * stat(const QUrl &url, JobFlags flags=DefaultFlags)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:13 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.