diff --git a/plugins/messageviewerheaderplugins/CMakeLists.txt b/plugins/messageviewerheaderplugins/CMakeLists.txt index 96ea7268..4a07b11f 100644 --- a/plugins/messageviewerheaderplugins/CMakeLists.txt +++ b/plugins/messageviewerheaderplugins/CMakeLists.txt @@ -1,13 +1,12 @@ add_definitions(-DTRANSLATION_DOMAIN=\"messageviewerheaderplugins\") -add_subdirectory(allheaderstyleplugin) add_subdirectory(briefheaderstyleplugin) add_subdirectory(enterpriseheaderstyleplugin) add_subdirectory(fancyheaderstyleplugin) add_subdirectory(grantleeheaderstyleplugin) add_subdirectory(longheaderstyleplugin) add_subdirectory(standardsheaderstyleplugin) if(BUILD_TESTING) add_subdirectory(autotests) add_subdirectory(tests) endif() diff --git a/plugins/messageviewerheaderplugins/allheaderstyleplugin/CMakeLists.txt b/plugins/messageviewerheaderplugins/allheaderstyleplugin/CMakeLists.txt deleted file mode 100644 index 4407539f..00000000 --- a/plugins/messageviewerheaderplugins/allheaderstyleplugin/CMakeLists.txt +++ /dev/null @@ -1,15 +0,0 @@ -set(messageviewer_allheaderstyleplugin_SRCS - allheaderstyleplugin.cpp - allheaderstyleinterface.cpp - allheaderstrategy.cpp -) - -kcoreaddons_add_plugin(messageviewer_allheaderstyleplugin JSON messageviewer_allheaderstyleplugin.json SOURCES - ${messageviewer_allheaderstyleplugin_SRCS} INSTALL_NAMESPACE messageviewer) - - -target_link_libraries(messageviewer_allheaderstyleplugin - KF5::MessageViewer - KF5::XmlGui - KF5::I18n -) diff --git a/plugins/messageviewerheaderplugins/allheaderstyleplugin/allheaderstrategy.cpp b/plugins/messageviewerheaderplugins/allheaderstyleplugin/allheaderstrategy.cpp deleted file mode 100644 index 7d399160..00000000 --- a/plugins/messageviewerheaderplugins/allheaderstyleplugin/allheaderstrategy.cpp +++ /dev/null @@ -1,31 +0,0 @@ -/* - Copyright (C) 2015-2018 Montel Laurent - - 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 "allheaderstrategy.h" - -using namespace MessageViewer; - -AllHeaderStrategy::AllHeaderStrategy() - : HeaderStrategy() -{ -} - -AllHeaderStrategy::~AllHeaderStrategy() -{ -} diff --git a/plugins/messageviewerheaderplugins/allheaderstyleplugin/allheaderstrategy.h b/plugins/messageviewerheaderplugins/allheaderstyleplugin/allheaderstrategy.h deleted file mode 100644 index fd37b04f..00000000 --- a/plugins/messageviewerheaderplugins/allheaderstyleplugin/allheaderstrategy.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - Copyright (C) 2015-2018 Montel Laurent - - 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 ALLHEADERSTRATEGY_H -#define ALLHEADERSTRATEGY_H - -#include - -namespace MessageViewer { -class AllHeaderStrategy : public HeaderStrategy -{ -public: - AllHeaderStrategy(); - ~AllHeaderStrategy(); - - const char *name() const override - { - return "all"; - } - - DefaultPolicy defaultPolicy() const override - { - return Display; - } - - bool showHeader(const QString &) const override - { - return true; // more efficient than default impl - } -}; -} -#endif // ALLHEADERSTRATEGY_H diff --git a/plugins/messageviewerheaderplugins/allheaderstyleplugin/allheaderstyleinterface.cpp b/plugins/messageviewerheaderplugins/allheaderstyleplugin/allheaderstyleinterface.cpp deleted file mode 100644 index 31e5b5ed..00000000 --- a/plugins/messageviewerheaderplugins/allheaderstyleplugin/allheaderstyleinterface.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/* - Copyright (C) 2015-2018 Montel Laurent - - 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 "allheaderstyleinterface.h" -#include -#include -#include -using namespace MessageViewer; -AllHeaderStyleInterface::AllHeaderStyleInterface(MessageViewer::HeaderStylePlugin *plugin, QObject *parent) - : MessageViewer::HeaderStyleInterface(plugin, parent) -{ -} - -AllHeaderStyleInterface::~AllHeaderStyleInterface() -{ -} - -void AllHeaderStyleInterface::createAction(KActionMenu *menu, QActionGroup *actionGroup, KActionCollection *ac) -{ - KToggleAction *act = new KToggleAction(i18nc("View->headers->", "&All Headers"), this); - ac->addAction(QStringLiteral("view_headers_all"), act); - connect(act, &KToggleAction::triggered, this, &AllHeaderStyleInterface::slotStyleChanged); - addHelpTextAction(act, i18n("Show all message headers")); - mAction.append(act); - addActionToMenu(menu, actionGroup); -} - -void AllHeaderStyleInterface::activateAction() -{ - mAction.at(0)->setChecked(true); -} diff --git a/plugins/messageviewerheaderplugins/allheaderstyleplugin/allheaderstyleinterface.h b/plugins/messageviewerheaderplugins/allheaderstyleplugin/allheaderstyleinterface.h deleted file mode 100644 index a03092b2..00000000 --- a/plugins/messageviewerheaderplugins/allheaderstyleplugin/allheaderstyleinterface.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - Copyright (C) 2015-2018 Montel Laurent - - 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 ALLHEADERSTYLEINTERFACE_H -#define ALLHEADERSTYLEINTERFACE_H - -#include - -namespace MessageViewer { -class AllHeaderStyleInterface : public MessageViewer::HeaderStyleInterface -{ - Q_OBJECT -public: - explicit AllHeaderStyleInterface(MessageViewer::HeaderStylePlugin *plugin, QObject *parent = nullptr); - ~AllHeaderStyleInterface() override; - - void createAction(KActionMenu *menu, QActionGroup *actionGroup, KActionCollection *ac) override; - void activateAction() override; -}; -} - -#endif // ALLHEADERSTYLEINTERFACE_H diff --git a/plugins/messageviewerheaderplugins/allheaderstyleplugin/allheaderstyleplugin.cpp b/plugins/messageviewerheaderplugins/allheaderstyleplugin/allheaderstyleplugin.cpp deleted file mode 100644 index d7958b9f..00000000 --- a/plugins/messageviewerheaderplugins/allheaderstyleplugin/allheaderstyleplugin.cpp +++ /dev/null @@ -1,66 +0,0 @@ -/* - Copyright (C) 2015-2018 Montel Laurent - - 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 "allheaderstyleplugin.h" -#include "messageviewer/plainheaderstyle.h" -#include "allheaderstyleinterface.h" -#include "allheaderstrategy.h" -#include - -using namespace MessageViewer; - -K_PLUGIN_CLASS_WITH_JSON(AllHeaderStylePlugin, "messageviewer_allheaderstyleplugin.json") -AllHeaderStylePlugin::AllHeaderStylePlugin(QObject *parent, const QList &) - : MessageViewer::HeaderStylePlugin(parent) - , mHeaderStyle(new PlainHeaderStyle) - , mHeaderStrategy(new AllHeaderStrategy) -{ -} - -AllHeaderStylePlugin::~AllHeaderStylePlugin() -{ - delete mHeaderStyle; - delete mHeaderStrategy; -} - -HeaderStyle *AllHeaderStylePlugin::headerStyle() const -{ - return mHeaderStyle; -} - -HeaderStrategy *AllHeaderStylePlugin::headerStrategy() const -{ - return mHeaderStrategy; -} - -HeaderStyleInterface *AllHeaderStylePlugin::createView(KActionMenu *menu, QActionGroup *actionGroup, KActionCollection *ac, QObject *parent) -{ - MessageViewer::AllHeaderStyleInterface *view = new MessageViewer::AllHeaderStyleInterface(this, parent); - if (ac) { - view->createAction(menu, actionGroup, ac); - } - return view; -} - -QString MessageViewer::AllHeaderStylePlugin::name() const -{ - return QStringLiteral("all-headers"); -} - -#include "allheaderstyleplugin.moc" diff --git a/plugins/messageviewerheaderplugins/allheaderstyleplugin/allheaderstyleplugin.h b/plugins/messageviewerheaderplugins/allheaderstyleplugin/allheaderstyleplugin.h deleted file mode 100644 index c432a5db..00000000 --- a/plugins/messageviewerheaderplugins/allheaderstyleplugin/allheaderstyleplugin.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - Copyright (C) 2015-2018 Montel Laurent - - 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 ALLHEADERSTYLEPLUGIN_H -#define ALLHEADERSTYLEPLUGIN_H - -#include "messageviewer/headerstyleplugin.h" - -#include - -namespace MessageViewer { -class AllHeaderStylePlugin : public MessageViewer::HeaderStylePlugin -{ - Q_OBJECT -public: - explicit AllHeaderStylePlugin(QObject *parent = nullptr, const QList & = QList()); - ~AllHeaderStylePlugin() override; - - HeaderStyle *headerStyle() const override; - HeaderStrategy *headerStrategy() const override; - HeaderStyleInterface *createView(KActionMenu *menu, QActionGroup *actionGroup, KActionCollection *ac, QObject *parent = nullptr) override; - QString name() const override; -private: - HeaderStyle *mHeaderStyle; - HeaderStrategy *mHeaderStrategy; -}; -} -#endif // ALLHEADERSTYLEPLUGIN_H diff --git a/plugins/messageviewerheaderplugins/allheaderstyleplugin/messageviewer_allheaderstyleplugin.json b/plugins/messageviewerheaderplugins/allheaderstyleplugin/messageviewer_allheaderstyleplugin.json deleted file mode 100644 index f73d43e3..00000000 --- a/plugins/messageviewerheaderplugins/allheaderstyleplugin/messageviewer_allheaderstyleplugin.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "KPlugin": { - "Description": "This plugin shows you all mail header.", - "Description[ar]": "تعرض لك هذه الملحقة كلّ ترويسات البريد.", - "Description[ca@valencia]": "Aquest connector mostra totes les capçaleres del correu.", - "Description[ca]": "Aquest connector mostra totes les capçaleres del correu.", - "Description[de]": "Dieses Modul zeigt alle Vorspannfelder der E-Mail.", - "Description[es]": "Este complemento le muestra todos los encabezados de correo.", - "Description[et]": "See plugin võimaldab näitab kogu kirjapäist.", - "Description[fi]": "Tällä liitännäisellä voit näyttää viestin kaikki otsakkeet.", - "Description[fr]": "Ce module affiche l'en-tête complet du message.", - "Description[gl]": "Este complemento móstralle toda a cabeceira do correo.", - "Description[it]": "Questa estensione mostra tutte le intestazioni dei messaggi di posta.", - "Description[ko]": "이 플러그인은 전체 메일 헤더를 표시합니다.", - "Description[nl]": "Deze plug-in toont de gehele e-mailheader.", - "Description[pl]": "Ta wtyczka pokazuje ci wszystkie nagłówki pocztowe.", - "Description[pt]": "Este 'plugin' mostra-lhe todos os cabeçalhos de e-mails.", - "Description[pt_BR]": "Este plugin mostra-lhe todos os cabeçalhos de e-mail.", - "Description[ru]": "Этот модуль определяет стиль заголовков со всеми полями.", - "Description[sk]": "Tento plugin vám zobrazí celú mailovú hlavičku.", - "Description[sl]": "Ta vstavek pokaže vse glave sporočila.", - "Description[sr@ijekavian]": "Овај прикључак приказује цело заглавље порука", - "Description[sr@ijekavianlatin]": "Ovaj priključak prikazuje celo zaglavlje poruka", - "Description[sr@latin]": "Ovaj priključak prikazuje celo zaglavlje poruka", - "Description[sr]": "Овај прикључак приказује цело заглавље порука", - "Description[sv]": "Insticksprogrammet visar alla brevhuvud.", - "Description[tr]": "Bu eklenti, tüm posta başlıklarını gösterir.", - "Description[uk]": "Цей додаток покаже вам усі заголовки повідомлення.", - "Description[x-test]": "xxThis plugin shows you all mail header.xx", - "Description[zh_CN]": "此插件为您呈现所有邮件头部。", - "EnabledByDefault": "false", - "Name": "All Header Style", - "Name[ar]": "كلّ أنماط التّرويسات", - "Name[ca@valencia]": "Tots els estils de capçalera", - "Name[ca]": "Tots els estils de capçalera", - "Name[de]": "Vorspann-Design „Alles“", - "Name[es]": "Todos los estilos de encabezado", - "Name[et]": "Üldine päisestiil", - "Name[fi]": "Kaikki otsakkeet -tyyli", - "Name[fr]": "Style de tous les en-têtes", - "Name[gl]": "Estilo de cabeceira completa", - "Name[it]": "Stile con tutte le intestazioni", - "Name[ko]": "전체 헤더 스타일", - "Name[nl]": "Stijl met alle headers", - "Name[pl]": "Pełne nagłówki", - "Name[pt]": "Estilo de Cabeçalho Completo", - "Name[pt_BR]": "Estilo com todos os cabeçalhos", - "Name[ru]": "Стиль со всеми полями", - "Name[sk]": "Všetky štýly hlavičiek", - "Name[sl]": "Slog z vsemi glavami", - "Name[sr@ijekavian]": "потпуни стил заглавља", - "Name[sr@ijekavianlatin]": "potpuni stil zaglavlja", - "Name[sr@latin]": "potpuni stil zaglavlja", - "Name[sr]": "потпуни стил заглавља", - "Name[sv]": "Stil med alla rubriker", - "Name[tr]": "Tüm Başlık Biçimleri", - "Name[uk]": "Стиль усіх заголовків", - "Name[x-test]": "xxAll Header Stylexx", - "Name[zh_CN]": "所有信头风格", - "ServiceTypes": [ - "MessageViewerHeaderStyle/Plugin" - ], - "Version": "1.0" - }, - "X-KDE-MessageViewer-Header-Order": "6" -} diff --git a/plugins/messageviewerheaderplugins/autotests/CMakeLists.txt b/plugins/messageviewerheaderplugins/autotests/CMakeLists.txt index 97f2fdef..56f5063c 100644 --- a/plugins/messageviewerheaderplugins/autotests/CMakeLists.txt +++ b/plugins/messageviewerheaderplugins/autotests/CMakeLists.txt @@ -1,44 +1,42 @@ # convenience macro to add qtest unit tests macro(add_messageviewer_header_unittest _source _additional) set( _test ${_source} ${_additional}) get_filename_component(_name ${_source} NAME_WE) add_executable( ${_name} ${_test} ) add_test(NAME ${_name} COMMAND ${_name} ) ecm_mark_as_test(messageviewer-header-${_name}) target_link_libraries( ${_name} KF5::MessageViewer KF5::Libkleo Qt5::Test KF5::KIOCore KF5::Mime KF5::AkonadiCore KF5::AkonadiNotes KF5::CalendarCore KF5::GrantleeTheme KF5::XmlGui KF5::I18n) endmacro () macro(add_messageviewer_header_class_unittest _source ) set( _test ${_source}) get_filename_component(_name ${_source} NAME_WE) add_executable( ${_name} ${_test} ) add_test(NAME ${_name} COMMAND ${_name} ) ecm_mark_as_test(messageviewer-header-${_name}) target_link_libraries( ${_name} KF5::MessageViewer KF5::Libkleo Qt5::Test KF5::KIOCore KF5::Mime KF5::AkonadiCore KF5::AkonadiNotes KF5::CalendarCore KF5::GrantleeTheme KF5::XmlGui) endmacro () configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/../enterpriseheaderstyleplugin/messageviewer_enterpriseheaderstyleplugin.json.cmake ${CMAKE_CURRENT_BINARY_DIR}/messageviewer_enterpriseheaderstyleplugin.json) add_messageviewer_header_unittest( briefheaderstyleplugintest.cpp "../briefheaderstyleplugin/briefheaderstrategy.cpp;../briefheaderstyleplugin/briefheaderstyle.cpp;../briefheaderstyleplugin/briefheaderstyleplugin.cpp;../briefheaderstyleplugin/briefheaderstyleinterface.cpp") -add_messageviewer_header_unittest( allheaderstyleplugintest.cpp "../allheaderstyleplugin/allheaderstrategy.cpp;../allheaderstyleplugin/allheaderstyleplugin.cpp;../allheaderstyleplugin/allheaderstyleinterface.cpp") - add_messageviewer_header_unittest( enterpriseheaderstyleplugintest.cpp "../enterpriseheaderstyleplugin/enterpriseheaderstyle.cpp;../enterpriseheaderstyleplugin/enterpriseheaderstyleplugin.cpp;../enterpriseheaderstyleplugin/enterpriseheaderstyleinterface.cpp") add_messageviewer_header_unittest( fancyheaderstyleplugintest.cpp "../fancyheaderstyleplugin/fancyheaderstyle.cpp;../fancyheaderstyleplugin/fancyheaderstyleplugin.cpp;../fancyheaderstyleplugin/fancyheaderstyleinterface.cpp") add_messageviewer_header_unittest( grantleeheaderstyleplugintest.cpp "../grantleeheaderstyleplugin/grantleeheaderstrategy.cpp;../grantleeheaderstyleplugin/grantleeheaderstyleplugin.cpp;../grantleeheaderstyleplugin/grantleeheaderstyleinterface.cpp") add_messageviewer_header_unittest( longheaderstyleplugintest.cpp "../longheaderstyleplugin/longheaderstyleplugin.cpp;../longheaderstyleplugin/longheaderstyleinterface.cpp") add_messageviewer_header_unittest( standardsheaderstyleplugintest.cpp "../standardsheaderstyleplugin/standardheaderstrategy.cpp;../standardsheaderstyleplugin/standardsheaderstyleplugin.cpp;../standardsheaderstyleplugin/standardsheaderstyleinterface.cpp") add_messageviewer_header_class_unittest( headerstylepluginmanagertest.cpp) diff --git a/plugins/messageviewerheaderplugins/autotests/allheaderstyleplugintest.cpp b/plugins/messageviewerheaderplugins/autotests/allheaderstyleplugintest.cpp deleted file mode 100644 index 1e669ea3..00000000 --- a/plugins/messageviewerheaderplugins/autotests/allheaderstyleplugintest.cpp +++ /dev/null @@ -1,54 +0,0 @@ -/* - Copyright (C) 2015-2018 Montel Laurent - - 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 "allheaderstyleplugintest.h" -#include "../allheaderstyleplugin/allheaderstyleplugin.h" -#include "../allheaderstyleplugin/allheaderstyleinterface.h" -#include -#include -#include -#include -AllHeaderStylePluginTest::AllHeaderStylePluginTest(QObject *parent) - : QObject(parent) -{ -} - -AllHeaderStylePluginTest::~AllHeaderStylePluginTest() -{ -} - -void AllHeaderStylePluginTest::shouldHaveDefaultValue() -{ - MessageViewer::AllHeaderStylePlugin plugin; - QVERIFY(plugin.headerStyle()); - QVERIFY(plugin.headerStrategy()); -} - -void AllHeaderStylePluginTest::shouldCreateInterface() -{ - MessageViewer::AllHeaderStylePlugin plugin; - KActionMenu *menu = new KActionMenu(this); - QActionGroup *act = new QActionGroup(this); - - MessageViewer::HeaderStyleInterface *interface = plugin.createView(menu, act, new KActionCollection(this)); - QVERIFY(interface); - QVERIFY(!interface->action().isEmpty()); -} - -QTEST_MAIN(AllHeaderStylePluginTest) diff --git a/plugins/messageviewerheaderplugins/autotests/allheaderstyleplugintest.h b/plugins/messageviewerheaderplugins/autotests/allheaderstyleplugintest.h deleted file mode 100644 index 6ba12e20..00000000 --- a/plugins/messageviewerheaderplugins/autotests/allheaderstyleplugintest.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - Copyright (C) 2015-2018 Montel Laurent - - 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 ALLHEADERSTYLEPLUGINTEST_H -#define ALLHEADERSTYLEPLUGINTEST_H - -#include - -class AllHeaderStylePluginTest : public QObject -{ - Q_OBJECT -public: - explicit AllHeaderStylePluginTest(QObject *parent = nullptr); - ~AllHeaderStylePluginTest(); - -private Q_SLOTS: - void shouldHaveDefaultValue(); - void shouldCreateInterface(); -}; - -#endif // ALLHEADERSTYLEPLUGINTEST_H