aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qqmljstypereader.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2020-10-09 11:43:20 +0200
committerUlf Hermann <ulf.hermann@qt.io>2020-10-12 12:25:08 +0200
commit7750609d8850f6b36317b6243db77b3fe98fd841 (patch)
tree0ed6db8476248dfbca0d2c63065a05e0c00711de /src/qmlcompiler/qqmljstypereader.cpp
parent528547f5d9d6929f41c94e11591dae36f2794ba2 (diff)
Rename QQmlJSImportedMembersVisitor
We need to make this a general import visitor. Change-Id: I735378fc9139cb4891f8b113d86395df856fb4e9 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qmlcompiler/qqmljstypereader.cpp')
-rw-r--r--src/qmlcompiler/qqmljstypereader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmlcompiler/qqmljstypereader.cpp b/src/qmlcompiler/qqmljstypereader.cpp
index 90293e3e5f..0e12c8de95 100644
--- a/src/qmlcompiler/qqmljstypereader.cpp
+++ b/src/qmlcompiler/qqmljstypereader.cpp
@@ -27,7 +27,7 @@
****************************************************************************/
#include "qqmljstypereader_p.h"
-#include "qqmljsimportedmembersvisitor_p.h"
+#include "qqmljsimportvisitor_p.h"
#include <QtQml/private/qqmljsast_p.h>
#include <QtQml/private/qqmljsengine_p.h>
@@ -127,7 +127,7 @@ QQmlJSScope::Ptr QQmlJSTypeReader::operator()()
if (!isJavaScript) {
QQmlJS::AST::UiProgram *program = parser.ast();
m_imports = parseHeaders(program->headers);
- QQmlJSImportedMembersVisitor membersVisitor;
+ QQmlJSImportVisitor membersVisitor;
program->members->accept(&membersVisitor);
m_errors = membersVisitor.errors();
return membersVisitor.result(scopeName);