From 1b64f6a18ecef84da14b9f6459a98a6fd4537840 Mon Sep 17 00:00:00 2001
From: Tobias Hunger <tobias.hunger@nokia.com>
Date: Wed, 17 Feb 2010 14:26:42 +0100
Subject: [PATCH] Remove unnecessary #includes

---
 .../qt4projectmanager/wizards/consoleappwizard.cpp    |  5 -----
 .../qt4projectmanager/wizards/guiappwizard.cpp        |  8 +-------
 .../qt4projectmanager/wizards/guiappwizarddialog.cpp  |  3 +--
 src/plugins/qt4projectmanager/wizards/qtwizard.cpp    | 11 ++++-------
 4 files changed, 6 insertions(+), 21 deletions(-)

diff --git a/src/plugins/qt4projectmanager/wizards/consoleappwizard.cpp b/src/plugins/qt4projectmanager/wizards/consoleappwizard.cpp
index 383408f7043..da7dd4baaa3 100644
--- a/src/plugins/qt4projectmanager/wizards/consoleappwizard.cpp
+++ b/src/plugins/qt4projectmanager/wizards/consoleappwizard.cpp
@@ -30,16 +30,11 @@
 #include "consoleappwizard.h"
 
 #include "consoleappwizarddialog.h"
-#include "qt4projectmanager.h"
 #include "qt4projectmanagerconstants.h"
 
 #include <cpptools/cppmodelmanagerinterface.h>
 
-#include <QtCore/QDir>
 #include <QtCore/QTextStream>
-#include <QtCore/QDebug>
-
-#include <QtGui/QIcon>
 
 static const char *mainCppC =
 "#include <QtCore/QCoreApplication>\n\n"
diff --git a/src/plugins/qt4projectmanager/wizards/guiappwizard.cpp b/src/plugins/qt4projectmanager/wizards/guiappwizard.cpp
index 3b72ed5dc52..87448e06972 100644
--- a/src/plugins/qt4projectmanager/wizards/guiappwizard.cpp
+++ b/src/plugins/qt4projectmanager/wizards/guiappwizard.cpp
@@ -28,22 +28,16 @@
 **************************************************************************/
 
 #include "guiappwizard.h"
+
 #include "guiappwizarddialog.h"
-#include "qt4projectmanager.h"
-#include "modulespage.h"
-#include "filespage.h"
 #include "qt4projectmanagerconstants.h"
 
-#include <projectexplorer/projectnodes.h>
 #include <cpptools/cppmodelmanagerinterface.h>
 #include <designer/cpp/formclasswizardparameters.h>
 #include <coreplugin/icore.h>
 
 #include <QtCore/QDir>
 #include <QtCore/QFile>
-#include <QtCore/QSettings>
-#include <QtCore/QByteArray>
-#include <QtCore/QDebug>
 #include <QtCore/QTextStream>
 #include <QtCore/QFileInfo>
 #include <QtCore/QSharedPointer>
diff --git a/src/plugins/qt4projectmanager/wizards/guiappwizarddialog.cpp b/src/plugins/qt4projectmanager/wizards/guiappwizarddialog.cpp
index 97750490c5d..60c424f442a 100644
--- a/src/plugins/qt4projectmanager/wizards/guiappwizarddialog.cpp
+++ b/src/plugins/qt4projectmanager/wizards/guiappwizarddialog.cpp
@@ -28,11 +28,10 @@
 **************************************************************************/
 
 #include "guiappwizarddialog.h"
+
 #include "filespage.h"
 #include "qtprojectparameters.h"
 
-#include <QtGui/QAbstractButton>
-
 namespace Qt4ProjectManager {
 namespace Internal {
 
diff --git a/src/plugins/qt4projectmanager/wizards/qtwizard.cpp b/src/plugins/qt4projectmanager/wizards/qtwizard.cpp
index 9a2b39aaa58..7400785e86e 100644
--- a/src/plugins/qt4projectmanager/wizards/qtwizard.cpp
+++ b/src/plugins/qt4projectmanager/wizards/qtwizard.cpp
@@ -28,21 +28,18 @@
 **************************************************************************/
 
 #include "qtwizard.h"
+
 #include "qt4project.h"
+#include "qt4projectmanager.h"
 #include "qt4projectmanagerconstants.h"
 #include "modulespage.h"
+#include "targetspage.h"
 
 #include <coreplugin/icore.h>
-#include <projectexplorer/projectexplorer.h>
-#include <projectexplorer/projectexplorerconstants.h>
+#include <extensionsystem/pluginmanager.h>
 #include <cpptools/cpptoolsconstants.h>
 
-#include <QtCore/QByteArray>
 #include <QtCore/QCoreApplication>
-#include <QtCore/QFile>
-#include <QtCore/QFileInfo>
-#include <QtCore/QTextStream>
-#include <QtCore/QSettings>
 #include <QtCore/QVariant>
 
 using namespace Qt4ProjectManager;
-- 
GitLab