diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2023-01-24 14:39:05 +0100 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2023-02-01 13:48:12 +0000 |
commit | 17b28909a99cce2dc908ad2ffbb43a85539fa526 (patch) | |
tree | 9f30a1d7b1428d8fa9f8ff3acebf204237b47b5a /src/libs/qmljs/qmljsmodelmanagerinterface.cpp | |
parent | fc8b81f2cb0b8acb7cdeb6109539869d42dd7802 (diff) | |
download | qt-creator-17b28909a99cce2dc908ad2ffbb43a85539fa526.tar.gz |
QmlJS: Tr::Tr
Excluding the Qml parser, which needs to remain in sync with it's copy
in Qt.
Change-Id: I22f475f265dd74687e3239c4d6916c777798a447
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/libs/qmljs/qmljsmodelmanagerinterface.cpp')
-rw-r--r-- | src/libs/qmljs/qmljsmodelmanagerinterface.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/libs/qmljs/qmljsmodelmanagerinterface.cpp b/src/libs/qmljs/qmljsmodelmanagerinterface.cpp index 3f6256684c..3d2fc32120 100644 --- a/src/libs/qmljs/qmljsmodelmanagerinterface.cpp +++ b/src/libs/qmljs/qmljsmodelmanagerinterface.cpp @@ -1,15 +1,17 @@ // Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 +#include "qmljsmodelmanagerinterface.h" + #include "qmljsbind.h" #include "qmljsconstants.h" +#include "qmljsdialect.h" #include "qmljsfindexportedcpptypes.h" #include "qmljsinterpreter.h" -#include "qmljsmodelmanagerinterface.h" #include "qmljsplugindumper.h" -#include "qmljsdialect.h" -#include "qmljsviewercontext.h" +#include "qmljstr.h" #include "qmljsutils.h" +#include "qmljsviewercontext.h" #include <cplusplus/cppmodelmanagerbase.h> #include <utils/algorithm.h> @@ -343,7 +345,7 @@ QFuture<void> ModelManagerInterface::refreshSourceFiles(const QList<Utils::FileP addFuture(result); if (sourceFiles.count() > 1) - addTaskInternal(result, tr("Parsing QML Files"), Constants::TASK_INDEX); + addTaskInternal(result, Tr::tr("Parsing QML Files"), Constants::TASK_INDEX); if (sourceFiles.count() > 1 && !m_shouldScanImports) { bool scan = false; @@ -1209,7 +1211,7 @@ void ModelManagerInterface::maybeScan(const PathsAndLanguages &importPaths) workingCopyInternal(), pathToScan, this, true, true, false); addFuture(result); - addTaskInternal(result, tr("Scanning QML Imports"), Constants::TASK_IMPORT_SCAN); + addTaskInternal(result, Tr::tr("Scanning QML Imports"), Constants::TASK_IMPORT_SCAN); } } |