Commit 660576a5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove unused includes

parent d20867cc
Pipeline #42863 passed with stage
in 59 minutes and 34 seconds
......@@ -10,17 +10,9 @@
#include <KLocalizedString>
#include <KActionCollection>
#include <QAction>
#include <QFileInfo>
#include <QTemporaryFile>
#include <PimCommon/RenameFileDialog>
#include <KMessageBox>
#include <KJobWidgets>
#include <QTextStream>
#include <QFileDialog>
#include <QTextCodec>
#include <QPointer>
#include <QFile>
#include <QDomElement>
#include <KIO/Job>
#include <KAddressBookImportExport/ImportExportEngine>
......
......@@ -18,7 +18,6 @@
#include <KActionCollection>
#include <KSharedConfig>
#include <KConfigGroup>
#include <QLabel>
#include <QMenu>
#include <MessageComposer/TextPart>
......
......@@ -7,7 +7,6 @@
#include "quicktextconfigurewidget.h"
#include "quicktextwidget.h"
#include <QVBoxLayout>
#include <KLocalizedString>
#include <MailCommon/SnippetWidget>
QuickTextConfigureWidget::QuickTextConfigureWidget(QWidget *parent)
......
......@@ -10,13 +10,8 @@
#include <KLocalizedString>
#include <QFileDialog>
#include <QIcon>
#include <QTextEdit>
#include <QAction>
#include <QPointer>
#include <QItemSelectionModel>
#include <QDebug>
class QuicktextManager::Private
{
......
......@@ -10,7 +10,6 @@
#include <MessageComposer/PluginEditorInterface>
#include <KPIMTextEdit/SelectSpecialCharDialog>
#include <MailCommon/SnippetsModel>
#include <QPointer>
#include <QTextCursor>
class QuickTextPluginEditorInterface : public MessageComposer::PluginEditorInterface
{
......
......@@ -7,7 +7,6 @@
#include "quicktexttreewidget.h"
#include "quicktextmanager.h"
#include <KActionCollection>
#include <KLocalizedString>
#include <KMessageBox>
......
......@@ -10,7 +10,6 @@
#include <QHBoxLayout>
#include <MailCommon/SnippetWidget>
#include <MailCommon/SnippetsModel>
#include <QDebug>
#include <KMessageBox>
#include <QStackedWidget>
......
......@@ -9,7 +9,6 @@
#include "automaticaddcontactsconfigurewidget.h"
#include "automaticaddcontactsconfiguredialog.h"
#include <QPointer>
#include <KPluginFactory>
K_PLUGIN_CLASS_WITH_JSON(AutomaticAddContactsPlugin, "kmail_automaticaddcontactsplugin.json")
......
......@@ -15,7 +15,6 @@
#include <QCheckBox>
#include <QScrollArea>
#include <QFormLayout>
#include <QVariant>
#include <QStackedWidget>
#include <QLabel>
#include <QToolButton>
......
......@@ -9,7 +9,6 @@
#include <KLocalizedString>
#include <KActionCollection>
#include <QAction>
#include <QPointer>
AntiSpamPluginInterface::AntiSpamPluginInterface(QObject *parent)
: PimCommon::GenericPluginInterface(parent)
......
......@@ -25,7 +25,6 @@
#include <QDialog>
#include <KLocalizedString>
#include <KProcess>
#include <KToolInvocation>
#include <KConfigGroup>
#include <QLabel>
......
......@@ -10,11 +10,11 @@
#include <KLocalizedString>
#include <KSharedConfig>
#include <PimCommonAkonadi/LdapSearchDialog>
#include <QBoxLayout>
#include <QDialogButtonBox>
#include <QPushButton>
#include <QLineEdit>
#include <QTreeView>
#include <QVBoxLayout>
#include <QLineEdit>
#include <KPluginFactory>
K_PLUGIN_CLASS_WITH_JSON(EmailAddressSelectionLdapDialog, "emailaddressselectionldapdialog.json")
......
......@@ -11,7 +11,6 @@
#include <QDate>
#include <QSharedData>
#include <QDebug>
class QCalendarSystemPrivate : public QSharedData
{
......
......@@ -16,7 +16,6 @@
#include <KConfigGroup>
#include <QDomDocument>
#include <QPointer>
//https://www.mediawiki.org/wiki/API:Picture_of_the_day_viewer
Picoftheday::Picoftheday()
{
......
......@@ -53,10 +53,8 @@ using namespace KCalendarCore;
#include <KIO/StatJob>
#include <KLocalizedString>
#include <QEventLoop>
#include <QDBusServiceWatcher>
#include <QMimeDatabase>
#include <QProcess>
#include <QUrl>
#include <QTemporaryFile>
#include <QIcon>
......
......@@ -32,15 +32,11 @@
#include <QDate>
#include <QDBusInterface>
#include <QDesktopServices>
#include <QIcon>
#include <QJsonArray>
#include <QJsonDocument>
#include <QMenu>
#include <QProcess>
#include <QStandardPaths>
#include <QTemporaryFile>
#include <QUrlQuery>
#include <memory>
#include <type_traits>
......
......@@ -19,9 +19,7 @@
#include <grantlee/template.h>
#include <QTextDocument>
#include <QGuiApplication>
#include <QMimeDatabase>
#include <QDebug>
namespace {
class Formatter : public MessageViewer::MessagePartRendererBase
......
......@@ -35,7 +35,6 @@
#include <KIconLoader>
#include <KLocalizedString>
#include <QDir>
#include <QFile>
namespace {
......
......@@ -7,12 +7,10 @@
#include "dkimadvancedwidget.h"
#include <KLocalizedString>
#include <QFormLayout>
#include <QPointer>
#include <QPushButton>
#include "dkimauthenticationverifiedserverdialog.h"
#include <MessageViewer/MessageViewerSettings>
#include <PimCommon/ConfigureImmutableWidgetUtils>
#include <QLabel>
#include <QComboBox>
#include <QCheckBox>
using namespace PimCommon::ConfigureImmutableWidgetUtils;
......
......@@ -12,7 +12,6 @@
#include <KSharedConfig>
#include <KLocalizedString>
#include <QHBoxLayout>
#include <QRegularExpression>
#include <QTabWidget>
DKIMConfigureTab::DKIMConfigureTab(QWidget *parent)
......
......@@ -11,7 +11,6 @@
#include <MessageViewer/DKIMManageRulesDialog>
#include <MessageViewer/MessageViewerSettings>
#include <PimCommon/ConfigureImmutableWidgetUtils>
#include <QPointer>
#include <QPushButton>
#include <QSpacerItem>
......
......@@ -6,7 +6,7 @@
#include "folderconfiguresettingsgeneralwidget.h"
#include <MailCommon/CollectionGeneralWidget>
#include <QVBoxLayout>
#include <QHBoxLayout>
FolderConfigureSettingsGeneralWidget::FolderConfigureSettingsGeneralWidget(QWidget *parent)
: FolderConfigureSettingsPageBase(parent)
......
......@@ -6,7 +6,6 @@
#include "folderconfiguresettingstemplatewidget.h"
#include <MailCommon/CollectionTemplatesWidget>
#include <QVBoxLayout>
FolderConfigureSettingsTemplateWidget::FolderConfigureSettingsTemplateWidget(QWidget *parent)
: FolderConfigureSettingsPageBase(parent)
......
......@@ -6,8 +6,7 @@
#include "folderconfiguresettingsviewwidget.h"
#include <MailCommon/CollectionViewWidget>
#include <QVBoxLayout>
#include <QHBoxLayout>
FolderConfigureSettingsViewWidget::FolderConfigureSettingsViewWidget(QWidget *parent)
: FolderConfigureSettingsPageBase(parent)
{
......
......@@ -17,7 +17,6 @@
#include <KLocalizedString>
#include <KCodecs>
#include <KColorScheme>
#include <QApplication>
......
......@@ -10,7 +10,7 @@
#include "viewerpluginexternalscriptinfo.h"
#include <QVector>
#include <QStringList>
class ViewerPluginExternalScriptsLoadJob
{
public:
......
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