summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2013-04-02 15:48:40 +0200
committerFriedemann Kleint <Friedemann.Kleint@digia.com>2013-04-04 09:10:40 +0200
commitebfb3bbca74575275a9e74e3acfcf9cc9723a713 (patch)
tree81a65b8dd108cfc92530da48142004a3f62bc67a
parenta78bc196ae3cf30afbce365ce622b5f5f859fb8a (diff)
downloadqt-creator-ebfb3bbca74575275a9e74e3acfcf9cc9723a713.tar.gz
Clean headers in RemoteLinux.
Ran script to remove inludes on a trial-and-error basis and manually corrected it. Change-Id: Ie7559562218ecab65da17f58e3515556a4a1d5c5 Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: Christian Kandeler <christian.kandeler@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
-rw-r--r--src/plugins/remotelinux/abstractpackagingstep.cpp4
-rw-r--r--src/plugins/remotelinux/abstractremotelinuxdeployservice.h1
-rw-r--r--src/plugins/remotelinux/abstractremotelinuxdeploystep.cpp2
-rw-r--r--src/plugins/remotelinux/abstractuploadandinstallpackageservice.cpp1
-rw-r--r--src/plugins/remotelinux/genericdirectuploadstep.cpp3
-rw-r--r--src/plugins/remotelinux/genericlinuxdeviceconfigurationwidget.cpp2
-rw-r--r--src/plugins/remotelinux/genericremotelinuxdeploystepfactory.cpp5
-rw-r--r--src/plugins/remotelinux/linuxdevice.cpp2
-rw-r--r--src/plugins/remotelinux/publickeydeploymentdialog.cpp1
-rw-r--r--src/plugins/remotelinux/remotelinuxdebugsupport.cpp3
-rw-r--r--src/plugins/remotelinux/remotelinuxdeployconfiguration.cpp3
-rw-r--r--src/plugins/remotelinux/remotelinuxdeployconfiguration.h2
-rw-r--r--src/plugins/remotelinux/remotelinuxdeployconfigurationfactory.cpp1
-rw-r--r--src/plugins/remotelinux/remotelinuxdeployconfigurationwidget.cpp2
-rw-r--r--src/plugins/remotelinux/remotelinuxdeployconfigurationwidget.h1
-rw-r--r--src/plugins/remotelinux/remotelinuxdeploymentdatamodel.cpp2
-rw-r--r--src/plugins/remotelinux/remotelinuxenvironmentreader.cpp2
-rw-r--r--src/plugins/remotelinux/remotelinuxenvironmentreader.h3
-rw-r--r--src/plugins/remotelinux/remotelinuxpackageinstaller.h2
-rw-r--r--src/plugins/remotelinux/remotelinuxplugin.cpp8
-rw-r--r--src/plugins/remotelinux/remotelinuxrunconfiguration.cpp6
-rw-r--r--src/plugins/remotelinux/remotelinuxrunconfigurationfactory.cpp1
-rw-r--r--src/plugins/remotelinux/remotelinuxrunconfigurationwidget.cpp4
-rw-r--r--src/plugins/remotelinux/remotelinuxruncontrol.cpp2
-rw-r--r--src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp2
-rw-r--r--src/plugins/remotelinux/sshkeydeployer.cpp3
-rw-r--r--src/plugins/remotelinux/tarpackagecreationstep.cpp2
-rw-r--r--src/plugins/remotelinux/uploadandinstalltarpackagestep.cpp2
28 files changed, 2 insertions, 70 deletions
diff --git a/src/plugins/remotelinux/abstractpackagingstep.cpp b/src/plugins/remotelinux/abstractpackagingstep.cpp
index 3b705859b1..688663ead8 100644
--- a/src/plugins/remotelinux/abstractpackagingstep.cpp
+++ b/src/plugins/remotelinux/abstractpackagingstep.cpp
@@ -28,15 +28,11 @@
****************************************************************************/
#include "abstractpackagingstep.h"
-#include "remotelinuxdeployconfiguration.h"
-
#include <projectexplorer/buildconfiguration.h>
#include <projectexplorer/deploymentdata.h>
#include <projectexplorer/projectexplorerconstants.h>
-#include <projectexplorer/project.h>
#include <projectexplorer/target.h>
#include <projectexplorer/task.h>
-#include <utils/fileutils.h>
#include <QDateTime>
#include <QFileInfo>
diff --git a/src/plugins/remotelinux/abstractremotelinuxdeployservice.h b/src/plugins/remotelinux/abstractremotelinuxdeployservice.h
index 5f8755d154..9fb44a79e3 100644
--- a/src/plugins/remotelinux/abstractremotelinuxdeployservice.h
+++ b/src/plugins/remotelinux/abstractremotelinuxdeployservice.h
@@ -34,7 +34,6 @@
#include <projectexplorer/devicesupport/idevice.h>
#include <QObject>
-#include <QSharedPointer>
#include <QVariantMap>
namespace QSsh { class SshConnection; }
diff --git a/src/plugins/remotelinux/abstractremotelinuxdeploystep.cpp b/src/plugins/remotelinux/abstractremotelinuxdeploystep.cpp
index 17f9964d2d..a52db4941e 100644
--- a/src/plugins/remotelinux/abstractremotelinuxdeploystep.cpp
+++ b/src/plugins/remotelinux/abstractremotelinuxdeploystep.cpp
@@ -32,10 +32,8 @@
#include "abstractremotelinuxdeployservice.h"
#include "remotelinuxdeployconfiguration.h"
-#include <projectexplorer/devicesupport/devicemanager.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/kitinformation.h>
-#include <projectexplorer/target.h>
using namespace ProjectExplorer;
diff --git a/src/plugins/remotelinux/abstractuploadandinstallpackageservice.cpp b/src/plugins/remotelinux/abstractuploadandinstallpackageservice.cpp
index ba10fbae02..d83d1d7f42 100644
--- a/src/plugins/remotelinux/abstractuploadandinstallpackageservice.cpp
+++ b/src/plugins/remotelinux/abstractuploadandinstallpackageservice.cpp
@@ -34,7 +34,6 @@
#include <projectexplorer/deployablefile.h>
#include <utils/qtcassert.h>
-#include <ssh/sshconnection.h>
#include <QFileInfo>
#include <QString>
diff --git a/src/plugins/remotelinux/genericdirectuploadstep.cpp b/src/plugins/remotelinux/genericdirectuploadstep.cpp
index dae40b9dd9..70e991cffd 100644
--- a/src/plugins/remotelinux/genericdirectuploadstep.cpp
+++ b/src/plugins/remotelinux/genericdirectuploadstep.cpp
@@ -29,15 +29,12 @@
#include "genericdirectuploadstep.h"
#include "genericdirectuploadservice.h"
-#include "remotelinuxdeployconfiguration.h"
#include <projectexplorer/deploymentdata.h>
#include <projectexplorer/target.h>
#include <QCheckBox>
#include <QVBoxLayout>
-#include <QList>
-#include <QSharedPointer>
using namespace ProjectExplorer;
diff --git a/src/plugins/remotelinux/genericlinuxdeviceconfigurationwidget.cpp b/src/plugins/remotelinux/genericlinuxdeviceconfigurationwidget.cpp
index cfe734ec07..9c94f21a70 100644
--- a/src/plugins/remotelinux/genericlinuxdeviceconfigurationwidget.cpp
+++ b/src/plugins/remotelinux/genericlinuxdeviceconfigurationwidget.cpp
@@ -35,8 +35,6 @@
#include <ssh/sshconnection.h>
#include <ssh/sshkeycreationdialog.h>
-#include <QTextStream>
-
using namespace ProjectExplorer;
using namespace RemoteLinux;
using namespace QSsh;
diff --git a/src/plugins/remotelinux/genericremotelinuxdeploystepfactory.cpp b/src/plugins/remotelinux/genericremotelinuxdeploystepfactory.cpp
index 6146a13da3..4f76f2500c 100644
--- a/src/plugins/remotelinux/genericremotelinuxdeploystepfactory.cpp
+++ b/src/plugins/remotelinux/genericremotelinuxdeploystepfactory.cpp
@@ -31,15 +31,10 @@
#include "genericdirectuploadstep.h"
#include "remotelinuxcheckforfreediskspacestep.h"
#include "remotelinuxdeployconfiguration.h"
-#include "remotelinuxdeployconfigurationfactory.h"
#include "remotelinuxcustomcommanddeploymentstep.h"
#include "tarpackagecreationstep.h"
#include "uploadandinstalltarpackagestep.h"
-#include <projectexplorer/buildsteplist.h>
-#include <projectexplorer/kitinformation.h>
-#include <projectexplorer/target.h>
-
using namespace ProjectExplorer;
namespace RemoteLinux {
diff --git a/src/plugins/remotelinux/linuxdevice.cpp b/src/plugins/remotelinux/linuxdevice.cpp
index 9a537b22f2..572f87497b 100644
--- a/src/plugins/remotelinux/linuxdevice.cpp
+++ b/src/plugins/remotelinux/linuxdevice.cpp
@@ -36,8 +36,6 @@
#include <coreplugin/id.h>
#include <projectexplorer/devicesupport/sshdeviceprocesslist.h>
-#include <ssh/sshconnection.h>
-#include <utils/portlist.h>
#include <utils/qtcassert.h>
using namespace ProjectExplorer;
diff --git a/src/plugins/remotelinux/publickeydeploymentdialog.cpp b/src/plugins/remotelinux/publickeydeploymentdialog.cpp
index 2443e6e31d..8bc3747a80 100644
--- a/src/plugins/remotelinux/publickeydeploymentdialog.cpp
+++ b/src/plugins/remotelinux/publickeydeploymentdialog.cpp
@@ -33,7 +33,6 @@
#include <coreplugin/icore.h>
#include <ssh/sshconnection.h>
-#include <QTimer>
#include <QFileDialog>
using namespace ProjectExplorer;
diff --git a/src/plugins/remotelinux/remotelinuxdebugsupport.cpp b/src/plugins/remotelinux/remotelinuxdebugsupport.cpp
index 545c0ed330..750dedccdd 100644
--- a/src/plugins/remotelinux/remotelinuxdebugsupport.cpp
+++ b/src/plugins/remotelinux/remotelinuxdebugsupport.cpp
@@ -34,10 +34,8 @@
#include <debugger/debuggerengine.h>
#include <debugger/debuggerstartparameters.h>
#include <debugger/debuggerkitinformation.h>
-#include <projectexplorer/abi.h>
#include <projectexplorer/buildconfiguration.h>
#include <projectexplorer/devicesupport/deviceusedportsgatherer.h>
-#include <projectexplorer/kit.h>
#include <projectexplorer/project.h>
#include <projectexplorer/target.h>
#include <projectexplorer/toolchain.h>
@@ -46,7 +44,6 @@
#include <utils/qtcassert.h>
#include <QPointer>
-#include <QSharedPointer>
using namespace QSsh;
using namespace Debugger;
diff --git a/src/plugins/remotelinux/remotelinuxdeployconfiguration.cpp b/src/plugins/remotelinux/remotelinuxdeployconfiguration.cpp
index 15de35bf53..6e0146d5d6 100644
--- a/src/plugins/remotelinux/remotelinuxdeployconfiguration.cpp
+++ b/src/plugins/remotelinux/remotelinuxdeployconfiguration.cpp
@@ -30,9 +30,6 @@
#include "remotelinuxdeployconfigurationwidget.h"
-#include <projectexplorer/project.h>
-#include <projectexplorer/target.h>
-
using namespace ProjectExplorer;
namespace RemoteLinux {
diff --git a/src/plugins/remotelinux/remotelinuxdeployconfiguration.h b/src/plugins/remotelinux/remotelinuxdeployconfiguration.h
index fad2b76f9b..dffea2ce6e 100644
--- a/src/plugins/remotelinux/remotelinuxdeployconfiguration.h
+++ b/src/plugins/remotelinux/remotelinuxdeployconfiguration.h
@@ -32,10 +32,8 @@
#include "remotelinux_export.h"
-#include <projectexplorer/buildstep.h>
#include <projectexplorer/buildsteplist.h>
#include <projectexplorer/deployconfiguration.h>
-#include <projectexplorer/devicesupport/idevice.h>
namespace RemoteLinux {
namespace Internal { class RemoteLinuxDeployConfigurationFactory; }
diff --git a/src/plugins/remotelinux/remotelinuxdeployconfigurationfactory.cpp b/src/plugins/remotelinux/remotelinuxdeployconfigurationfactory.cpp
index 3797908973..9e07ce27fe 100644
--- a/src/plugins/remotelinux/remotelinuxdeployconfigurationfactory.cpp
+++ b/src/plugins/remotelinux/remotelinuxdeployconfigurationfactory.cpp
@@ -36,7 +36,6 @@
#include <projectexplorer/abi.h>
#include <projectexplorer/toolchain.h>
#include <projectexplorer/kitinformation.h>
-#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/project.h>
#include <projectexplorer/target.h>
diff --git a/src/plugins/remotelinux/remotelinuxdeployconfigurationwidget.cpp b/src/plugins/remotelinux/remotelinuxdeployconfigurationwidget.cpp
index 53ade0d925..cfc4661222 100644
--- a/src/plugins/remotelinux/remotelinuxdeployconfigurationwidget.cpp
+++ b/src/plugins/remotelinux/remotelinuxdeployconfigurationwidget.cpp
@@ -32,9 +32,7 @@
#include "remotelinuxdeployconfiguration.h"
#include "remotelinuxdeploymentdatamodel.h"
-#include <projectexplorer/project.h>
#include <projectexplorer/target.h>
-#include <utils/qtcassert.h>
using namespace ProjectExplorer;
diff --git a/src/plugins/remotelinux/remotelinuxdeployconfigurationwidget.h b/src/plugins/remotelinux/remotelinuxdeployconfigurationwidget.h
index 13758181db..eade1b8fcb 100644
--- a/src/plugins/remotelinux/remotelinuxdeployconfigurationwidget.h
+++ b/src/plugins/remotelinux/remotelinuxdeployconfigurationwidget.h
@@ -31,7 +31,6 @@
#include "remotelinux_export.h"
-#include <projectexplorer/deployconfiguration.h>
#include <projectexplorer/namedwidget.h>
namespace RemoteLinux {
diff --git a/src/plugins/remotelinux/remotelinuxdeploymentdatamodel.cpp b/src/plugins/remotelinux/remotelinuxdeploymentdatamodel.cpp
index a2022fb9c8..0542fb06d4 100644
--- a/src/plugins/remotelinux/remotelinuxdeploymentdatamodel.cpp
+++ b/src/plugins/remotelinux/remotelinuxdeploymentdatamodel.cpp
@@ -29,8 +29,6 @@
#include "remotelinuxdeploymentdatamodel.h"
-#include <QDir>
-
using namespace ProjectExplorer;
namespace RemoteLinux {
diff --git a/src/plugins/remotelinux/remotelinuxenvironmentreader.cpp b/src/plugins/remotelinux/remotelinuxenvironmentreader.cpp
index 0aae9177c5..92101bed6f 100644
--- a/src/plugins/remotelinux/remotelinuxenvironmentreader.cpp
+++ b/src/plugins/remotelinux/remotelinuxenvironmentreader.cpp
@@ -28,8 +28,6 @@
****************************************************************************/
#include "remotelinuxenvironmentreader.h"
-#include "linuxdevice.h"
-
#include <ssh/sshremoteprocessrunner.h>
#include <projectexplorer/devicesupport/idevice.h>
#include <projectexplorer/kitinformation.h>
diff --git a/src/plugins/remotelinux/remotelinuxenvironmentreader.h b/src/plugins/remotelinux/remotelinuxenvironmentreader.h
index 6c487b8add..7ee4c506ee 100644
--- a/src/plugins/remotelinux/remotelinuxenvironmentreader.h
+++ b/src/plugins/remotelinux/remotelinuxenvironmentreader.h
@@ -30,9 +30,10 @@
#ifndef REMOTELINUXENVIRONMENTREADER_H
#define REMOTELINUXENVIRONMENTREADER_H
-#include <projectexplorer/devicesupport/idevice.h>
#include <utils/environment.h>
+#include <QObject>
+
namespace ProjectExplorer {
class RunConfiguration;
class Kit;
diff --git a/src/plugins/remotelinux/remotelinuxpackageinstaller.h b/src/plugins/remotelinux/remotelinuxpackageinstaller.h
index 022872df1b..a6b3e40d8b 100644
--- a/src/plugins/remotelinux/remotelinuxpackageinstaller.h
+++ b/src/plugins/remotelinux/remotelinuxpackageinstaller.h
@@ -34,8 +34,6 @@
#include <projectexplorer/devicesupport/idevice.h>
-#include <QSharedPointer>
-
namespace RemoteLinux {
namespace Internal {
diff --git a/src/plugins/remotelinux/remotelinuxplugin.cpp b/src/plugins/remotelinux/remotelinuxplugin.cpp
index 310aaa7284..682eebb7b8 100644
--- a/src/plugins/remotelinux/remotelinuxplugin.cpp
+++ b/src/plugins/remotelinux/remotelinuxplugin.cpp
@@ -36,15 +36,7 @@
#include "remotelinuxrunconfigurationfactory.h"
#include "remotelinuxruncontrolfactory.h"
-#include <coreplugin/icore.h>
-#include <coreplugin/coreconstants.h>
-#include <coreplugin/actionmanager/actionmanager.h>
-#include <coreplugin/actionmanager/actioncontainer.h>
-
-#include <projectexplorer/projectexplorerconstants.h>
-
#include <QtPlugin>
-#include <QAction>
namespace RemoteLinux {
namespace Internal {
diff --git a/src/plugins/remotelinux/remotelinuxrunconfiguration.cpp b/src/plugins/remotelinux/remotelinuxrunconfiguration.cpp
index 031c8dfe6c..83f7230a52 100644
--- a/src/plugins/remotelinux/remotelinuxrunconfiguration.cpp
+++ b/src/plugins/remotelinux/remotelinuxrunconfiguration.cpp
@@ -29,20 +29,14 @@
#include "remotelinuxrunconfiguration.h"
-#include "remotelinuxdeployconfiguration.h"
#include "remotelinuxrunconfigurationwidget.h"
#include <projectexplorer/buildtargetinfo.h>
#include <projectexplorer/deploymentdata.h>
#include <projectexplorer/project.h>
-#include <projectexplorer/session.h>
#include <projectexplorer/target.h>
-#include <projectexplorer/toolchain.h>
#include <qtsupport/qtoutputformatter.h>
-#include <utils/portlist.h>
-#include <utils/qtcassert.h>
-
using namespace ProjectExplorer;
using namespace QSsh;
using namespace Utils;
diff --git a/src/plugins/remotelinux/remotelinuxrunconfigurationfactory.cpp b/src/plugins/remotelinux/remotelinuxrunconfigurationfactory.cpp
index d18c0065ae..eec12119f8 100644
--- a/src/plugins/remotelinux/remotelinuxrunconfigurationfactory.cpp
+++ b/src/plugins/remotelinux/remotelinuxrunconfigurationfactory.cpp
@@ -39,7 +39,6 @@
#include <QFileInfo>
#include <QString>
-#include <QStringList>
using namespace ProjectExplorer;
diff --git a/src/plugins/remotelinux/remotelinuxrunconfigurationwidget.cpp b/src/plugins/remotelinux/remotelinuxrunconfigurationwidget.cpp
index 3aa1a12ca9..aa2819ff7d 100644
--- a/src/plugins/remotelinux/remotelinuxrunconfigurationwidget.cpp
+++ b/src/plugins/remotelinux/remotelinuxrunconfigurationwidget.cpp
@@ -31,10 +31,7 @@
#include "remotelinuxrunconfiguration.h"
#include "remotelinuxenvironmentreader.h"
-#include <coreplugin/coreconstants.h>
-#include <coreplugin/icore.h>
#include <projectexplorer/environmentwidget.h>
-#include <projectexplorer/projectexplorerconstants.h>
#include <utils/detailswidget.h>
#include <QCoreApplication>
@@ -42,7 +39,6 @@
#include <QCheckBox>
#include <QComboBox>
#include <QFormLayout>
-#include <QGroupBox>
#include <QHBoxLayout>
#include <QLabel>
#include <QLineEdit>
diff --git a/src/plugins/remotelinux/remotelinuxruncontrol.cpp b/src/plugins/remotelinux/remotelinuxruncontrol.cpp
index 8d3aa71627..93b3f69ec5 100644
--- a/src/plugins/remotelinux/remotelinuxruncontrol.cpp
+++ b/src/plugins/remotelinux/remotelinuxruncontrol.cpp
@@ -33,9 +33,7 @@
#include <projectexplorer/devicesupport/deviceapplicationrunner.h>
#include <projectexplorer/kitinformation.h>
-#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/target.h>
-#include <utils/qtcassert.h>
#include <QString>
#include <QIcon>
diff --git a/src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp b/src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp
index 742196ae2f..8cd5be8e44 100644
--- a/src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp
+++ b/src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp
@@ -33,12 +33,10 @@
#include "remotelinuxrunconfiguration.h"
#include "remotelinuxruncontrol.h"
-#include <debugger/debuggerconstants.h>
#include <debugger/debuggerplugin.h>
#include <debugger/debuggerrunner.h>
#include <debugger/debuggerstartparameters.h>
#include <projectexplorer/kitinformation.h>
-#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/target.h>
#include <utils/portlist.h>
#include <utils/qtcassert.h>
diff --git a/src/plugins/remotelinux/sshkeydeployer.cpp b/src/plugins/remotelinux/sshkeydeployer.cpp
index b157aed173..565da167a9 100644
--- a/src/plugins/remotelinux/sshkeydeployer.cpp
+++ b/src/plugins/remotelinux/sshkeydeployer.cpp
@@ -31,9 +31,6 @@
#include <ssh/sshremoteprocessrunner.h>
#include <utils/fileutils.h>
-#include <QFile>
-#include <QSharedPointer>
-
using namespace QSsh;
namespace RemoteLinux {
diff --git a/src/plugins/remotelinux/tarpackagecreationstep.cpp b/src/plugins/remotelinux/tarpackagecreationstep.cpp
index 431db74d75..ebcab8d8f3 100644
--- a/src/plugins/remotelinux/tarpackagecreationstep.cpp
+++ b/src/plugins/remotelinux/tarpackagecreationstep.cpp
@@ -28,8 +28,6 @@
****************************************************************************/
#include "tarpackagecreationstep.h"
-#include "remotelinuxdeployconfiguration.h"
-
#include <projectexplorer/deploymentdata.h>
#include <projectexplorer/project.h>
#include <projectexplorer/target.h>
diff --git a/src/plugins/remotelinux/uploadandinstalltarpackagestep.cpp b/src/plugins/remotelinux/uploadandinstalltarpackagestep.cpp
index 1b7448fdec..81ca05f2c3 100644
--- a/src/plugins/remotelinux/uploadandinstalltarpackagestep.cpp
+++ b/src/plugins/remotelinux/uploadandinstalltarpackagestep.cpp
@@ -32,8 +32,6 @@
#include "remotelinuxpackageinstaller.h"
#include "tarpackagecreationstep.h"
-#include <projectexplorer/buildsteplist.h>
-
using namespace ProjectExplorer;
namespace RemoteLinux {