Messagelib

maintextjob.h
1 /*
2  SPDX-FileCopyrightText: 2009 Constantin Berzan <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #ifndef MESSAGECOMPOSER_MAINTEXTJOB_H
8 #define MESSAGECOMPOSER_MAINTEXTJOB_H
9 
10 #include "contentjobbase.h"
11 #include "messagecomposer_export.h"
12 
13 namespace MessageComposer {
14 class MainTextJobPrivate;
15 class TextPart;
19 class MESSAGECOMPOSER_EXPORT MainTextJob : public ContentJobBase
20 {
21  Q_OBJECT
22 
23 public:
24  explicit MainTextJob(TextPart *textPart = nullptr, QObject *parent = nullptr);
25  ~MainTextJob() override;
26 
27  Q_REQUIRED_RESULT TextPart *textPart() const;
28  void setTextPart(TextPart *part);
29 
30 protected Q_SLOTS:
31  void doStart() override;
32  void process() override;
33 
34 private:
35  Q_DECLARE_PRIVATE(MainTextJob)
36 };
37 } // namespace MessageComposer
38 
39 #endif
Simple interface that both EncryptJob and SignEncryptJob implement so the composer can extract some e...
The TextPart class.
Definition: textpart.h:20
The MainTextJob class.
Definition: maintextjob.h:19
The ContentJobBase class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Sep 22 2020 23:14:01 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.