Commit c0b6d1d3 authored by Friedemann Kleint's avatar Friedemann Kleint

Clean headers in Qt4ProjectManager.

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

Change-Id: I53fa1aafaf98fd3105ef35b595e4311854cf9cbc
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 79e48237
......@@ -30,7 +30,6 @@
#include "classdefinition.h"
#include <QFileInfo>
#include <QFileDialog>
namespace Qt4ProjectManager {
namespace Internal {
......
......@@ -35,8 +35,6 @@
#include <QMessageBox>
#include <QStandardItemModel>
#include <QStandardItem>
#include <QLabel>
#include <QToolButton>
#include <QDebug>
#include <QRegExp>
......
......@@ -29,7 +29,6 @@
#include "customwidgetpluginwizardpage.h"
#include "customwidgetwidgetswizardpage.h"
#include "pluginoptions.h"
#include "ui_customwidgetpluginwizardpage.h"
namespace Qt4ProjectManager {
......
......@@ -29,12 +29,10 @@
#include "customwidgetwidgetswizardpage.h"
#include "ui_customwidgetwidgetswizardpage.h"
#include "plugingenerator.h"
#include "classdefinition.h"
#include <coreplugin/coreconstants.h>
#include <QFileInfo>
#include <QTimer>
#include <QStackedLayout>
......
......@@ -30,8 +30,8 @@
#include "customwidgetwizard.h"
#include "customwidgetwizarddialog.h"
#include "plugingenerator.h"
#include "pluginoptions.h"
#include "filenamingparameters.h"
#include "pluginoptions.h"
#include <projectexplorer/projectexplorerconstants.h>
......
......@@ -30,12 +30,9 @@
#include "customwidgetwizarddialog.h"
#include "customwidgetwidgetswizardpage.h"
#include "customwidgetpluginwizardpage.h"
#include "customwidgetwizard.h"
#include "pluginoptions.h"
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/devicesupport/idevice.h>
#include <projectexplorer/kitinformation.h>
#include <projectexplorer/kitmanager.h>
#include <qtsupport/qtkitinformation.h>
#include <qtsupport/qtsupportconstants.h>
......
......@@ -37,11 +37,9 @@
#include <projectexplorer/target.h>
#include <projectexplorer/session.h>
#include <qtsupport/qtkitinformation.h>
#include <qtsupport/qtversionmanager.h>
#include <designer/designerconstants.h>
#include <QProcess>
#include <QFileInfo>
#include <QDebug>
#include <QSignalMapper>
......
......@@ -39,7 +39,6 @@
#include <projectexplorer/kitinformation.h>
#include <projectexplorer/target.h>
#include <projectexplorer/toolchain.h>
#include <projectexplorer/buildconfiguration.h>
#include <utils/hostosinfo.h>
#include <QFileInfo>
......
......@@ -30,7 +30,6 @@
#ifndef LIBRARYDETAILSCONTROLLER_H
#define LIBRARYDETAILSCONTROLLER_H
#include <QWidget>
#include "addlibrarywizard.h"
namespace Qt4ProjectManager {
......
......@@ -40,13 +40,8 @@
#include <projectexplorer/buildsteplist.h>
#include <projectexplorer/gnumakeparser.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/kitinformation.h>
#include <projectexplorer/task.h>
#include <extensionsystem/pluginmanager.h>
#include <utils/qtcprocess.h>
#include <qtsupport/qtparser.h>
#include <qtsupport/qtkitinformation.h>
#include <QDir>
#include <QFileInfo>
......
......@@ -33,7 +33,6 @@
#include "qt4projectmanager_global.h"
#include <projectexplorer/abstractprocessstep.h>
#include <projectexplorer/buildstep.h>
namespace ProjectExplorer {
class BuildStep;
......
......@@ -30,17 +30,11 @@
#include "profileeditor.h"
#include "profilehighlighter.h"
#include "qt4projectmanager.h"
#include "qt4projectmanagerconstants.h"
#include "profileeditorfactory.h"
#include <coreplugin/actionmanager/actioncontainer.h>
#include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/icore.h>
#include <coreplugin/id.h>
#include <texteditor/fontsettings.h>
#include <texteditor/texteditoractionhandler.h>
#include <texteditor/texteditorconstants.h>
#include <texteditor/texteditorsettings.h>
#include <QFileInfo>
......
......@@ -34,14 +34,9 @@
#include "profileeditor.h"
#include <coreplugin/fileiconprovider.h>
#include <coreplugin/editormanager/editormanager.h>
#include <texteditor/texteditoractionhandler.h>
#include <texteditor/texteditorsettings.h>
#include <QCoreApplication>
#include <QFileInfo>
#include <QAction>
#include <QMenu>
using namespace Qt4ProjectManager;
using namespace Qt4ProjectManager::Internal;
......
......@@ -32,10 +32,7 @@
#include <extensionsystem/pluginmanager.h>
#include <QRegExp>
#include <QColor>
#include <QTextDocument>
#include <QTextEdit>
using namespace Qt4ProjectManager::Internal;
......
......@@ -31,16 +31,10 @@
#include "profileeditor.h"
#include "profilecompletionassist.h"
#include <coreplugin/editormanager/ieditor.h>
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/helpmanager.h>
#include <extensionsystem/pluginmanager.h>
#include <texteditor/itexteditor.h>
#include <texteditor/basetexteditor.h>
#include <texteditor/helpitem.h>
#include <utils/htmldocextractor.h>
#include <QTextCursor>
#include <QTextBlock>
#include <QUrl>
......
......@@ -29,12 +29,8 @@
#include "qmakekitconfigwidget.h"
#include "qt4projectmanagerconstants.h"
#include "qmakekitinformation.h"
#include <coreplugin/icore.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <utils/fileutils.h>
#include <QLineEdit>
......
......@@ -35,7 +35,6 @@
#include <projectexplorer/toolchain.h>
#include <projectexplorer/toolchainmanager.h>
#include <qtsupport/baseqtversion.h>
#include <qtsupport/qtkitinformation.h>
namespace Qt4ProjectManager {
......
......@@ -28,11 +28,9 @@
****************************************************************************/
#include "qmakeparser.h"
#include "qt4projectmanagerconstants.h"
#include <projectexplorer/task.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <utils/qtcassert.h>
using namespace Qt4ProjectManager;
using namespace Qt4ProjectManager::Internal;
......
......@@ -30,8 +30,6 @@
#include "qmakerunconfigurationfactory.h"
#include <extensionsystem/pluginmanager.h>
#include <projectexplorer/target.h>
#include <qtsupport/customexecutablerunconfiguration.h>
namespace Qt4ProjectManager {
......
......@@ -30,39 +30,28 @@
#include "qmakestep.h"
#include "ui_qmakestep.h"
#include <projectexplorer/projectexplorerconstants.h>
#include "qmakeparser.h"
#include "qt4buildconfiguration.h"
#include "qt4project.h"
#include "qt4projectmanagerconstants.h"
#include "qt4projectmanager.h"
#include "qmakekitinformation.h"
#include "qt4nodes.h"
#include <utils/fileutils.h>
#include <projectexplorer/buildmanager.h>
#include <projectexplorer/buildsteplist.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/kitinformation.h>
#include <projectexplorer/target.h>
#include <projectexplorer/toolchain.h>
#include <coreplugin/icore.h>
#include <coreplugin/mainwindow.h>
#include <coreplugin/progressmanager/progressmanager.h>
#include <coreplugin/messagemanager.h>
#include <qtsupport/qtkitinformation.h>
#include <qtsupport/qtversionmanager.h>
#include <qtsupport/debugginghelperbuildtask.h>
#include <utils/hostosinfo.h>
#include <utils/qtcassert.h>
#include <utils/qtcprocess.h>
#include <QDir>
#include <QFile>
#include <utils/runextensions.h>
#include <QtConcurrentRun>
#include <QMessageBox>
using namespace Qt4ProjectManager;
......
......@@ -28,15 +28,11 @@
****************************************************************************/
#include "desktopqtversion.h"
#include "../qt4projectmanagerconstants.h"
#include <qtsupport/qtsupportconstants.h>
#include <proparser/profileevaluator.h>
#include <coreplugin/featureprovider.h>
#include <QCoreApplication>
#include <QDir>
#include <QFileInfoList>
using namespace Qt4ProjectManager;
using namespace Qt4ProjectManager::Internal;
......
......@@ -28,9 +28,6 @@
****************************************************************************/
#include "desktopqtversionfactory.h"
#include "desktopqtversion.h"
#include "../qt4projectmanagerconstants.h"
#include <qtsupport/qtversionmanager.h>
#include <qtsupport/qtsupportconstants.h>
#include <QFileInfo>
......
......@@ -29,39 +29,24 @@
#include "qt4runconfiguration.h"
#include "../makestep.h"
#include "../qt4nodes.h"
#include "../qt4project.h"
#include "../qt4buildconfiguration.h"
#include "../qt4projectmanagerconstants.h"
#include "../qmakestep.h"
#include <coreplugin/coreconstants.h>
#include <coreplugin/icore.h>
#include <coreplugin/messagemanager.h>
#include <coreplugin/variablemanager.h>
#include <coreplugin/idocument.h>
#include <coreplugin/helpmanager.h>
#include <projectexplorer/buildstep.h>
#include <projectexplorer/environmentwidget.h>
#include <projectexplorer/target.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <utils/qtcassert.h>
#include <utils/qtcprocess.h>
#include <utils/pathchooser.h>
#include <utils/detailswidget.h>
#include <utils/stringutils.h>
#include <utils/persistentsettings.h>
#include <qtsupport/customexecutablerunconfiguration.h>
#include <qtsupport/qtoutputformatter.h>
#include <qtsupport/qtsupportconstants.h>
#include <qtsupport/baseqtversion.h>
#include <qtsupport/profilereader.h>
#include <qtsupport/qtkitinformation.h>
#include <utils/hostosinfo.h>
#include <QFormLayout>
#include <QInputDialog>
#include <QLabel>
#include <QLineEdit>
#include <QCheckBox>
......
......@@ -37,7 +37,6 @@
#include <utils/environment.h>
#include <QStringList>
#include <QMetaType>
#include <QLabel>
#include <QWidget>
......
......@@ -28,15 +28,11 @@
****************************************************************************/
#include "simulatorqtversion.h"
#include "qt4projectmanagerconstants.h"
#include <qtsupport/qtsupportconstants.h>
#include <proparser/profileevaluator.h>
#include <coreplugin/featureprovider.h>
#include <QCoreApplication>
#include <QDir>
#include <QFileInfoList>
using namespace Qt4ProjectManager;
using namespace Qt4ProjectManager::Internal;
......
......@@ -28,7 +28,6 @@
****************************************************************************/
#include "simulatorqtversionfactory.h"
#include "qt4projectmanagerconstants.h"
#include "simulatorqtversion.h"
#include <qtsupport/qtsupportconstants.h>
......
......@@ -37,7 +37,6 @@
#include "makestep.h"
#include "buildconfigurationinfo.h"
#include <utils/qtcassert.h>
#include <utils/qtcprocess.h>
#include <limits>
#include <projectexplorer/buildsteplist.h>
......@@ -45,10 +44,6 @@
#include <projectexplorer/target.h>
#include <projectexplorer/toolchain.h>
#include <projectexplorer/toolchainmanager.h>
#include <projectexplorer/kitinformation.h>
#include <qtsupport/qtsupportconstants.h>
#include <qtsupport/qtversionfactory.h>
#include <qtsupport/baseqtversion.h>
#include <qtsupport/qtkitinformation.h>
#include <qtsupport/qtversionmanager.h>
#include <qt4projectmanager/qmakekitinformation.h>
......
......@@ -32,13 +32,10 @@
#include "qt4projectmanager.h"
#include "qt4projectmanagerconstants.h"
#include "qtuicodemodelsupport.h"
#include "qmakestep.h"
#include "qt4buildconfiguration.h"
#include "qmakerunconfigurationfactory.h"
#include <projectexplorer/nodesvisitor.h>
#include <projectexplorer/runconfiguration.h>
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/editormanager/ieditor.h>
#include <coreplugin/fileiconprovider.h>
......@@ -47,34 +44,24 @@
#include <coreplugin/iversioncontrol.h>
#include <coreplugin/vcsmanager.h>
#include <cpptools/ModelManagerInterface.h>
#include <cplusplus/CppDocument.h>
#include <extensionsystem/pluginmanager.h>
#include <projectexplorer/buildmanager.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/target.h>
#include <qtsupport/profilereader.h>
#include <qtsupport/qtkitinformation.h>
#include <qtsupport/qtsupportconstants.h>
#include <utils/hostosinfo.h>
#include <utils/qtcassert.h>
#include <utils/stringutils.h>
#include <utils/fileutils.h>
#include <proparser/prowriter.h>
#include <utils/fileutils.h>
#include <algorithm>
#include <QDebug>
#include <QDir>
#include <QFile>
#include <QFileInfo>
#include <QCoreApplication>
#include <QXmlStreamReader>
#include <QPainter>
#include <QMessageBox>
#include <QPushButton>
#include <utils/QtConcurrentTools>
// Static cached data in struct Qt4NodeStaticData providing information and icons
......
......@@ -30,53 +30,32 @@
#include "qt4project.h"
#include "qt4projectmanager.h"
#include "makestep.h"
#include "qmakestep.h"
#include "qmakerunconfigurationfactory.h"
#include "qt4nodes.h"
#include "qt4projectconfigwidget.h"
#include "qt4projectmanagerconstants.h"
#include "qt4buildconfiguration.h"
#include "findqt4profiles.h"
#include "buildconfigurationinfo.h"
#include <coreplugin/icore.h>
#include <coreplugin/idocument.h>
#include <coreplugin/icontext.h>
#include <coreplugin/messagemanager.h>
#include <coreplugin/coreconstants.h>
#include <coreplugin/progressmanager/progressmanager.h>
#include <coreplugin/documentmanager.h>
#include <coreplugin/variablemanager.h>
#include <extensionsystem/pluginmanager.h>
#include <cpptools/ModelManagerInterface.h>
#include <qmljs/qmljsmodelmanagerinterface.h>
#include <qmljstools/qmljsmodelmanager.h>
#include <projectexplorer/buildtargetinfo.h>
#include <projectexplorer/deploymentdata.h>
#include <projectexplorer/toolchain.h>
#include <projectexplorer/headerpath.h>
#include <projectexplorer/target.h>
#include <projectexplorer/kitinformation.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/projectmacroexpander.h>
#include <utils/qtcassert.h>
#include <qtsupport/customexecutablerunconfiguration.h>
#include <qtsupport/qmldumptool.h>
#include <qtsupport/baseqtversion.h>
#include <qtsupport/profilereader.h>
#include <qtsupport/qtkitinformation.h>
#include <qtsupport/qtsupportconstants.h>
#include <qtsupport/qtversionmanager.h>
#include <utils/QtConcurrentTools>
#include <utils/stringutils.h>
#include <QDebug>
#include <QDir>
#include <QFileSystemWatcher>
#include <QFileDialog>
#include <QInputDialog>
using namespace Qt4ProjectManager;
using namespace Qt4ProjectManager::Internal;
......
......@@ -36,7 +36,6 @@
#include <projectexplorer/projectnodes.h>
#include <QStringList>
#include <QMap>
#include <QFutureInterface>
#include <QTimer>
#include <QFuture>
......
......@@ -29,33 +29,14 @@
#include "qt4projectconfigwidget.h"
#include "makestep.h"
#include "qmakestep.h"
#include "qt4project.h"
#include "qt4projectmanagerconstants.h"
#include "qt4projectmanager.h"
#include "qt4buildconfiguration.h"
#include "qt4nodes.h"
#include "ui_qt4projectconfigwidget.h"
#include <coreplugin/icore.h>
#include <coreplugin/idocument.h>
#include <projectexplorer/target.h>
#include <projectexplorer/toolchain.h>
#include <projectexplorer/task.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/buildconfiguration.h>
#include <qtsupport/qtversionfactory.h>
#include <qtsupport/baseqtversion.h>
#include <qtsupport/qtkitinformation.h>
#include <qtsupport/qtsupportconstants.h>
#include <qtsupport/qtversionmanager.h>
#include <utils/qtcassert.h>
#include <utils/qtcprocess.h>
#include <extensionsystem/pluginmanager.h>
#include <QPushButton>
#include <utils/detailswidget.h>
using namespace Qt4ProjectManager;
......
......@@ -40,24 +40,12 @@
#include "wizards/qtquickapp.h"
#include "wizards/html5app.h"
#include <coreplugin/icore.h>
#include <coreplugin/basefilewizard.h>
#include <coreplugin/id.h>
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/editormanager/ieditor.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/buildmanager.h>
#include <projectexplorer/session.h>
#include <projectexplorer/project.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/target.h>
#include <utils/qtcassert.h>
#include <qtsupport/profilereader.h>
#include <qtsupport/baseqtversion.h>
#include <qtsupport/qtkitinformation.h>
#include <qtsupport/qtversionmanager.h>
#include <QCoreApplication>
#include <QDir>
#include <QFileInfo>
#include <QVariant>
......
......@@ -48,7 +48,6 @@
#include "profilehoverhandler.h"
#include "qt4projectmanagerconstants.h"
#include "qt4project.h"
#include "profileeditor.h"
#include "externaleditors.h"
#include "profilecompletionassist.h"
#include "qt-desktop/qt4runconfiguration.h"
......@@ -58,25 +57,16 @@
#include "unconfiguredprojectpanel.h"
#include "qmakekitinformation.h"
#include <coreplugin/id.h>
#include <coreplugin/icore.h>
#include <extensionsystem/pluginmanager.h>
#include <projectexplorer/buildmanager.h>
#include <projectexplorer/project.h>
#include <projectexplorer/session.h>
#include <projectexplorer/kitmanager.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/projectnodes.h>
#include <projectexplorer/target.h>
#include <coreplugin/mimedatabase.h>
#include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/actionmanager/actioncontainer.h>
#include <coreplugin/actionmanager/command.h>
#include <coreplugin/editormanager/editormanager.h>
#include <texteditor/texteditoractionhandler.h>
#include <texteditor/texteditorconstants.h>
#include <texteditor/texteditorsettings.h>
#include <utils/hostosinfo.h>
#include <utils/parameteraction.h>
......@@ -85,7 +75,6 @@
#endif
#include <QtPlugin>
#include <QMenu>
using namespace Qt4ProjectManager::Internal;
using namespace Qt4ProjectManager;
......
......@@ -34,7 +34,6 @@
#include <coreplugin/icore.h>
#include <extensionsystem/pluginmanager.h>
#include <projectexplorer/kit.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/kitoptionspage.h>
#include <qtsupport/qtkitinformation.h>
......
......@@ -28,10 +28,8 @@
****************************************************************************/
#include "qtmodulesinfo.h"
#include "qglobal.h"
#include <QDebug>
#include <QString>
#include <QHash>
#include <QCoreApplication>
using namespace Qt4ProjectManager::Internal;
......
......@@ -31,9 +31,7 @@
#include "qt4buildconfiguration.h"
#include "qt4project.h"
#include "qt4projectmanager.h"
#include <projectexplorer/target.h>
#include <qtsupport/baseqtversion.h>
#include <qtsupport/qtkitinformation.h>
using namespace Qt4ProjectManager;
......
......@@ -32,7 +32,6 @@
#include "qt4projectmanagerconstants.h"
#include "qt4project.h"
#include "qt4projectmanager.h"
#include <coreplugin/idocument.h>
#include <coreplugin/icore.h>
......@@ -40,13 +39,9 @@
#include <coreplugin/coreconstants.h>
#include <qtsupport/qtkitinformation.h>
#include <projectexplorer/kit.h>
#include <projectexplorer/kitmanager.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/session.h>
#include <QLabel>
#include <QVBoxLayout>
#include <QPushButton>
#include <QDialogButtonBox>
......
......@@ -28,7 +28,6 @@
****************************************************************************/
#include "winceqtversion.h"
#include "qt4projectmanagerconstants.h"
#include <qtsupport/qtsupportconstants.h>
#include <QCoreApplication>
#include <QStringList>
......