Messagelib

maintextjob.h
1/*
2 SPDX-FileCopyrightText: 2009 Constantin Berzan <exit3219@gmail.com>
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
12namespace MessageComposer
13{
14class MainTextJobPrivate;
15class TextPart;
16/**
17 * @brief The MainTextJob class
18 */
19class MESSAGECOMPOSER_EXPORT MainTextJob : public ContentJobBase
20{
21 Q_OBJECT
22
23public:
24 explicit MainTextJob(TextPart *textPart = nullptr, QObject *parent = nullptr);
25 ~MainTextJob() override;
26
27 [[nodiscard]] TextPart *textPart() const;
28 void setTextPart(TextPart *part);
29
30protected Q_SLOTS:
31 void doStart() override;
32 void process() override;
33
34private:
35 Q_DECLARE_PRIVATE(MainTextJob)
36};
37} // namespace MessageComposer
The ContentJobBase class.
The MainTextJob class.
Definition maintextjob.h:20
The TextPart class.
Definition textpart.h:21
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 Sat Dec 21 2024 16:59:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.