Messagelib

sendlatercreatejob.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 "sendlaterinfo.h"
10#include "sendlaterjob.h"
11
12#include "messagecomposer_export.h"
13
14namespace MessageComposer
15{
16class MESSAGECOMPOSER_EXPORT SendLaterCreateJob : public SendLaterJob
17{
18 Q_OBJECT
19public:
20 explicit SendLaterCreateJob(const SendLaterInfo &info, QObject *parent = nullptr);
21
22protected:
23 [[nodiscard]] QDBusPendingReply<> doCall(OrgFreedesktopAkonadiSendLaterAgentInterface *iface) override;
24 [[nodiscard]] QString getErrorString(SendLaterJob::Error code, const QString &detail) const override;
25
26private:
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-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.