Commit 075a069d authored by Friedemann Kleint's avatar Friedemann Kleint

Clean headers in QtSupport.

Ran script to remove inludes on a trial-and-error basis and
manually corrected it.

Change-Id: Iac7e32b861d60c4c386f64f065d05a1856e396cf
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 1d19c1e6
......@@ -38,18 +38,11 @@
#include "profilereader.h"
#include <projectexplorer/toolchainmanager.h>
#include <projectexplorer/toolchain.h>
#include <projectexplorer/gnumakeparser.h>
#include <projectexplorer/kitinformation.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/headerpath.h>
#include <projectexplorer/task.h>
#include <qtsupport/debugginghelper.h>
#include <qtsupport/qtsupportconstants.h>
#include <coreplugin/featureprovider.h>
#include <utils/persistentsettings.h>
#include <utils/environment.h>
#include <utils/hostosinfo.h>
#include <utils/qtcassert.h>
#include <utils/synchronousprocess.h>
......
......@@ -33,9 +33,7 @@
#include <projectexplorer/target.h>
#include <projectexplorer/project.h>
#include <projectexplorer/environmentwidget.h>
#include <coreplugin/helpmanager.h>
#include <utils/detailswidget.h>
#include <utils/environment.h>
#include <utils/pathchooser.h>
#include <QCheckBox>
......
......@@ -33,7 +33,6 @@
#include <projectexplorer/buildconfiguration.h>
#include <projectexplorer/project.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/target.h>
#include <projectexplorer/abi.h>
......
......@@ -31,14 +31,8 @@
#include <coreplugin/icore.h>
#include <utils/synchronousprocess.h>
#include <QFileInfo>
#include <QCoreApplication>
#include <QHash>
#include <QProcess>
#include <QDir>
#include <QDateTime>
#include <QStringList>
#include <QDesktopServices>
......
......@@ -34,10 +34,6 @@
#include "qmldebugginglibrary.h"
#include "baseqtversion.h"
#include "qtversionmanager.h"
#include <coreplugin/messagemanager.h>
#include <projectexplorer/abi.h>
#include <projectexplorer/toolchainmanager.h>
#include <projectexplorer/toolchain.h>
#include <utils/qtcassert.h>
#include <QCoreApplication>
......
......@@ -38,7 +38,6 @@
#include <coreplugin/helpmanager.h>
#include <coreplugin/icore.h>
#include <projectexplorer/kitmanager.h>
#include <qtsupport/qtkitinformation.h>
#include <qtsupport/qtversionmanager.h>
#include <utils/environment.h>
......
......@@ -32,25 +32,19 @@
#include "exampleslistmodel.h"
#include "screenshotcropper.h"
#include "qtsupportconstants.h"
#include <utils/pathchooser.h>
#include <utils/fileutils.h>
#ifdef Q_OS_WIN
#include <utils/winutils.h>
#endif
#include <coreplugin/coreconstants.h>
#include <coreplugin/coreplugin.h>
#include <coreplugin/documentmanager.h>
#include <coreplugin/icore.h>
#include <coreplugin/helpmanager.h>
#include <coreplugin/modemanager.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/session.h>
#include <projectexplorer/project.h>
#include <projectexplorer/projectnodes.h>
#include <QMutex>
#include <QThread>
......@@ -59,9 +53,6 @@
#include <QWaitCondition>
#include <QDir>
#include <QBuffer>
#include <QGraphicsProxyWidget>
#include <QScrollBar>
#include <QSortFilterProxyModel>
#include <QImage>
#include <QImageReader>
#include <QGridLayout>
......
......@@ -31,7 +31,6 @@
#include <coreplugin/icore.h>
#include <QDir>
#include <QDebug>
using namespace QtSupport;
......
......@@ -31,9 +31,6 @@
#define PROFILEREADER_H
#include "qtsupport_global.h"
#include "proparser/qmakeglobals.h"
#include "proparser/qmakeparser.h"
#include "proparser/qmakeevaluator.h"
#include "proparser/profileevaluator.h"
#include <coreplugin/messagemanager.h>
......
......@@ -30,11 +30,8 @@
#include "qmldebugginglibrary.h"
#include "baseqtversion.h"
#include "qtsupportconstants.h"
#include <coreplugin/icore.h>
#include <utils/qtcassert.h>
#include <projectexplorer/project.h>
#include <QDesktopServices>
#include <QCoreApplication>
#include <QDir>
......
......@@ -30,7 +30,6 @@
#ifndef QMLDEBUGGINGLIBRARY_H
#define QMLDEBUGGINGLIBRARY_H
#include "qtsupport_global.h"
#include <utils/buildablehelperlibrary.h>
QT_FORWARD_DECLARE_CLASS(QDir)
......
......@@ -36,9 +36,6 @@
#include <coreplugin/progressmanager/progressmanager.h>
#include <projectexplorer/project.h>
#include <projectexplorer/toolchain.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/runconfiguration.h>
#include <utils/runextensions.h>
#include <qmljs/qmljsmodelmanagerinterface.h>
#include <utils/hostosinfo.h>
......
......@@ -32,9 +32,7 @@
#include "qtsupportconstants.h"
#include "baseqtversion.h"
#include <coreplugin/icore.h>
#include <utils/qtcassert.h>
#include <projectexplorer/project.h>
#include <QDesktopServices>
#include <QCoreApplication>
#include <QDir>
......
......@@ -39,7 +39,6 @@
#include <utils/qtcassert.h>
#include <QComboBox>
#include <QHBoxLayout>
#include <QPushButton>
namespace QtSupport {
......
......@@ -43,16 +43,13 @@
#include <coreplugin/icore.h>
#include <coreplugin/progressmanager/progressmanager.h>
#include <utils/qtcassert.h>
#include <utils/buildablehelperlibrary.h>
#include <utils/pathchooser.h>
#include <projectexplorer/toolchainmanager.h>
#include <projectexplorer/toolchain.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <utils/hostosinfo.h>
#include <utils/runextensions.h>
#include <QDir>
#include <QToolTip>
#include <QMessageBox>
#include <QFileDialog>
#include <QTextBrowser>
......
......@@ -31,11 +31,8 @@
#include <texteditor/basetexteditor.h>
#include <projectexplorer/project.h>
#include <utils/qtcassert.h>
#include <QFileInfo>
#include <QUrl>
#include <QPlainTextEdit>
#include <QTextCursor>
using namespace ProjectExplorer;
......
......@@ -32,8 +32,6 @@
#include <projectexplorer/task.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <utils/qtcassert.h>
using namespace QtSupport;
using ProjectExplorer::Task;
......
......@@ -40,14 +40,11 @@
#include "gettingstartedwelcomepage.h"
#include <coreplugin/variablemanager.h>
#include <extensionsystem/pluginmanager.h>
#include <projectexplorer/kitmanager.h>
#include <projectexplorer/project.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/target.h>
#include <QtPlugin>
#include <QMenu>
static const char kHostBins[] = "CurrentProject:QT_HOST_BINS";
static const char kInstallBins[] = "CurrentProject:QT_INSTALL_BINS";
......
......@@ -31,7 +31,6 @@
#define QTSUPPORTPLUGIN_H
#include <extensionsystem/iplugin.h>
#include <coreplugin/icontext.h>
namespace QtSupport {
namespace Internal {
......
......@@ -29,14 +29,10 @@
#include "qtversionfactory.h"
#include "profilereader.h"
#include "qtversionmanager.h"
#include "baseqtversion.h"
#include <extensionsystem/pluginmanager.h>
#include <utils/environment.h>
#include <utils/fileutils.h>
#include <QSettings>
using namespace QtSupport;
using namespace QtSupport::Internal;
......
......@@ -34,11 +34,7 @@
#include "baseqtversion.h"
#include "qtfeatureprovider.h"
#include "qtsupportconstants.h"
// only for legay restore
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/toolchainmanager.h>
#include <projectexplorer/gcctoolchain.h>
#include <qtsupport/debugginghelper.h>
......@@ -65,8 +61,6 @@
#include <QStringList>
#include <QTimer>
#include <algorithm>
using namespace QtSupport;
using namespace QtSupport::Internal;
......
......@@ -35,7 +35,6 @@
#include <QDebug>
#include <QFile>
#include <QFileInfo>
#include <QPainter>
namespace QtSupport {
namespace Internal {
......
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