Commit 584cd0ae authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Clean includes

parent 5d0cd2e0
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "changecaseplugineditor.h" #include "changecaseplugineditor.h"
#include "changecaseplugineditorinterface.h" #include "changecaseplugineditorinterface.h"
#include <KLocalizedString>
#include <kpluginfactory.h> #include <kpluginfactory.h>
K_PLUGIN_FACTORY_WITH_JSON(ChangeCasePluginEditorFactory, "kmail_changecaseeditorplugin.json", registerPlugin<ChangeCasePluginEditor>();) K_PLUGIN_FACTORY_WITH_JSON(ChangeCasePluginEditorFactory, "kmail_changecaseeditorplugin.json", registerPlugin<ChangeCasePluginEditor>();)
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include "changecaseeditorplugin_debug.h" #include "changecaseeditorplugin_debug.h"
#include <KPIMTextEdit/EditorUtil> #include <KPIMTextEdit/EditorUtil>
#include <KPIMTextEdit/RichTextEditor> #include <KPIMTextEdit/RichTextEditor>
#include <KLocalizedString>
#include <KActionCollection> #include <KActionCollection>
#include <KActionMenuChangeCase> #include <KActionMenuChangeCase>
#include <QAction> #include <QAction>
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#define ChangeCasePLUGINEDITORINTERFACE_H #define ChangeCasePLUGINEDITORINTERFACE_H
#include <messagecomposer/plugineditorinterface.h> #include <messagecomposer/plugineditorinterface.h>
#include <QPointer>
class ChangeCasePluginEditorInterface : public MessageComposer::PluginEditorInterface class ChangeCasePluginEditorInterface : public MessageComposer::PluginEditorInterface
{ {
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "insertspecialcharacterplugineditor.h" #include "insertspecialcharacterplugineditor.h"
#include "insertspecialcharacterplugineditorinterface.h" #include "insertspecialcharacterplugineditorinterface.h"
#include <KLocalizedString>
#include <kpluginfactory.h> #include <kpluginfactory.h>
K_PLUGIN_FACTORY_WITH_JSON(InsertSpecialCharacterPluginEditorFactory, "kmail_insertspecialcharactereditorplugin.json", registerPlugin<InsertSpecialCharacterPluginEditor>();) K_PLUGIN_FACTORY_WITH_JSON(InsertSpecialCharacterPluginEditorFactory, "kmail_insertspecialcharactereditorplugin.json", registerPlugin<InsertSpecialCharacterPluginEditor>();)
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "zoomtextplugineditor.h" #include "zoomtextplugineditor.h"
#include "zoomtextplugineditorinterface.h" #include "zoomtextplugineditorinterface.h"
#include <KLocalizedString>
#include <kpluginfactory.h> #include <kpluginfactory.h>
K_PLUGIN_FACTORY_WITH_JSON(ZoomTextPluginEditorFactory, "kmail_zoomtexteditorplugin.json", registerPlugin<ZoomTextPluginEditor>();) K_PLUGIN_FACTORY_WITH_JSON(ZoomTextPluginEditorFactory, "kmail_zoomtexteditorplugin.json", registerPlugin<ZoomTextPluginEditor>();)
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#define ZOOMTEXTPLUGINEDITORINTERFACE_H #define ZOOMTEXTPLUGINEDITORINTERFACE_H
#include <messagecomposer/plugineditorinterface.h> #include <messagecomposer/plugineditorinterface.h>
#include <QPointer>
class ZoomTextPluginEditorInterface : public MessageComposer::PluginEditorInterface class ZoomTextPluginEditorInterface : public MessageComposer::PluginEditorInterface
{ {
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
#include "checkduplicateemailsjob.h" #include "checkduplicateemailsjob.h"
#include <KEmailAddress> #include <KEmailAddress>
#include <QDebug>
CheckDuplicateEmailsJob::CheckDuplicateEmailsJob() CheckDuplicateEmailsJob::CheckDuplicateEmailsJob()
{ {
......
...@@ -20,9 +20,9 @@ ...@@ -20,9 +20,9 @@
#include "confirmaddressconfiguretabtest.h" #include "confirmaddressconfiguretabtest.h"
#include "../confirmaddressconfiguretab.h" #include "../confirmaddressconfiguretab.h"
#include <QBoxLayout>
#include <QTabWidget> #include <QTabWidget>
#include <QTest> #include <QTest>
#include <QVBoxLayout>
ConfirmAddressConfigureTabTest::ConfirmAddressConfigureTabTest(QObject *parent) ConfirmAddressConfigureTabTest::ConfirmAddressConfigureTabTest(QObject *parent)
: QObject(parent) : QObject(parent)
......
...@@ -18,8 +18,6 @@ ...@@ -18,8 +18,6 @@
*/ */
#include "antispamplugin.h" #include "antispamplugin.h"
#include "antispamplugininterface.h" #include "antispamplugininterface.h"
#include <KLocalizedString>
#include <KToggleAction>
#include <kpluginfactory.h> #include <kpluginfactory.h>
K_PLUGIN_FACTORY_WITH_JSON(KMailAntiSpamPluginFactory, "kmail_antispamplugin.json", registerPlugin<AntiSpamPlugin>();) K_PLUGIN_FACTORY_WITH_JSON(KMailAntiSpamPluginFactory, "kmail_antispamplugin.json", registerPlugin<AntiSpamPlugin>();)
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include "../antispamplugininterface.h" #include "../antispamplugininterface.h"
#include <KActionCollection> #include <KActionCollection>
#include <QTest> #include <QTest>
#include <QAction>
#include <QSignalSpy> #include <QSignalSpy>
AntiSpamPluginInterfaceTest::AntiSpamPluginInterfaceTest(QObject *parent) AntiSpamPluginInterfaceTest::AntiSpamPluginInterfaceTest(QObject *parent)
......
...@@ -19,8 +19,6 @@ ...@@ -19,8 +19,6 @@
#include "antivirusplugin.h" #include "antivirusplugin.h"
#include "antivirusplugininterface.h" #include "antivirusplugininterface.h"
#include <KLocalizedString>
#include <KToggleAction>
#include <kpluginfactory.h> #include <kpluginfactory.h>
K_PLUGIN_FACTORY_WITH_JSON(KMailAntiSpamPluginFactory, "kmail_antivirusplugin.json", registerPlugin<AntiVirusPlugin>();) K_PLUGIN_FACTORY_WITH_JSON(KMailAntiSpamPluginFactory, "kmail_antivirusplugin.json", registerPlugin<AntiVirusPlugin>();)
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include "../antivirusplugininterface.h" #include "../antivirusplugininterface.h"
#include <KActionCollection> #include <KActionCollection>
#include <QTest> #include <QTest>
#include <QAction>
#include <QSignalSpy> #include <QSignalSpy>
AntiVirusPluginInterfaceTest::AntiVirusPluginInterfaceTest(QObject *parent) AntiVirusPluginInterfaceTest::AntiVirusPluginInterfaceTest(QObject *parent)
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include <KLocalizedString> #include <KLocalizedString>
#include <QDialogButtonBox> #include <QDialogButtonBox>
#include <KConfigGroup>
#include <QPushButton> #include <QPushButton>
#include <QVBoxLayout> #include <QVBoxLayout>
......
...@@ -18,14 +18,8 @@ ...@@ -18,14 +18,8 @@
#include "attachmentlistwidget.h" #include "attachmentlistwidget.h"
#include "selectattachmentdialog.h" #include "selectattachmentdialog.h"
#include <KLocalizedString>
#include <KUrlRequester>
#include <QLabel>
#include <QPointer> #include <QPointer>
#include <QVBoxLayout>
#include <QDialogButtonBox>
#include <KConfigGroup>
#include <QPushButton> #include <QPushButton>
using namespace MailMerge; using namespace MailMerge;
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#define ATTACHMENTLISTWIDGET_H #define ATTACHMENTLISTWIDGET_H
#include "PimCommon/SimpleStringlistEditor" #include "PimCommon/SimpleStringlistEditor"
#include <QDialog>
namespace MailMerge namespace MailMerge
{ {
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include <KLocalizedString> #include <KLocalizedString>
#include <KComboBox> #include <KComboBox>
#include <KUrlRequester>
#include <QHBoxLayout> #include <QHBoxLayout>
#include <QVBoxLayout> #include <QVBoxLayout>
......
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