forked from qt-creator/qt-creator
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 <christian.kandeler@qt.io>
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user