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

@@ -4,7 +4,6 @@
#include "autotoolsbuildsystem.h"
#include "makefileparserthread.h"
#include "makestep.h"
#include <cppeditor/cppprojectupdater.h>
#include <projectexplorer/buildconfiguration.h>
@@ -12,19 +11,18 @@
#include <qtsupport/qtcppkitinfo.h>
#include <utils/filesystemwatcher.h>
#include <utils/qtcassert.h>
using namespace ProjectExplorer;
namespace AutotoolsProjectManager {
namespace Internal {
namespace AutotoolsProjectManager::Internal {
AutotoolsBuildSystem::AutotoolsBuildSystem(Target *target)
: BuildSystem(target)
, m_cppCodeModelUpdater(new CppEditor::CppProjectUpdater)
{
connect(target, &Target::activeBuildConfigurationChanged, this, [this]() { requestParse(); });
connect(target->project(), &Project::projectFileIsDirty, this, [this]() { requestParse(); });
connect(target, &Target::activeBuildConfigurationChanged, this, [this] { requestParse(); });
connect(target->project(), &Project::projectFileIsDirty, this, [this] { requestParse(); });
}
AutotoolsBuildSystem::~AutotoolsBuildSystem()
@@ -158,5 +156,4 @@ void AutotoolsBuildSystem::updateCppCodeModel()
m_cppCodeModelUpdater->update({project(), kitInfo, activeParseEnvironment(), {rpp}});
}
} // namespace Internal
} // namespace AutotoolsProjectManager
} // AutotoolsProjectManager::Internal