Commit 0369e244 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Clean up includes

parent b9958c07
......@@ -28,7 +28,6 @@
#include <KMime/Message>
#include <QDir>
#include <QObject>
#include <QProcess>
#include <QTest>
......
......@@ -20,8 +20,6 @@
#include "messageviewer/viewer.h"
#include <qtestmouse.h>
#include <KActionCollection>
#include <KToggleAction>
#include <QUrl>
ViewerTest::ViewerTest()
{
......
......@@ -20,10 +20,8 @@
#include <KLocalizedString>
#include <KTreeWidgetSearchLine>
#include <QMenu>
#include <QVBoxLayout>
#include <QTreeWidget>
#include <QWebFrame>
#include <KSharedConfig>
#include <QDialogButtonBox>
......
......@@ -38,7 +38,6 @@
#include <QClipboard>
#include <QApplication>
#include <QFile>
#include <QPainter>
using namespace MessageViewer;
......
......@@ -42,9 +42,7 @@
#include <KLocalizedString>
// Qt Includes
#include <QUrl>
#include <QTimer>
#include <QWebElement>
#include <QNetworkReply>
#include <QNetworkRequest>
#include <QtConcurrent/QtConcurrentRun>
#include <QFile>
......
......@@ -126,7 +126,6 @@
// Qt Includes
#include <QObject>
#include <QStringList>
#include <QByteArray>
// Forward Includes
class QNetworkRequest;
......
......@@ -30,8 +30,8 @@
// Qt Includes
#include <QWebFrame>
#include <QNetworkReply>
#include <QStringList>
#include <QNetworkRequest>
using namespace MessageViewer;
static inline bool isRegExpFilter(const QString &filter)
......
......@@ -25,7 +25,6 @@
#include <QLabel>
#include <QHBoxLayout>
#include <QDialogButtonBox>
#include <KConfigGroup>
#include <QPushButton>
#include <QVBoxLayout>
#include <QToolButton>
......
......@@ -21,7 +21,6 @@
#include "adblock/adblockblockableitemswidget.h"
#include <QDialog>
#include <KConfigGroup>
namespace Ui
{
class AdBlockCreateFilterWidget;
......
......@@ -28,7 +28,6 @@
#include <KSharedConfig>
#include <QUrl>
#include <QHBoxLayout>
#include <QDialogButtonBox>
#include <KConfigGroup>
......
......@@ -19,7 +19,6 @@
#define ADBLOCKSYNTAXHIGHLIGHTER_H
#include <KPIMTextEdit/SyntaxHighlighterBase>
#include <QList>
namespace MessageViewer
{
......
......@@ -22,7 +22,6 @@
#include <KLocalizedString>
#include <QUrl>
#include <QPointer>
#include <QVBoxLayout>
#include <QWebView>
#include <QWebPage>
......
......@@ -21,7 +21,6 @@
#include <KLocalizedString>
#include <QCommandLineParser>
#include <QDialogButtonBox>
#include <KConfigGroup>
#include <QStandardPaths>
#include "adblock/common/adblocksettingwidget.h"
......
......@@ -36,7 +36,6 @@
#include <kconfig.h>
#include <kconfiggroup.h>
#include <QCoreApplication>
namespace MessageViewer
{
......
......@@ -25,10 +25,10 @@
#include <klineedit.h>
#include <KColorScheme>
#include <QHBoxLayout>
#include <QPushButton>
#include <QTimer>
#include <QLabel>
#include <QLayout>
#include <QMenu>
#include <QToolButton>
#include <QEvent>
......
......@@ -18,7 +18,6 @@
#include "findbarsourceview.h"
#include "PimCommon/LineEditWithCompleter"
#include <KLocalizedString>
#include <QPlainTextEdit>
#include <QAction>
......
......@@ -19,9 +19,8 @@
#include "findbarwebengineview.h"
#include "PimCommon/LineEditWithCompleter"
#include <QWebEngineView>
#include <QAction>
#include <KLocalizedString>
#include <QMenu>
using namespace MessageViewer;
class MessageViewer::FindBarWebEngineViewPrivate
......
......@@ -34,7 +34,6 @@
#include "headerstyle.h"
#include "messageviewer_debug.h"
#include <KLocalizedString>
using namespace MessageViewer;
// #####################
......
......@@ -27,7 +27,6 @@
#include <KActionMenu>
#include <KActionCollection>
#include <KLocalizedString>
#include <KToggleAction>
using namespace MessageViewer;
......
......@@ -29,7 +29,6 @@
#include <QImage>
#include <QRegExp>
#include <QString>
#include <QPainter>
#include <stdlib.h>
#include <string.h>
......
Supports Markdown
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