AutoTools: Move to Tr::tr

Change-Id: I605c2b5c812b500c1db2bdbfab26882ee55249d2
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
hjk
2022-09-29 17:11:01 +02:00
parent bbd516f262
commit 685cc1a2fc
28 changed files with 106 additions and 830 deletions

View File

@@ -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