Commit c452fdcd authored by Laurent Montel's avatar Laurent Montel 😁

Remove it. Never implemented

parent dfecdc79
......@@ -162,11 +162,6 @@ set(libmailcommon_util_SRCS
)
set(libmailcommon_plugincheckbeforeclosing_SRCS
plugincheckbeforeclosing/plugincheckbeforeclosing.cpp
plugincheckbeforeclosing/plugincheckbeforeclosinginterface.cpp
)
set(libmailcommon_SRCS
kernel/mailkernel.cpp
${libmailcommon_filter_dialog}
......@@ -181,7 +176,6 @@ set(libmailcommon_SRCS
${libmailcommon_collection_SRCS}
${libmailcommon_folder_SRCS}
${libmailcommon_filter_SRCS}
${libmailcommon_plugincheckbeforeclosing_SRCS}
)
kconfig_add_kcfg_files(libmailcommon_SRCS
settings/mailcommonsettings_base.kcfgc
......@@ -267,7 +261,6 @@ if (BUILD_TESTING)
add_subdirectory(filter/tests)
add_subdirectory(search/autotests)
add_subdirectory(mdn/autotests/)
add_subdirectory(plugincheckbeforeclosing/autotests)
endif()
ecm_generate_headers(MailCommon_CamelCase_HEADERS
......
macro(add_mailcommon_plugincheckbeforeclosing_test _name)
ecm_add_test(${ARGN}
TEST_NAME ${_name}
NAME_PREFIX "mailcommon-plugincheckbeforeclosing-"
LINK_LIBRARIES Qt5::Test Qt5::Gui KF5::MailCommon
)
endmacro()
add_mailcommon_plugincheckbeforeclosing_test(plugincheckbeforeclosingtest plugincheckbeforeclosingtest.cpp)
add_mailcommon_plugincheckbeforeclosing_test(plugincheckbeforeclosinginterfacetest plugincheckbeforeclosinginterfacetest.cpp)
/*
Copyright (c) 2016-2017 Montel Laurent <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 "plugincheckbeforeclosinginterfacetest.h"
#include <QTest>
PluginCheckBeforeClosingInterfaceTest::PluginCheckBeforeClosingInterfaceTest(QObject *parent)
: QObject(parent)
{
}
PluginCheckBeforeClosingInterfaceTest::~PluginCheckBeforeClosingInterfaceTest()
{
}
QTEST_MAIN(PluginCheckBeforeClosingInterfaceTest)
/*
Copyright (c) 2016-2017 Montel Laurent <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 PLUGINCHECKBEFORECLOSINGINTERFACETEST_H
#define PLUGINCHECKBEFORECLOSINGINTERFACETEST_H
#include <QObject>
class PluginCheckBeforeClosingInterfaceTest : public QObject
{
Q_OBJECT
public:
explicit PluginCheckBeforeClosingInterfaceTest(QObject *parent = nullptr);
~PluginCheckBeforeClosingInterfaceTest();
};
#endif // PLUGINCHECKBEFORECLOSINGINTERFACETEST_H
/*
Copyright (c) 2016-2017 Montel Laurent <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 "plugincheckbeforeclosingtest.h"
#include <QTest>
PluginCheckBeforeClosingTest::PluginCheckBeforeClosingTest(QObject *parent)
: QObject(parent)
{
}
PluginCheckBeforeClosingTest::~PluginCheckBeforeClosingTest()
{
}
QTEST_MAIN(PluginCheckBeforeClosingTest)
/*
Copyright (c) 2016-2017 Montel Laurent <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 PLUGINCHECKBEFORECLOSINGTEST_H
#define PLUGINCHECKBEFORECLOSINGTEST_H
#include <QObject>
class PluginCheckBeforeClosingTest : public QObject
{
Q_OBJECT
public:
explicit PluginCheckBeforeClosingTest(QObject *parent = nullptr);
~PluginCheckBeforeClosingTest();
};
#endif // PLUGINCHECKBEFORECLOSINGTEST_H
/*
Copyright (c) 2016-2017 Montel Laurent <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 "plugincheckbeforeclosing.h"
using namespace MailCommon;
PluginCheckBeforeClosing::PluginCheckBeforeClosing(QObject *parent)
: QObject(parent)
{
}
PluginCheckBeforeClosing::~PluginCheckBeforeClosing()
{
}
/*
Copyright (c) 2016 Montel Laurent <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 PLUGINCHECKBEFORECLOSING_H
#define PLUGINCHECKBEFORECLOSING_H
#include <QObject>
#include "mailcommon_export.h"
namespace MailCommon
{
class MAILCOMMON_EXPORT PluginCheckBeforeClosing : public QObject
{
Q_OBJECT
public:
explicit PluginCheckBeforeClosing(QObject *parent = nullptr);
~PluginCheckBeforeClosing();
};
}
#endif // PLUGINCHECKBEFORECLOSING_H
/*
Copyright (c) 2016-2017 Montel Laurent <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 "plugincheckbeforeclosinginterface.h"
PluginCheckBeforeClosingInterface::PluginCheckBeforeClosingInterface(QObject *parent)
: QObject(parent)
{
}
PluginCheckBeforeClosingInterface::~PluginCheckBeforeClosingInterface()
{
}
/*
Copyright (c) 2016 Montel Laurent <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 PLUGINCHECKBEFORECLOSINGINTERFACE_H
#define PLUGINCHECKBEFORECLOSINGINTERFACE_H
#include <QObject>
class PluginCheckBeforeClosingInterface : public QObject
{
Q_OBJECT
public:
explicit PluginCheckBeforeClosingInterface(QObject *parent = nullptr);
~PluginCheckBeforeClosingInterface();
};
#endif // PLUGINCHECKBEFORECLOSINGINTERFACE_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