diff options
author | hjk <[email protected]> | 2020-02-20 13:21:52 +0100 |
---|---|---|
committer | hjk <[email protected]> | 2020-02-20 14:31:09 +0000 |
commit | af8120a05cb43ad4559041db3aa93c068aa09561 (patch) | |
tree | 380f8744e78f7791569313fe1b565d164e362a27 /src/plugins/ios/iosplugin.cpp | |
parent | 1d513ecd06a0841cf55fb41a2a2a8696608ac4c5 (diff) |
iOS: De-Q_OBJECT-ify and hide IosDeployStep implementation
Change-Id: I8c0589e5c5c2ac69f3c48f299a97c0dbea9b5922
Reviewed-by: Christian Stenger <[email protected]>
Diffstat (limited to 'src/plugins/ios/iosplugin.cpp')
-rw-r--r-- | src/plugins/ios/iosplugin.cpp | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/plugins/ios/iosplugin.cpp b/src/plugins/ios/iosplugin.cpp index 50540c331f1..a112364735c 100644 --- a/src/plugins/ios/iosplugin.cpp +++ b/src/plugins/ios/iosplugin.cpp @@ -53,19 +53,6 @@ namespace Internal { Q_LOGGING_CATEGORY(iosLog, "qtc.ios.common", QtWarningMsg) -class IosDeployStepFactory : public BuildStepFactory -{ -public: - IosDeployStepFactory() - { - registerStep<IosDeployStep>(IosDeployStep::stepId()); - setDisplayName(IosDeployStep::tr("Deploy to iOS device or emulator")); - setSupportedStepList(ProjectExplorer::Constants::BUILDSTEPS_DEPLOY); - setSupportedDeviceTypes({Constants::IOS_DEVICE_TYPE, Constants::IOS_SIMULATOR_TYPE}); - setRepeatable(false); - } -}; - class IosDeployConfigurationFactory : public DeployConfigurationFactory { public: @@ -76,7 +63,7 @@ public: addSupportedTargetDeviceType(Constants::IOS_DEVICE_TYPE); addSupportedTargetDeviceType(Constants::IOS_SIMULATOR_TYPE); setDefaultDisplayName(QCoreApplication::translate("Ios::Internal", "Deploy on iOS")); - addInitialStep(IosDeployStep::stepId()); + addInitialStep(IosDeployStepFactory::stepId()); } }; |