Messagelib

itipjob.h
1 /*
2  SPDX-FileCopyrightText: 2023 Daniel Vr├ítil <dvratil@kde.org>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "contentjobbase.h"
10 #include "messagecomposer_export.h"
11 
12 namespace MessageComposer
13 {
14 class ItipJobPrivate;
15 class ItipPart;
16 /**
17  * @brief The ItipJob class
18  */
19 class MESSAGECOMPOSER_EXPORT ItipJob : public ContentJobBase
20 {
21  Q_OBJECT
22 
23 public:
24  explicit ItipJob(ItipPart *itipPart = nullptr, QObject *parent = nullptr);
25  ~ItipJob() override;
26 
27  [[nodiscard]] ItipPart *itipPart() const;
28  void setItipPart(ItipPart *part);
29 
30 protected Q_SLOTS:
31  void doStart() override;
32  void process() override;
33 
34 private:
35  Q_DECLARE_PRIVATE(ItipJob)
36 };
37 }
Simple interface that both EncryptJob and SignEncryptJob implement so the composer can extract some e...
The ItipJob class.
Definition: itipjob.h:19
The ItipPart class.
Definition: itippart.h:20
The ContentJobBase class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Feb 15 2024 03:55:20 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.