Messagelib

templateconvertcommandjob.cpp
1 /*
2  SPDX-FileCopyrightText: 2018-2021 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #include "templateconvertcommandjob.h"
8 
9 using namespace TemplateParser;
10 
11 TemplateConvertCommandJob::TemplateConvertCommandJob(QObject *parent)
12  : QObject(parent)
13 {
14 }
15 
16 TemplateConvertCommandJob::~TemplateConvertCommandJob() = default;
17 
18 QString TemplateConvertCommandJob::convertText()
19 {
20  return {};
21 }
22 
23 QString TemplateConvertCommandJob::currentText() const
24 {
25  return mCurrentText;
26 }
27 
28 void TemplateConvertCommandJob::setCurrentText(const QString &currentText)
29 {
30  mCurrentText = currentText;
31 }
32 
33 KMime::Message::Ptr TemplateConvertCommandJob::originalMessage() const
34 {
35  return mOriginalMessage;
36 }
37 
38 void TemplateConvertCommandJob::setOriginalMessage(const KMime::Message::Ptr &originalMessage)
39 {
40  mOriginalMessage = originalMessage;
41 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sun Dec 5 2021 23:04:55 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.