forked from qt-creator/qt-creator
ProjectExplorer: Inline DefaultDeployConfigurationFactory
Change-Id: I03750e35b99ad42945312a3eb586016677a43428 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -245,16 +245,4 @@ void DeployConfigurationFactory::addInitialStep(Utils::Id stepId, const std::fun
|
||||
m_initialSteps.append({stepId, condition});
|
||||
}
|
||||
|
||||
///
|
||||
// DefaultDeployConfigurationFactory
|
||||
///
|
||||
|
||||
DefaultDeployConfigurationFactory::DefaultDeployConfigurationFactory()
|
||||
{
|
||||
setConfigBaseId("ProjectExplorer.DefaultDeployConfiguration");
|
||||
addSupportedTargetDeviceType(Constants::DESKTOP_DEVICE_TYPE);
|
||||
//: Display name of the default deploy configuration
|
||||
setDefaultDisplayName(Tr::tr("Deploy Configuration"));
|
||||
}
|
||||
|
||||
} // namespace ProjectExplorer
|
||||
|
||||
@@ -100,10 +100,4 @@ private:
|
||||
PostRestore m_postRestore;
|
||||
};
|
||||
|
||||
class DefaultDeployConfigurationFactory : public DeployConfigurationFactory
|
||||
{
|
||||
public:
|
||||
DefaultDeployConfigurationFactory();
|
||||
};
|
||||
|
||||
} // namespace ProjectExplorer
|
||||
|
||||
@@ -426,6 +426,18 @@ private:
|
||||
Core::LocatorMatcherTasks matchers() final;
|
||||
};
|
||||
|
||||
class DefaultDeployConfigurationFactory final : public DeployConfigurationFactory
|
||||
{
|
||||
public:
|
||||
DefaultDeployConfigurationFactory()
|
||||
{
|
||||
setConfigBaseId("ProjectExplorer.DefaultDeployConfiguration");
|
||||
addSupportedTargetDeviceType(Constants::DESKTOP_DEVICE_TYPE);
|
||||
//: Display name of the default deploy configuration
|
||||
setDefaultDisplayName(Tr::tr("Deploy Configuration"));
|
||||
}
|
||||
};
|
||||
|
||||
class ProjectExplorerPluginPrivate : public QObject
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user