Messagelib

transparentjob.h
1/*
2 SPDX-FileCopyrightText: 2009 Klaralvdalens Datakonsult AB, a KDAB Group company, info@kdab.net
3 SPDX-FileCopyrightText: 2009 Leo Franchi <lfranchi@kde.org>
4
5 SPDX-License-Identifier: LGPL-2.0-or-later
6*/
7
8#pragma once
9
10#include "contentjobbase.h"
11#include "messagecomposer_export.h"
12
13namespace MessageComposer
14{
15class TransparentJobPrivate;
16
17/**
18 A job that just wraps some KMime::Content into a job object
19 for use as a subjob in another job.
20 */
21class MESSAGECOMPOSER_EXPORT TransparentJob : public MessageComposer::ContentJobBase
22{
23 Q_OBJECT
24
25public:
26 explicit TransparentJob(QObject *parent = nullptr);
27 ~TransparentJob() override;
28
29 void setContent(KMime::Content *content);
30 void process() override;
31
32private:
33 Q_DECLARE_PRIVATE(TransparentJob)
34};
35}
The ContentJobBase class.
A job that just wraps some KMime::Content into a job object for use as a subjob in another job.
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 4 2024 16:33:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.