Messagelib

sendlaterremovejob.h
1/*
2 SPDX-FileCopyrightText: 2020 Daniel Vrátil <dvratil@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "messagecomposer_export.h"
10#include "sendlaterjob.h"
11
12#include <Akonadi/Item>
13
14namespace MessageComposer
15{
16class MESSAGECOMPOSER_EXPORT SendLaterRemoveJob : public SendLaterJob
17{
18 Q_OBJECT
19public:
20 explicit SendLaterRemoveJob(Akonadi::Item::Id item, QObject *parent = nullptr);
21
22protected:
23 [[nodiscard]] QDBusPendingReply<> doCall(OrgFreedesktopAkonadiSendLaterAgentInterface *iface) override;
24 [[nodiscard]] QString getErrorString(Error error, const QString &detail) const override;
25
26private:
27 const Akonadi::Item::Id mItem;
28};
29}
Simple interface that both EncryptJob and SignEncryptJob implement so the composer can extract some e...
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:08:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.