Commit 5bbde76d authored by Laurent Montel's avatar Laurent Montel 😁

Add action element

parent 8943cb2a
cmake_minimum_required(VERSION 3.0)
set(PIM_VERSION "5.7.48")
set(PIM_VERSION "5.7.49")
if (POLICY CMP0053)
cmake_policy(SET CMP0053 NEW)
......
......@@ -14,6 +14,7 @@ set(templateparser_LIB_SRCS
templatesconfiguration.cpp
templatesinsertcommandpushbutton.cpp
templatescommandmenu.cpp
templatesinsertcommandaction.cpp
templatestextedit.cpp
templatestexteditor.cpp
templatewebengineview.cpp
......@@ -83,6 +84,7 @@ ecm_generate_headers(TemplateParser_CamelCase_HEADERS
TemplatesTextEdit
TemplatesUtil
TemplatesInsertCommandPushButton
TemplatesInsertCommandAction
TemplateParserJob
TemplateParserExtractHtmlInfoResult
TemplateParserEmailAddressRequesterBase
......
/*
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 "templatesinsertcommandaction.h"
using namespace TemplateParser;
TemplatesInsertCommandAction::TemplatesInsertCommandAction(QObject *parent)
: QAction(parent)
{
}
TemplatesInsertCommandAction::~TemplatesInsertCommandAction()
{
}
/*
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 TEMPLATESINSERTCOMMANDACTION_H
#define TEMPLATESINSERTCOMMANDACTION_H
#include <QAction>
#include "templateparser_export.h"
namespace TemplateParser {
class TEMPLATEPARSER_EXPORT TemplatesInsertCommandAction : public QAction
{
Q_OBJECT
public:
explicit TemplatesInsertCommandAction(QObject *parent = nullptr);
~TemplatesInsertCommandAction();
};
}
#endif // TEMPLATESINSERTCOMMANDACTION_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