aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/autotoolsprojectmanager/makestep.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2022-09-29 17:11:01 +0200
committerhjk <hjk@qt.io>2022-09-30 07:09:50 +0000
commit685cc1a2fc85343ecd3c7d2f5bcc532ebdd8f259 (patch)
tree80fc55ae44fc3d192ea6b7c643f18fe0010041eb /src/plugins/autotoolsprojectmanager/makestep.cpp
parentbbd516f262cab7cf82ab5db661e58adf32a0df2c (diff)
AutoTools: Move to Tr::tr
Change-Id: I605c2b5c812b500c1db2bdbfab26882ee55249d2 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'src/plugins/autotoolsprojectmanager/makestep.cpp')
-rw-r--r--src/plugins/autotoolsprojectmanager/makestep.cpp30
1 files changed, 13 insertions, 17 deletions
diff --git a/src/plugins/autotoolsprojectmanager/makestep.cpp b/src/plugins/autotoolsprojectmanager/makestep.cpp
index dba3e01825..20ebe5b630 100644
--- a/src/plugins/autotoolsprojectmanager/makestep.cpp
+++ b/src/plugins/autotoolsprojectmanager/makestep.cpp
@@ -9,28 +9,25 @@
using namespace AutotoolsProjectManager::Constants;
-namespace AutotoolsProjectManager {
-namespace Internal {
+namespace AutotoolsProjectManager::Internal {
// MakeStep
class MakeStep : public ProjectExplorer::MakeStep
{
public:
- MakeStep(ProjectExplorer::BuildStepList *bsl, Utils::Id id);
-};
-
-MakeStep::MakeStep(ProjectExplorer::BuildStepList *bsl, Utils::Id id)
- : ProjectExplorer::MakeStep(bsl, id)
-{
- setAvailableBuildTargets({"all", "clean"});
- if (bsl->id() == ProjectExplorer::Constants::BUILDSTEPS_CLEAN) {
- setSelectedBuildTarget("clean");
- setIgnoreReturnValue(true);
- } else {
- setSelectedBuildTarget("all");
+ MakeStep(ProjectExplorer::BuildStepList *bsl, Utils::Id id)
+ : ProjectExplorer::MakeStep(bsl, id)
+ {
+ setAvailableBuildTargets({"all", "clean"});
+ if (bsl->id() == ProjectExplorer::Constants::BUILDSTEPS_CLEAN) {
+ setSelectedBuildTarget("clean");
+ setIgnoreReturnValue(true);
+ } else {
+ setSelectedBuildTarget("all");
+ }
}
-}
+};
// MakeStepFactory
@@ -41,5 +38,4 @@ MakeStepFactory::MakeStepFactory()
setSupportedProjectType(AUTOTOOLS_PROJECT_ID);
}
-} // Internal
-} // AutotoolsProjectManager
+} // AutotoolsProjectManager::Internal