Commit c0b6d1d3 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

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 @@ ...@@ -30,7 +30,6 @@
#include "classdefinition.h" #include "classdefinition.h"
#include <QFileInfo> #include <QFileInfo>
#include <QFileDialog>
namespace Qt4ProjectManager { namespace Qt4ProjectManager {
namespace Internal { namespace Internal {
......
...@@ -35,8 +35,6 @@ ...@@ -35,8 +35,6 @@
#include <QMessageBox> #include <QMessageBox>
#include <QStandardItemModel> #include <QStandardItemModel>
#include <QStandardItem> #include <QStandardItem>
#include <QLabel>
#include <QToolButton>
#include <QDebug> #include <QDebug>
#include <QRegExp> #include <QRegExp>
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
#include "customwidgetpluginwizardpage.h" #include "customwidgetpluginwizardpage.h"
#include "customwidgetwidgetswizardpage.h" #include "customwidgetwidgetswizardpage.h"
#include "pluginoptions.h"
#include "ui_customwidgetpluginwizardpage.h" #include "ui_customwidgetpluginwizardpage.h"
namespace Qt4ProjectManager { namespace Qt4ProjectManager {
......
...@@ -29,12 +29,10 @@ ...@@ -29,12 +29,10 @@
#include "customwidgetwidgetswizardpage.h" #include "customwidgetwidgetswizardpage.h"
#include "ui_customwidgetwidgetswizardpage.h" #include "ui_customwidgetwidgetswizardpage.h"
#include "plugingenerator.h"
#include "classdefinition.h" #include "classdefinition.h"
#include <coreplugin/coreconstants.h> #include <coreplugin/coreconstants.h>
#include <QFileInfo>
#include <QTimer> #include <QTimer>
#include <QStackedLayout> #include <QStackedLayout>
......
...@@ -30,8 +30,8 @@ ...@@ -30,8 +30,8 @@
#include "customwidgetwizard.h" #include "customwidgetwizard.h"
#include "customwidgetwizarddialog.h" #include "customwidgetwizarddialog.h"
#include "plugingenerator.h" #include "plugingenerator.h"
#include "pluginoptions.h"
#include "filenamingparameters.h" #include "filenamingparameters.h"
#include "pluginoptions.h"
#include <projectexplorer/projectexplorerconstants.h> #include <projectexplorer/projectexplorerconstants.h>
......
...@@ -30,12 +30,9 @@ ...@@ -30,12 +30,9 @@
#include "customwidgetwizarddialog.h" #include "customwidgetwizarddialog.h"
#include "customwidgetwidgetswizardpage.h" #include "customwidgetwidgetswizardpage.h"
#include "customwidgetpluginwizardpage.h" #include "customwidgetpluginwizardpage.h"
#include "customwidgetwizard.h" #include "pluginoptions.h"
#include <projectexplorer/projectexplorerconstants.h> #include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/devicesupport/idevice.h>
#include <projectexplorer/kitinformation.h>
#include <projectexplorer/kitmanager.h>
#include <qtsupport/qtkitinformation.h> #include <qtsupport/qtkitinformation.h>
#include <qtsupport/qtsupportconstants.h> #include <qtsupport/qtsupportconstants.h>
......
...@@ -37,11 +37,9 @@ ...@@ -37,11 +37,9 @@
#include <projectexplorer/target.h> #include <projectexplorer/target.h>
#include <projectexplorer/session.h> #include <projectexplorer/session.h>
#include <qtsupport/qtkitinformation.h> #include <qtsupport/qtkitinformation.h>
#include <qtsupport/qtversionmanager.h>
#include <designer/designerconstants.h> #include <designer/designerconstants.h>
#include <QProcess> #include <QProcess>
#include <QFileInfo>
#include <QDebug> #include <QDebug>
#include <QSignalMapper> #include <QSignalMapper>
......
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
#include <projectexplorer/kitinformation.h> #include <projectexplorer/kitinformation.h>
#include <projectexplorer/target.h> #include <projectexplorer/target.h>
#include <projectexplorer/toolchain.h> #include <projectexplorer/toolchain.h>
#include <projectexplorer/buildconfiguration.h>
#include <utils/hostosinfo.h> #include <utils/hostosinfo.h>
#include <QFileInfo> #include <QFileInfo>
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
#ifndef LIBRARYDETAILSCONTROLLER_H #ifndef LIBRARYDETAILSCONTROLLER_H
#define LIBRARYDETAILSCONTROLLER_H #define LIBRARYDETAILSCONTROLLER_H
#include <QWidget>
#include "addlibrarywizard.h" #include "addlibrarywizard.h"
namespace Qt4ProjectManager { namespace Qt4ProjectManager {
......
...@@ -40,13 +40,8 @@ ...@@ -40,13 +40,8 @@
#include <projectexplorer/buildsteplist.h> #include <projectexplorer/buildsteplist.h>
#include <projectexplorer/gnumakeparser.h> #include <projectexplorer/gnumakeparser.h>
#include <projectexplorer/projectexplorer.h> #include <projectexplorer/projectexplorer.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/kitinformation.h> #include <projectexplorer/kitinformation.h>
#include <projectexplorer/task.h>
#include <extensionsystem/pluginmanager.h>
#include <utils/qtcprocess.h> #include <utils/qtcprocess.h>
#include <qtsupport/qtparser.h>
#include <qtsupport/qtkitinformation.h>
#include <QDir> #include <QDir>
#include <QFileInfo> #include <QFileInfo>
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#include "qt4projectmanager_global.h" #include "qt4projectmanager_global.h"
#include <projectexplorer/abstractprocessstep.h> #include <projectexplorer/abstractprocessstep.h>
#include <projectexplorer/buildstep.h>
namespace ProjectExplorer { namespace ProjectExplorer {
class BuildStep; class BuildStep;
......
...@@ -30,17 +30,11 @@ ...@@ -30,17 +30,11 @@
#include "profileeditor.h" #include "profileeditor.h"
#include "profilehighlighter.h" #include "profilehighlighter.h"
#include "qt4projectmanager.h"
#include "qt4projectmanagerconstants.h" #include "qt4projectmanagerconstants.h"
#include "profileeditorfactory.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/fontsettings.h>
#include <texteditor/texteditoractionhandler.h> #include <texteditor/texteditoractionhandler.h>
#include <texteditor/texteditorconstants.h>
#include <texteditor/texteditorsettings.h> #include <texteditor/texteditorsettings.h>
#include <QFileInfo> #include <QFileInfo>
......
...@@ -34,14 +34,9 @@ ...@@ -34,14 +34,9 @@
#include "profileeditor.h" #include "profileeditor.h"
#include <coreplugin/fileiconprovider.h> #include <coreplugin/fileiconprovider.h>
#include <coreplugin/editormanager/editormanager.h>
#include <texteditor/texteditoractionhandler.h>
#include <texteditor/texteditorsettings.h> #include <texteditor/texteditorsettings.h>
#include <QCoreApplication> #include <QCoreApplication>
#include <QFileInfo>
#include <QAction>
#include <QMenu>
using namespace Qt4ProjectManager; using namespace Qt4ProjectManager;
using namespace Qt4ProjectManager::Internal; using namespace Qt4ProjectManager::Internal;
......
...@@ -32,10 +32,7 @@ ...@@ -32,10 +32,7 @@
#include <extensionsystem/pluginmanager.h> #include <extensionsystem/pluginmanager.h>
#include <QRegExp>
#include <QColor>
#include <QTextDocument> #include <QTextDocument>
#include <QTextEdit>
using namespace Qt4ProjectManager::Internal; using namespace Qt4ProjectManager::Internal;
......
...@@ -31,16 +31,10 @@ ...@@ -31,16 +31,10 @@
#include "profileeditor.h" #include "profileeditor.h"
#include "profilecompletionassist.h" #include "profilecompletionassist.h"
#include <coreplugin/editormanager/ieditor.h>
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/helpmanager.h> #include <coreplugin/helpmanager.h>
#include <extensionsystem/pluginmanager.h> #include <extensionsystem/pluginmanager.h>
#include <texteditor/itexteditor.h>
#include <texteditor/basetexteditor.h>
#include <texteditor/helpitem.h>
#include <utils/htmldocextractor.h> #include <utils/htmldocextractor.h>
#include <QTextCursor>
#include <QTextBlock> #include <QTextBlock>
#include <QUrl> #include <QUrl>
......
...@@ -29,12 +29,8 @@ ...@@ -29,12 +29,8 @@
#include "qmakekitconfigwidget.h" #include "qmakekitconfigwidget.h"
#include "qt4projectmanagerconstants.h"
#include "qmakekitinformation.h" #include "qmakekitinformation.h"
#include <coreplugin/icore.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <utils/fileutils.h> #include <utils/fileutils.h>
#include <QLineEdit> #include <QLineEdit>
......
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
#include <projectexplorer/toolchain.h> #include <projectexplorer/toolchain.h>
#include <projectexplorer/toolchainmanager.h> #include <projectexplorer/toolchainmanager.h>
#include <qtsupport/baseqtversion.h>
#include <qtsupport/qtkitinformation.h> #include <qtsupport/qtkitinformation.h>
namespace Qt4ProjectManager { namespace Qt4ProjectManager {
......
...@@ -28,11 +28,9 @@ ...@@ -28,11 +28,9 @@
****************************************************************************/ ****************************************************************************/
#include "qmakeparser.h" #include "qmakeparser.h"
#include "qt4projectmanagerconstants.h"
#include <projectexplorer/task.h> #include <projectexplorer/task.h>
#include <projectexplorer/projectexplorerconstants.h> #include <projectexplorer/projectexplorerconstants.h>
#include <utils/qtcassert.h>
using namespace Qt4ProjectManager; using namespace Qt4ProjectManager;
using namespace Qt4ProjectManager::Internal; using namespace Qt4ProjectManager::Internal;
......
...@@ -30,8 +30,6 @@ ...@@ -30,8 +30,6 @@
#include "qmakerunconfigurationfactory.h" #include "qmakerunconfigurationfactory.h"
#include <extensionsystem/pluginmanager.h> #include <extensionsystem/pluginmanager.h>
#include <projectexplorer/target.h>
#include <qtsupport/customexecutablerunconfiguration.h>
namespace Qt4ProjectManager { namespace Qt4ProjectManager {
......
...@@ -30,39 +30,28 @@ ...@@ -30,39 +30,28 @@
#include "qmakestep.h" #include "qmakestep.h"
#include "ui_qmakestep.h" #include "ui_qmakestep.h"
#include <projectexplorer/projectexplorerconstants.h>
#include "qmakeparser.h" #include "qmakeparser.h"
#include "qt4buildconfiguration.h" #include "qt4buildconfiguration.h"
#include "qt4project.h" #include "qt4project.h"
#include "qt4projectmanagerconstants.h" #include "qt4projectmanagerconstants.h"
#include "qt4projectmanager.h"
#include "qmakekitinformation.h" #include "qmakekitinformation.h"
#include "qt4nodes.h" #include "qt4nodes.h"
#include <utils/fileutils.h>
#include <projectexplorer/buildmanager.h> #include <projectexplorer/buildmanager.h>
#include <projectexplorer/buildsteplist.h> #include <projectexplorer/buildsteplist.h>
#include <projectexplorer/projectexplorer.h> #include <projectexplorer/projectexplorer.h>
#include <projectexplorer/kitinformation.h>
#include <projectexplorer/target.h> #include <projectexplorer/target.h>
#include <projectexplorer/toolchain.h>
#include <coreplugin/icore.h> #include <coreplugin/icore.h>
#include <coreplugin/mainwindow.h>
#include <coreplugin/progressmanager/progressmanager.h> #include <coreplugin/progressmanager/progressmanager.h>
#include <coreplugin/messagemanager.h>
#include <qtsupport/qtkitinformation.h> #include <qtsupport/qtkitinformation.h>
#include <qtsupport/qtversionmanager.h> #include <qtsupport/qtversionmanager.h>
#include <qtsupport/debugginghelperbuildtask.h> #include <qtsupport/debugginghelperbuildtask.h>
#include <utils/hostosinfo.h> #include <utils/hostosinfo.h>
#include <utils/qtcassert.h>
#include <utils/qtcprocess.h> #include <utils/qtcprocess.h>
#include <QDir> #include <QDir>
#include <QFile>
#include <utils/runextensions.h> #include <utils/runextensions.h>
#include <QtConcurrentRun>
#include <QMessageBox> #include <QMessageBox>
using namespace Qt4ProjectManager; using namespace Qt4ProjectManager;
......
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