Messagelib

dkimstoreresultjob.h
1/*
2 SPDX-FileCopyrightText: 2019-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "messageviewer_private_export.h"
10#include <Akonadi/Item>
11#include <MessageViewer/DKIMCheckSignatureJob>
12#include <QObject>
13class KJob;
14namespace MessageViewer
15{
16class MESSAGEVIEWER_TESTS_EXPORT DKIMStoreResultJob : public QObject
17{
18 Q_OBJECT
19public:
20 explicit DKIMStoreResultJob(QObject *parent = nullptr);
21 ~DKIMStoreResultJob() override;
22
23 void start();
24 [[nodiscard]] bool canStart() const;
25
26 void setResult(const MessageViewer::DKIMCheckSignatureJob::CheckSignatureResult &checkResult);
27 void setItem(const Akonadi::Item &item);
28
29private:
30 MESSAGEVIEWER_NO_EXPORT void slotModifyItemDone(KJob *job);
31 MessageViewer::DKIMCheckSignatureJob::CheckSignatureResult mResult;
32 Akonadi::Item mItem;
33};
34}
Q_SCRIPTABLE Q_NOREPLY void start()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 19 2024 11:56:56 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.