aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/remotelinux/remotelinuxdeployconfiguration.h
diff options
context:
space:
mode:
authorhjk <[email protected]>2018-04-30 16:50:51 +0200
committerhjk <[email protected]>2018-05-02 13:55:43 +0000
commitcf438030323c7cd6655e87cc1108a84c5252db06 (patch)
tree70f9513272ad32346393c9c263f56b0c33b53c5a /src/plugins/remotelinux/remotelinuxdeployconfiguration.h
parent8f6a560ed7c0c1f4344edb3ada6de796c8aef438 (diff)
Make DeployConfigurationFactory more similar to RunConfigFactories
This follows some of the recent changes to RunConfigurations: - pass Id from factory to DeployConfiguration constructors - de-object-ify DeployConfigurationFactory - use addSupportedTargetDeviceType(Id) instead of addSupportedTargetDeviceType(List<Id>) Also, use stepList()->appendStep() instead of stepList()->insertStep(pos...) with manual pos tracking in some cases. Change-Id: I09c6a9d0f66f9f85b1c13361104f7878028e1ea8 Reviewed-by: Christian Kandeler <[email protected]>
Diffstat (limited to 'src/plugins/remotelinux/remotelinuxdeployconfiguration.h')
-rw-r--r--src/plugins/remotelinux/remotelinuxdeployconfiguration.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/remotelinux/remotelinuxdeployconfiguration.h b/src/plugins/remotelinux/remotelinuxdeployconfiguration.h
index 6b8a1a35253..a1f7506f359 100644
--- a/src/plugins/remotelinux/remotelinuxdeployconfiguration.h
+++ b/src/plugins/remotelinux/remotelinuxdeployconfiguration.h
@@ -38,7 +38,7 @@ class REMOTELINUX_EXPORT RemoteLinuxDeployConfiguration
Q_OBJECT
public:
- explicit RemoteLinuxDeployConfiguration(ProjectExplorer::Target *target);
+ RemoteLinuxDeployConfiguration(ProjectExplorer::Target *target, Core::Id id);
static Core::Id genericDeployConfigurationId();
@@ -63,8 +63,6 @@ namespace Internal {
class RemoteLinuxDeployConfigurationFactory : public ProjectExplorer::DeployConfigurationFactory
{
- Q_OBJECT
-
public:
RemoteLinuxDeployConfigurationFactory();
};