Commit 8e9f9b0c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Move not exported method to private file

parent b1b7276a
......@@ -18,7 +18,7 @@
#include "templatessyntaxhighlighterrules.h"
#include <QTextListFormat>
#include "templatesutil.h"
#include "templatesutil_p.h"
#include <QPalette>
#include <KPIMTextEdit/SyntaxHighlighterBase>
using namespace TemplateParser;
......
......@@ -16,7 +16,7 @@
*/
#include "templatestexteditor.h"
#include "templatesutil.h"
#include "templatesutil_p.h"
#include "templatessyntaxhighlighterrules.h"
#include <KPIMTextEdit/TextEditorCompleter>
#include <KPIMTextEdit/SyntaxHighlighterBase>
......
......@@ -16,6 +16,7 @@
*/
#include "templatesutil.h"
#include "templatesutil_p.h"
#include <KConfigGroup>
#include <KSharedConfig>
......
......@@ -21,18 +21,11 @@
#include "templateparser_export.h"
class QString;
class QStringList;
namespace TemplateParser
{
namespace Util
{
TEMPLATEPARSER_EXPORT void deleteTemplate(const QString &id);
QStringList keywords();
QStringList keywordsWithArgs();
QStringList keywordsWithArgsForCompleter();
}
}
......
/*
Copyright (c) 2011-2017 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This progam 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
General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef TEMPLATEPARSER_TEMPLATESUTIL_P_H
#define TEMPLATEPARSER_TEMPLATESUTIL_P_H
#include "templateparser_export.h"
class QString;
class QStringList;
namespace TemplateParser
{
namespace Util
{
QStringList keywords();
QStringList keywordsWithArgs();
QStringList keywordsWithArgsForCompleter();
}
}
#endif
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