Commit ebfb3bbc authored by Friedemann Kleint's avatar Friedemann Kleint

Clean headers in RemoteLinux.

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

Change-Id: Ie7559562218ecab65da17f58e3515556a4a1d5c5
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@digia.com>
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
parent a78bc196
......@@ -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>
......
......@@ -34,7 +34,6 @@
#include <projectexplorer/devicesupport/idevice.h>
#include <QObject>
#include <QSharedPointer>
#include <QVariantMap>
namespace QSsh { class SshConnection; }
......
......@@ -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;
......
......@@ -34,7 +34,6 @@
#include <projectexplorer/deployablefile.h>
#include <utils/qtcassert.h>
#include <ssh/sshconnection.h>
#include <QFileInfo>
#include <QString>
......
......@@ -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;
......
......@@ -35,8 +35,6 @@
#include <ssh/sshconnection.h>
#include <ssh/sshkeycreationdialog.h>
#include <QTextStream>
using namespace ProjectExplorer;
using namespace RemoteLinux;
using namespace QSsh;
......
......@@ -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 {
......
......@@ -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;
......
......@@ -33,7 +33,6 @@
#include <coreplugin/icore.h>
#include <ssh/sshconnection.h>
#include <QTimer>
#include <QFileDialog>
using namespace ProjectExplorer;
......
......@@ -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;
......
......@@ -30,9 +30,6 @@
#include "remotelinuxdeployconfigurationwidget.h"
#include <projectexplorer/project.h>
#include <projectexplorer/target.h>
using namespace ProjectExplorer;
namespace RemoteLinux {
......
......@@ -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; }
......
......@@ -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>
......
......@@ -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;
......
......@@ -31,7 +31,6 @@
#include "remotelinux_export.h"
#include <projectexplorer/deployconfiguration.h>
#include <projectexplorer/namedwidget.h>
namespace RemoteLinux {
......
......@@ -29,8 +29,6 @@
#include "remotelinuxdeploymentdatamodel.h"
#include <QDir>
using namespace ProjectExplorer;
namespace RemoteLinux {
......
......@@ -28,8 +28,6 @@
****************************************************************************/
#include "remotelinuxenvironmentreader.h"
#include "linuxdevice.h"
#include <ssh/sshremoteprocessrunner.h>
#include <projectexplorer/devicesupport/idevice.h>
#include <projectexplorer/kitinformation.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;
......
......@@ -34,8 +34,6 @@
#include <projectexplorer/devicesupport/idevice.h>
#include <QSharedPointer>
namespace RemoteLinux {
namespace Internal {
......
......@@ -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 {
......
......@@ -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;
......
......@@ -39,7 +39,6 @@
#include <QFileInfo>
#include <QString>
#include <QStringList>
using namespace ProjectExplorer;
......
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
......@@ -31,9 +31,6 @@
#include <ssh/sshremoteprocessrunner.h>
#include <utils/fileutils.h>
#include <QFile>
#include <QSharedPointer>
using namespace QSsh;
namespace RemoteLinux {
......
......@@ -28,8 +28,6 @@
****************************************************************************/
#include "tarpackagecreationstep.h"
#include "remotelinuxdeployconfiguration.h"
#include <projectexplorer/deploymentdata.h>
#include <projectexplorer/project.h>
#include <projectexplorer/target.h>
......
......@@ -32,8 +32,6 @@
#include "remotelinuxpackageinstaller.h"
#include "tarpackagecreationstep.h"
#include <projectexplorer/buildsteplist.h>
using namespace ProjectExplorer;
namespace RemoteLinux {
......
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