diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-09-24 15:09:38 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-09-25 23:57:59 +0200 |
commit | 8c8df9e02567f408a5b5516987459f9973d4d092 (patch) | |
tree | 6e723446d81087715c6ae0f5c06147eb3ac31a83 /tools/qmllint/checkidentifiers.cpp | |
parent | 294bcb3f3c59ebe9229205a204dacafa6642e0df (diff) |
qmllint: Split available names into exported, imported, C++ names
exported names are the names a component intends to export. imported
names are the names the importing component sees, possibly adding a
prefix. C++ names are only used in qmltypes files for non-composite
types.
Change-Id: I843e34f07a026a06931ed76d72a3cce98e3e5552
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tools/qmllint/checkidentifiers.cpp')
-rw-r--r-- | tools/qmllint/checkidentifiers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmllint/checkidentifiers.cpp b/tools/qmllint/checkidentifiers.cpp index c5897b1df3..fdffb556b6 100644 --- a/tools/qmllint/checkidentifiers.cpp +++ b/tools/qmllint/checkidentifiers.cpp @@ -84,7 +84,7 @@ void CheckIdentifiers::printContext(const QQmlJS::SourceLocation &location) cons } static bool walkViaParentAndAttachedScopes(ScopeTree::ConstPtr rootType, - const QHash<QString, ScopeTree::ConstPtr> &allTypes, + const QHash<QString, ScopeTree::Ptr> &allTypes, std::function<bool(ScopeTree::ConstPtr)> visit) { if (rootType == nullptr) |