diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-09-29 15:49:16 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-10-02 15:32:15 +0200 |
commit | 48426aa705cb7ed88489200864c2fc0143058671 (patch) | |
tree | 964b8588157dc122f7cf744ca8501ca4276dbeba /tools/qmllint/checkidentifiers.h | |
parent | febb6ba891616b71476b736d4c583054685c7766 (diff) |
Move the import handling code out of qmllint
We want to re-use this logic in other places.
Change-Id: I63cbee86a83265ddd241a4fae9ce8c48f38b5f18
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tools/qmllint/checkidentifiers.h')
-rw-r--r-- | tools/qmllint/checkidentifiers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/qmllint/checkidentifiers.h b/tools/qmllint/checkidentifiers.h index 653b398301..bdd83f1e57 100644 --- a/tools/qmllint/checkidentifiers.h +++ b/tools/qmllint/checkidentifiers.h @@ -38,7 +38,7 @@ class CheckIdentifiers { public: CheckIdentifiers(ColorOutput *colorOut, const QString &code, - const FindWarningVisitor::ImportedTypes &types, const QString &fileName) : + const QmlJSImporter::ImportedTypes &types, const QString &fileName) : m_colorOut(colorOut), m_code(code), m_types(types), m_fileName(fileName) {} @@ -53,7 +53,7 @@ private: ColorOutput *m_colorOut = nullptr; QString m_code; - FindWarningVisitor::ImportedTypes m_types; + QmlJSImporter::ImportedTypes m_types; QString m_fileName; }; |