Messagelib
7#include "dkimcheckauthenticationstatusjob.h"
8#include "dkimauthenticationstatusinfo.h"
9#include "messageviewer_dkimcheckerdebug.h"
10#include <KMime/Message>
11using namespace MessageViewer;
13DKIMCheckAuthenticationStatusJob::DKIMCheckAuthenticationStatusJob(
QObject *parent)
18DKIMCheckAuthenticationStatusJob::~DKIMCheckAuthenticationStatusJob() =
default;
20void DKIMCheckAuthenticationStatusJob::start()
31 DKIMAuthenticationStatusInfo info;
32 while (!
str.isEmpty()) {
33 if (!info.parseAuthenticationStatus(
str, mUseRelaxedParsing)) {
44bool DKIMCheckAuthenticationStatusJob::canStart()
const
46 return mHeaderParser.wasAlreadyParsed();
49void DKIMCheckAuthenticationStatusJob::setHeaderParser(
const DKIMHeaderParser &headerParser)
54bool DKIMCheckAuthenticationStatusJob::useRelaxedParsing()
const
56 return mUseRelaxedParsing;
59void DKIMCheckAuthenticationStatusJob::setUseRelaxedParsing(
bool useRelaxedParsing)
61 mUseRelaxedParsing = useRelaxedParsing;
64#include "moc_dkimcheckauthenticationstatusjob.cpp"
T qobject_cast(QObject *object)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:12:43 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.