aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmllint
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2020-10-02 14:01:06 +0200
committerUlf Hermann <ulf.hermann@qt.io>2020-10-05 14:59:03 +0200
commit7fba749edc4b0b69df67316a4714337963b4f754 (patch)
tree1337c89a91355c81336ec9ffb1fca2c6312e08af /tools/qmllint
parent31302761f0cab83ad412797afe8f39a497b02531 (diff)
QmlCompiler: Rename QmlJSImporter
Add an extra 'Q' for consistency. Change-Id: Idd34e0c898c9a7ac70b1ec3856a8af6829ec6fb7 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tools/qmllint')
-rw-r--r--tools/qmllint/checkidentifiers.h6
-rw-r--r--tools/qmllint/findwarnings.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/tools/qmllint/checkidentifiers.h b/tools/qmllint/checkidentifiers.h
index cf5d71e670..f4fd8c9f14 100644
--- a/tools/qmllint/checkidentifiers.h
+++ b/tools/qmllint/checkidentifiers.h
@@ -30,7 +30,7 @@
#define CHECKIDENTIFIERS_H
#include <QtQmlCompiler/private/qqmljsscope_p.h>
-#include <QtQmlCompiler/private/qmljsimporter_p.h>
+#include <QtQmlCompiler/private/qqmljsimporter_p.h>
class ColorOutput;
@@ -52,7 +52,7 @@ class CheckIdentifiers
{
public:
CheckIdentifiers(ColorOutput *colorOut, const QString &code,
- const QmlJSImporter::ImportedTypes &types, const QString &fileName) :
+ const QQmlJSImporter::ImportedTypes &types, const QString &fileName) :
m_colorOut(colorOut), m_code(code), m_types(types), m_fileName(fileName)
{}
@@ -71,7 +71,7 @@ private:
ColorOutput *m_colorOut = nullptr;
QString m_code;
- QmlJSImporter::ImportedTypes m_types;
+ QQmlJSImporter::ImportedTypes m_types;
QString m_fileName;
};
diff --git a/tools/qmllint/findwarnings.h b/tools/qmllint/findwarnings.h
index 111eb6c5b0..fd9c84fee9 100644
--- a/tools/qmllint/findwarnings.h
+++ b/tools/qmllint/findwarnings.h
@@ -44,7 +44,7 @@
#include <QtQmlCompiler/private/typedescriptionreader_p.h>
#include <QtQmlCompiler/private/qqmljsscope_p.h>
-#include <QtQmlCompiler/private/qmljsimporter_p.h>
+#include <QtQmlCompiler/private/qqmljsimporter_p.h>
#include <QtQml/private/qqmldirparser_p.h>
#include <QtQml/private/qqmljsastvisitor_p.h>
@@ -63,7 +63,7 @@ public:
bool check();
private:
- QmlJSImporter::ImportedTypes m_rootScopeImports;
+ QQmlJSImporter::ImportedTypes m_rootScopeImports;
QHash<QQmlJS::SourceLocation, SignalHandler> m_signalHandlers;
QQmlJS::SourceLocation m_pendingSingalHandler;
@@ -95,7 +95,7 @@ private:
QVarLengthArray<OutstandingConnection, 3> m_outstandingConnections; // Connections whose target we have not encountered
- QmlJSImporter m_importer;
+ QQmlJSImporter m_importer;
void enterEnvironment(ScopeType type, const QString &name);
void leaveEnvironment();