Messagelib

plugineditorconverterinitialdata.h
1 /*
2  SPDX-FileCopyrightText: 2018-2023 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "messagecomposer_export.h"
10 #include <KMime/Message>
11 namespace MessageComposer
12 {
13 /**
14  * @brief The PluginEditorConverterInitialData class
15  * @author Laurent Montel <[email protected]>
16  */
17 class MESSAGECOMPOSER_EXPORT PluginEditorConverterInitialData
18 {
19 public:
21 
22  Q_REQUIRED_RESULT bool newMessage() const;
23  void setNewMessage(bool newMessage);
24 
25  Q_REQUIRED_RESULT KMime::Message::Ptr mewMsg() const;
26  void setMewMsg(const KMime::Message::Ptr &mewMsg);
27 
28 private:
29  KMime::Message::Ptr mMewMsg;
30  bool mNewMessage = true;
31 };
32 }
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-2023 The KDE developers.
Generated on Sat Apr 1 2023 04:01:57 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.