Commit d54cd683 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Remove unused/unneeded includes & forward declarations

parent d6b2fa9d
......@@ -21,8 +21,6 @@
#include "globalsettings.h"
#include <QVBoxLayout>
namespace cppcheck
{
......
......@@ -42,7 +42,6 @@
#include <util/jobstatus.h>
#include <QAction>
#include <QMessageBox>
K_PLUGIN_FACTORY_WITH_JSON(CppcheckFactory, "kdevcppcheck.json", registerPlugin<cppcheck::Plugin>();)
......
......@@ -29,7 +29,6 @@
#include <interfaces/iruncontroller.h>
#include <interfaces/iuicontroller.h>
#include <klocalizedstring.h>
#include <kmessagebox.h>
#include <util/environmentprofilelist.h>
#include <util/path.h>
......
......@@ -42,8 +42,7 @@
#include <QCommandLineParser>
#include <QCommandLineOption>
#include <QFileInfo>
#include <QDir>
#include <QProcess>
#include <QProcessEnvironment>
#include <QSessionManager>
#include <QTextStream>
#include <QDBusInterface>
......
......@@ -19,8 +19,6 @@
#include "kdevelopsessionsengine.h"
#include "kdevelopsessionsservice.h"
#include <QtCore/QStandardPaths>
#include <QtCore/QDir>
#include <KDirWatch>
#include <KConfig>
......
......@@ -20,7 +20,6 @@
#include "kdevelopsessions.h"
#include <QtCore/QCollator>
#include <QtCore/QStandardPaths>
#include <QtCore/QDir>
#include <KLocalizedString>
......@@ -32,8 +31,6 @@
#include <KToolInvocation>
#include <KConfig>
#include <KConfigGroup>
#include <QUrl>
#include <KStringHandler>
#include <QStandardPaths>
K_EXPORT_PLASMA_RUNNER(kdevelopsessions, KDevelopSessions)
......
......@@ -28,10 +28,8 @@
#include <QAbstractItemView>
#include <QDialogButtonBox>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
#include <QTimer>
#include <QTreeView>
#include <QVBoxLayout>
......
......@@ -20,8 +20,6 @@
#ifndef MILEXER_H
#define MILEXER_H
#include <QMap>
#include <QString>
#include <QVector>
namespace KDevMI { namespace MI {
......
......@@ -25,7 +25,7 @@
#include "mi.h"
#include "milexer.h"
#include <QString>
class QString;
namespace KDevMI { namespace MI {
......
......@@ -27,10 +27,6 @@
#include <debugger/interfaces/ibreakpointcontroller.h>
#include <debugger/interfaces/idebugsession.h>
#include <QObject>
class QModelIndex;
namespace KDevMI {
namespace MI {
......
......@@ -42,7 +42,6 @@
#include <KParts/MainWindow>
#include <QFileInfo>
#include <QRegularExpression>
using namespace KDevMI;
using namespace KDevelop;
......
......@@ -58,6 +58,7 @@
#include <QPointer>
#include <QRegularExpression>
#include <QUrl>
#include <QTimer>
using namespace KDevelop;
using namespace KDevMI;
......
......@@ -26,7 +26,6 @@
#include <debugger/variable/variablecollection.h>
#include <QMap>
#include <QPointer>
......
......@@ -31,7 +31,6 @@
#include "registercontroller.h"
class QAbstractItemView;
class QStandardItemModel;
class QStandardItem;
class QModelIndex;
......
......@@ -23,10 +23,8 @@
#include <language/duchain/stringhelpers.h>
#include <language/duchain/safetycounter.h>
#include <QByteArray>
#include <QChar>
#include <QString>
#include <QStringList>
namespace Utils {
......
......@@ -38,7 +38,6 @@
#include <KLocalizedString>
#include <QAction>
#include <QClipboard>
#include <QEvent>
#include <QHBoxLayout>
#include <QIcon>
......@@ -50,7 +49,7 @@
#include <QTextEdit>
#include <QToolBar>
#include <QVBoxLayout>
#include <QWidget>
#include <QPoint>
using namespace KDevMI;
......
......@@ -27,7 +27,6 @@
#define DEBUGGERCONSOLEVIEW_H
#include <QWidget>
#include <QPoint>
#include <QStringList>
#include <QTimer>
......
......@@ -37,17 +37,15 @@
#include <KLocalizedString>
#include <KSharedConfig>
#include <KTextEdit>
#include <QShowEvent>
#include <QHideEvent>
#include <QAction>
#include <QMenu>
#include <QBoxLayout>
#include <QComboBox>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QPushButton>
#include <QSplitter>
#include <QHeaderView>
#include <QFontDatabase>
using namespace KDevMI;
......
......@@ -25,13 +25,10 @@
#include "config.h"
#include <QByteArray>
#include <QLabel>
#include <QtCore/QVariant>
#include <QVariantList>
#include <KConfigGroup>
#include <KTextEditor/Cursor>
#include <QUrl>
#include <interfaces/iplugin.h>
#include <interfaces/istatus.h>
......@@ -39,15 +36,6 @@
#include "midebuggerplugin.h"
#include "debugsession.h"
class QLabel;
class QMenu;
class QDBusInterface;
class QSignalMapper;
class ProcessWidget;
class KToolBar;
class QAction;
class GdbLauncher;
namespace KDevelop {
......
......@@ -22,9 +22,6 @@
#include "debuggertracingdialog.h"
#include "breakpoint.h"
#include <QLabel>
#include <QCheckBox>
#include <QLineEdit>
#include <keditlistbox.h>
#include <kmessagebox.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