Messagelib

sendlatercreatejob.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 "sendlaterinfo.h"
10 #include "sendlaterjob.h"
11 
12 #include "messagecomposer_export.h"
13 
14 namespace MessageComposer
15 {
16 class MESSAGECOMPOSER_EXPORT SendLaterCreateJob : public SendLaterJob
17 {
18  Q_OBJECT
19 public:
20  explicit SendLaterCreateJob(const SendLaterInfo &info, QObject *parent = nullptr);
21 
22 protected:
23  Q_REQUIRED_RESULT QDBusPendingReply<> doCall(OrgFreedesktopAkonadiSendLaterAgentInterface *iface) override;
24  Q_REQUIRED_RESULT QString getErrorString(SendLaterJob::Error code, const QString &detail) const override;
25 
26 private:
27  const SendLaterInfo mInfo;
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.