Commit 5511f97d authored by Laurent Montel's avatar Laurent Montel 😁

Add abstractregexpeditorlineedit

parent 352160bb
cmake_minimum_required(VERSION 3.0)
set(PIM_VERSION "5.5.41")
set(PIM_VERSION "5.5.42")
project(libksieve VERSION ${PIM_VERSION})
......
......@@ -200,6 +200,7 @@ set(ksieveui_LIB_SRCS
widgets/managesievetreeview.cpp
widgets/managesievewidget.cpp
widgets/abstractmoveimapfolderwidget.cpp
widgets/abstractregexpeditorlineedit.cpp
debug/sievedebugdialog.cpp
templates/sievetemplatewidget.cpp
templates/sievedefaulttemplate.cpp
......@@ -323,6 +324,7 @@ ecm_generate_headers(ksieveui_Camelcasewidgets_HEADERS
SieveTreeWidgetItem
ManageSieveTreeView
AbstractMoveImapFolderWidget
AbstractRegexpEditorLineEdit
REQUIRED_HEADERS ksieveui_widgets_HEADERS
PREFIX KSieveUi
RELATIVE widgets
......
......@@ -95,7 +95,6 @@ void SieveEditorGraphicalModeWidgetTest::shouldLoadScripts()
QEXPECT_FAIL("test-current-date", "Expected failure on current-date file. We depend against current date", Continue);
QEXPECT_FAIL("delete-headers-with-index", "Expected failure on delete-headers-with-index file. We depend against \"index\" feature", Continue);
QEXPECT_FAIL("foreverypart", "Expected failure on foreverypart file. A lot of parsing errors.", Continue);
QEXPECT_FAIL("test-current-date-custom", "Expected failure on test-current-date-custom file. CurrentDate + variable not implemented.", Continue);
QEXPECT_FAIL("failed-1", "Expected failure on failed-1 file. anyof + allof.", Continue);
......
/*
Copyright (C) 2017 Laurent Montel <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 as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This program 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; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "abstractregexpeditorlineedit.h"
using namespace KSieveUi;
AbstractRegexpEditorLineEdit::AbstractRegexpEditorLineEdit(QWidget *parent)
: QWidget(parent)
{
}
AbstractRegexpEditorLineEdit::~AbstractRegexpEditorLineEdit()
{
}
/*
Copyright (C) 2017 Laurent Montel <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 as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This program 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; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef ABSTRACTREGEXPEDITORLINEEDIT_H
#define ABSTRACTREGEXPEDITORLINEEDIT_H
#include <QWidget>
#include "ksieveui_export.h"
namespace KSieveUi {
class KSIEVEUI_EXPORT AbstractRegexpEditorLineEdit : public QWidget
{
Q_OBJECT
public:
explicit AbstractRegexpEditorLineEdit(QWidget *parent = nullptr);
~AbstractRegexpEditorLineEdit();
};
}
#endif // ABSTRACTREGEXPEDITORLINEEDIT_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