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>
This commit is contained in:
Friedemann Kleint
2013-04-02 15:48:40 +02:00
parent a78bc196ae
commit ebfb3bbca7
28 changed files with 2 additions and 70 deletions

View File

@@ -28,15 +28,11 @@
****************************************************************************/ ****************************************************************************/
#include "abstractpackagingstep.h" #include "abstractpackagingstep.h"
#include "remotelinuxdeployconfiguration.h"
#include <projectexplorer/buildconfiguration.h> #include <projectexplorer/buildconfiguration.h>
#include <projectexplorer/deploymentdata.h> #include <projectexplorer/deploymentdata.h>
#include <projectexplorer/projectexplorerconstants.h> #include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/project.h>
#include <projectexplorer/target.h> #include <projectexplorer/target.h>
#include <projectexplorer/task.h> #include <projectexplorer/task.h>
#include <utils/fileutils.h>
#include <QDateTime> #include <QDateTime>
#include <QFileInfo> #include <QFileInfo>

View File

@@ -34,7 +34,6 @@
#include <projectexplorer/devicesupport/idevice.h> #include <projectexplorer/devicesupport/idevice.h>
#include <QObject> #include <QObject>
#include <QSharedPointer>
#include <QVariantMap> #include <QVariantMap>
namespace QSsh { class SshConnection; } namespace QSsh { class SshConnection; }

View File

@@ -32,10 +32,8 @@
#include "abstractremotelinuxdeployservice.h" #include "abstractremotelinuxdeployservice.h"
#include "remotelinuxdeployconfiguration.h" #include "remotelinuxdeployconfiguration.h"
#include <projectexplorer/devicesupport/devicemanager.h>
#include <projectexplorer/projectexplorerconstants.h> #include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/kitinformation.h> #include <projectexplorer/kitinformation.h>
#include <projectexplorer/target.h>
using namespace ProjectExplorer; using namespace ProjectExplorer;

View File

@@ -34,7 +34,6 @@
#include <projectexplorer/deployablefile.h> #include <projectexplorer/deployablefile.h>
#include <utils/qtcassert.h> #include <utils/qtcassert.h>
#include <ssh/sshconnection.h>
#include <QFileInfo> #include <QFileInfo>
#include <QString> #include <QString>

View File

@@ -29,15 +29,12 @@
#include "genericdirectuploadstep.h" #include "genericdirectuploadstep.h"
#include "genericdirectuploadservice.h" #include "genericdirectuploadservice.h"
#include "remotelinuxdeployconfiguration.h"
#include <projectexplorer/deploymentdata.h> #include <projectexplorer/deploymentdata.h>
#include <projectexplorer/target.h> #include <projectexplorer/target.h>
#include <QCheckBox> #include <QCheckBox>
#include <QVBoxLayout> #include <QVBoxLayout>
#include <QList>
#include <QSharedPointer>
using namespace ProjectExplorer; using namespace ProjectExplorer;

View File

@@ -35,8 +35,6 @@
#include <ssh/sshconnection.h> #include <ssh/sshconnection.h>
#include <ssh/sshkeycreationdialog.h> #include <ssh/sshkeycreationdialog.h>
#include <QTextStream>
using namespace ProjectExplorer; using namespace ProjectExplorer;
using namespace RemoteLinux; using namespace RemoteLinux;
using namespace QSsh; using namespace QSsh;

View File

@@ -31,15 +31,10 @@
#include "genericdirectuploadstep.h" #include "genericdirectuploadstep.h"
#include "remotelinuxcheckforfreediskspacestep.h" #include "remotelinuxcheckforfreediskspacestep.h"
#include "remotelinuxdeployconfiguration.h" #include "remotelinuxdeployconfiguration.h"
#include "remotelinuxdeployconfigurationfactory.h"
#include "remotelinuxcustomcommanddeploymentstep.h" #include "remotelinuxcustomcommanddeploymentstep.h"
#include "tarpackagecreationstep.h" #include "tarpackagecreationstep.h"
#include "uploadandinstalltarpackagestep.h" #include "uploadandinstalltarpackagestep.h"
#include <projectexplorer/buildsteplist.h>
#include <projectexplorer/kitinformation.h>
#include <projectexplorer/target.h>
using namespace ProjectExplorer; using namespace ProjectExplorer;
namespace RemoteLinux { namespace RemoteLinux {

View File

@@ -36,8 +36,6 @@
#include <coreplugin/id.h> #include <coreplugin/id.h>
#include <projectexplorer/devicesupport/sshdeviceprocesslist.h> #include <projectexplorer/devicesupport/sshdeviceprocesslist.h>
#include <ssh/sshconnection.h>
#include <utils/portlist.h>
#include <utils/qtcassert.h> #include <utils/qtcassert.h>
using namespace ProjectExplorer; using namespace ProjectExplorer;

View File

@@ -33,7 +33,6 @@
#include <coreplugin/icore.h> #include <coreplugin/icore.h>
#include <ssh/sshconnection.h> #include <ssh/sshconnection.h>
#include <QTimer>
#include <QFileDialog> #include <QFileDialog>
using namespace ProjectExplorer; using namespace ProjectExplorer;

View File

@@ -34,10 +34,8 @@
#include <debugger/debuggerengine.h> #include <debugger/debuggerengine.h>
#include <debugger/debuggerstartparameters.h> #include <debugger/debuggerstartparameters.h>
#include <debugger/debuggerkitinformation.h> #include <debugger/debuggerkitinformation.h>
#include <projectexplorer/abi.h>
#include <projectexplorer/buildconfiguration.h> #include <projectexplorer/buildconfiguration.h>
#include <projectexplorer/devicesupport/deviceusedportsgatherer.h> #include <projectexplorer/devicesupport/deviceusedportsgatherer.h>
#include <projectexplorer/kit.h>
#include <projectexplorer/project.h> #include <projectexplorer/project.h>
#include <projectexplorer/target.h> #include <projectexplorer/target.h>
#include <projectexplorer/toolchain.h> #include <projectexplorer/toolchain.h>
@@ -46,7 +44,6 @@
#include <utils/qtcassert.h> #include <utils/qtcassert.h>
#include <QPointer> #include <QPointer>
#include <QSharedPointer>
using namespace QSsh; using namespace QSsh;
using namespace Debugger; using namespace Debugger;

View File

@@ -30,9 +30,6 @@
#include "remotelinuxdeployconfigurationwidget.h" #include "remotelinuxdeployconfigurationwidget.h"
#include <projectexplorer/project.h>
#include <projectexplorer/target.h>
using namespace ProjectExplorer; using namespace ProjectExplorer;
namespace RemoteLinux { namespace RemoteLinux {

View File

@@ -32,10 +32,8 @@
#include "remotelinux_export.h" #include "remotelinux_export.h"
#include <projectexplorer/buildstep.h>
#include <projectexplorer/buildsteplist.h> #include <projectexplorer/buildsteplist.h>
#include <projectexplorer/deployconfiguration.h> #include <projectexplorer/deployconfiguration.h>
#include <projectexplorer/devicesupport/idevice.h>
namespace RemoteLinux { namespace RemoteLinux {
namespace Internal { class RemoteLinuxDeployConfigurationFactory; } namespace Internal { class RemoteLinuxDeployConfigurationFactory; }

View File

@@ -36,7 +36,6 @@
#include <projectexplorer/abi.h> #include <projectexplorer/abi.h>
#include <projectexplorer/toolchain.h> #include <projectexplorer/toolchain.h>
#include <projectexplorer/kitinformation.h> #include <projectexplorer/kitinformation.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/project.h> #include <projectexplorer/project.h>
#include <projectexplorer/target.h> #include <projectexplorer/target.h>

View File

@@ -32,9 +32,7 @@
#include "remotelinuxdeployconfiguration.h" #include "remotelinuxdeployconfiguration.h"
#include "remotelinuxdeploymentdatamodel.h" #include "remotelinuxdeploymentdatamodel.h"
#include <projectexplorer/project.h>
#include <projectexplorer/target.h> #include <projectexplorer/target.h>
#include <utils/qtcassert.h>
using namespace ProjectExplorer; using namespace ProjectExplorer;

View File

@@ -31,7 +31,6 @@
#include "remotelinux_export.h" #include "remotelinux_export.h"
#include <projectexplorer/deployconfiguration.h>
#include <projectexplorer/namedwidget.h> #include <projectexplorer/namedwidget.h>
namespace RemoteLinux { namespace RemoteLinux {

View File

@@ -29,8 +29,6 @@
#include "remotelinuxdeploymentdatamodel.h" #include "remotelinuxdeploymentdatamodel.h"
#include <QDir>
using namespace ProjectExplorer; using namespace ProjectExplorer;
namespace RemoteLinux { namespace RemoteLinux {

View File

@@ -28,8 +28,6 @@
****************************************************************************/ ****************************************************************************/
#include "remotelinuxenvironmentreader.h" #include "remotelinuxenvironmentreader.h"
#include "linuxdevice.h"
#include <ssh/sshremoteprocessrunner.h> #include <ssh/sshremoteprocessrunner.h>
#include <projectexplorer/devicesupport/idevice.h> #include <projectexplorer/devicesupport/idevice.h>
#include <projectexplorer/kitinformation.h> #include <projectexplorer/kitinformation.h>

View File

@@ -30,9 +30,10 @@
#ifndef REMOTELINUXENVIRONMENTREADER_H #ifndef REMOTELINUXENVIRONMENTREADER_H
#define REMOTELINUXENVIRONMENTREADER_H #define REMOTELINUXENVIRONMENTREADER_H
#include <projectexplorer/devicesupport/idevice.h>
#include <utils/environment.h> #include <utils/environment.h>
#include <QObject>
namespace ProjectExplorer { namespace ProjectExplorer {
class RunConfiguration; class RunConfiguration;
class Kit; class Kit;

View File

@@ -34,8 +34,6 @@
#include <projectexplorer/devicesupport/idevice.h> #include <projectexplorer/devicesupport/idevice.h>
#include <QSharedPointer>
namespace RemoteLinux { namespace RemoteLinux {
namespace Internal { namespace Internal {

View File

@@ -36,15 +36,7 @@
#include "remotelinuxrunconfigurationfactory.h" #include "remotelinuxrunconfigurationfactory.h"
#include "remotelinuxruncontrolfactory.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 <QtPlugin>
#include <QAction>
namespace RemoteLinux { namespace RemoteLinux {
namespace Internal { namespace Internal {

View File

@@ -29,20 +29,14 @@
#include "remotelinuxrunconfiguration.h" #include "remotelinuxrunconfiguration.h"
#include "remotelinuxdeployconfiguration.h"
#include "remotelinuxrunconfigurationwidget.h" #include "remotelinuxrunconfigurationwidget.h"
#include <projectexplorer/buildtargetinfo.h> #include <projectexplorer/buildtargetinfo.h>
#include <projectexplorer/deploymentdata.h> #include <projectexplorer/deploymentdata.h>
#include <projectexplorer/project.h> #include <projectexplorer/project.h>
#include <projectexplorer/session.h>
#include <projectexplorer/target.h> #include <projectexplorer/target.h>
#include <projectexplorer/toolchain.h>
#include <qtsupport/qtoutputformatter.h> #include <qtsupport/qtoutputformatter.h>
#include <utils/portlist.h>
#include <utils/qtcassert.h>
using namespace ProjectExplorer; using namespace ProjectExplorer;
using namespace QSsh; using namespace QSsh;
using namespace Utils; using namespace Utils;

View File

@@ -39,7 +39,6 @@
#include <QFileInfo> #include <QFileInfo>
#include <QString> #include <QString>
#include <QStringList>
using namespace ProjectExplorer; using namespace ProjectExplorer;

View File

@@ -31,10 +31,7 @@
#include "remotelinuxrunconfiguration.h" #include "remotelinuxrunconfiguration.h"
#include "remotelinuxenvironmentreader.h" #include "remotelinuxenvironmentreader.h"
#include <coreplugin/coreconstants.h>
#include <coreplugin/icore.h>
#include <projectexplorer/environmentwidget.h> #include <projectexplorer/environmentwidget.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <utils/detailswidget.h> #include <utils/detailswidget.h>
#include <QCoreApplication> #include <QCoreApplication>
@@ -42,7 +39,6 @@
#include <QCheckBox> #include <QCheckBox>
#include <QComboBox> #include <QComboBox>
#include <QFormLayout> #include <QFormLayout>
#include <QGroupBox>
#include <QHBoxLayout> #include <QHBoxLayout>
#include <QLabel> #include <QLabel>
#include <QLineEdit> #include <QLineEdit>

View File

@@ -33,9 +33,7 @@
#include <projectexplorer/devicesupport/deviceapplicationrunner.h> #include <projectexplorer/devicesupport/deviceapplicationrunner.h>
#include <projectexplorer/kitinformation.h> #include <projectexplorer/kitinformation.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/target.h> #include <projectexplorer/target.h>
#include <utils/qtcassert.h>
#include <QString> #include <QString>
#include <QIcon> #include <QIcon>

View File

@@ -33,12 +33,10 @@
#include "remotelinuxrunconfiguration.h" #include "remotelinuxrunconfiguration.h"
#include "remotelinuxruncontrol.h" #include "remotelinuxruncontrol.h"
#include <debugger/debuggerconstants.h>
#include <debugger/debuggerplugin.h> #include <debugger/debuggerplugin.h>
#include <debugger/debuggerrunner.h> #include <debugger/debuggerrunner.h>
#include <debugger/debuggerstartparameters.h> #include <debugger/debuggerstartparameters.h>
#include <projectexplorer/kitinformation.h> #include <projectexplorer/kitinformation.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/target.h> #include <projectexplorer/target.h>
#include <utils/portlist.h> #include <utils/portlist.h>
#include <utils/qtcassert.h> #include <utils/qtcassert.h>

View File

@@ -31,9 +31,6 @@
#include <ssh/sshremoteprocessrunner.h> #include <ssh/sshremoteprocessrunner.h>
#include <utils/fileutils.h> #include <utils/fileutils.h>
#include <QFile>
#include <QSharedPointer>
using namespace QSsh; using namespace QSsh;
namespace RemoteLinux { namespace RemoteLinux {

View File

@@ -28,8 +28,6 @@
****************************************************************************/ ****************************************************************************/
#include "tarpackagecreationstep.h" #include "tarpackagecreationstep.h"
#include "remotelinuxdeployconfiguration.h"
#include <projectexplorer/deploymentdata.h> #include <projectexplorer/deploymentdata.h>
#include <projectexplorer/project.h> #include <projectexplorer/project.h>
#include <projectexplorer/target.h> #include <projectexplorer/target.h>

View File

@@ -32,8 +32,6 @@
#include "remotelinuxpackageinstaller.h" #include "remotelinuxpackageinstaller.h"
#include "tarpackagecreationstep.h" #include "tarpackagecreationstep.h"
#include <projectexplorer/buildsteplist.h>
using namespace ProjectExplorer; using namespace ProjectExplorer;
namespace RemoteLinux { namespace RemoteLinux {