Commit 0720d1e9 authored by Laurent Montel's avatar Laurent Montel 😁

Start to create job for convertir plain text which has some template command

parent f2d8da1c
......@@ -25,6 +25,7 @@ set(templateparser_LIB_SRCS
templateparseremailaddressrequesterbase.cpp
templateparseremailaddressrequesterlineedit.cpp
templateparseremailaddressrequesterinterfacewidget.cpp
templateconvertcommandjob.cpp
)
......@@ -89,6 +90,7 @@ ecm_generate_headers(TemplateParser_CamelCase_HEADERS
TemplateParserJob
TemplateParserExtractHtmlInfoResult
TemplateParserEmailAddressRequesterBase
TemplateConvertCommandJob
REQUIRED_HEADERS TemplateParser_HEADERS
PREFIX TemplateParser
)
......
/*
Copyright (C) 2018 Laurent Montel <montel@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "templateconvertcommandjob.h"
using namespace TemplateParser;
TemplateConvertCommandJob::TemplateConvertCommandJob(QObject *parent)
: QObject(parent)
{
}
TemplateConvertCommandJob::~TemplateConvertCommandJob()
{
}
/*
Copyright (C) 2018 Laurent Montel <montel@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef TEMPLATECONVERTCOMMANDJOB_H
#define TEMPLATECONVERTCOMMANDJOB_H
#include <QObject>
#include "templateparser_export.h"
namespace TemplateParser {
class TEMPLATEPARSER_EXPORT TemplateConvertCommandJob : public QObject
{
Q_OBJECT
public:
explicit TemplateConvertCommandJob(QObject *parent = nullptr);
~TemplateConvertCommandJob();
void start();
};
}
#endif // TEMPLATECONVERTCOMMANDJOB_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment