Messagelib

attachmentclipboardjob.h
1 /*
2  SPDX-FileCopyrightText: 2015-2023 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "MessageCore/AttachmentLoadJob"
10 #include "messagecomposer_export.h"
11 namespace MessageComposer
12 {
13 /**
14  * @brief The AttachmentClipBoardJob class
15  * @author Laurent Montel <[email protected]>
16  */
17 class MESSAGECOMPOSER_EXPORT AttachmentClipBoardJob : public MessageCore::AttachmentLoadJob
18 {
19  Q_OBJECT
20 public:
21  explicit AttachmentClipBoardJob(QObject *parent = nullptr);
22  ~AttachmentClipBoardJob() override;
23 
24 protected Q_SLOTS:
25  void doStart() override;
26 
27 private:
28  MESSAGECOMPOSER_NO_EXPORT void addAttachment(const QByteArray &data, const QString &attachmentName);
29 };
30 }
Simple interface that both EncryptJob and SignEncryptJob implement so the composer can extract some e...
The AttachmentClipBoardJob class.
A base class for jobs to load attachments from different sources.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Oct 3 2023 03:53:46 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.