Messagelib

multipartjob.h
1 /*
2  SPDX-FileCopyrightText: 2009 Constantin Berzan <[email protected]>
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 MultipartJobPrivate;
15 
16 /**
17  * @brief The MultipartJob class
18  */
19 class MESSAGECOMPOSER_EXPORT MultipartJob : public ContentJobBase
20 {
21  Q_OBJECT
22 
23 public:
24  explicit MultipartJob(QObject *parent = nullptr);
25  ~MultipartJob() override;
26 
27  Q_REQUIRED_RESULT QByteArray multipartSubtype() const;
28  void setMultipartSubtype(const QByteArray &subtype);
29 
30 protected Q_SLOTS:
31  void process() override;
32 
33 private:
34  Q_DECLARE_PRIVATE(MultipartJob)
35 };
36 }
Simple interface that both EncryptJob and SignEncryptJob implement so the composer can extract some e...
The MultipartJob class.
Definition: multipartjob.h:19
The ContentJobBase class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Mar 26 2023 04:08:11 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.