Messagelib

sendlaterremovejob.h
1 /*
2  SPDX-FileCopyrightText: 2020 Daniel Vrátil <[email protected]>
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 
14 namespace MessageComposer
15 {
16 class MESSAGECOMPOSER_EXPORT SendLaterRemoveJob : public SendLaterJob
17 {
18  Q_OBJECT
19 public:
20  explicit SendLaterRemoveJob(Akonadi::Item::Id item, QObject *parent = nullptr);
21 
22 protected:
23  Q_REQUIRED_RESULT QDBusPendingReply<> doCall(OrgFreedesktopAkonadiSendLaterAgentInterface *iface) override;
24  Q_REQUIRED_RESULT QString getErrorString(Error error, const QString &detail) const override;
25 
26 private:
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-2023 The KDE developers.
Generated on Wed Mar 22 2023 04:07:15 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.