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.h | |
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.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 36de88a846..8fd605f454 100644 --- a/tools/qmllint/checkidentifiers.h +++ b/tools/qmllint/checkidentifiers.h @@ -37,7 +37,7 @@ class CheckIdentifiers { public: CheckIdentifiers(ColorOutput *colorOut, const QString &code, const QHash<QString, - ScopeTree::ConstPtr> &types, const QString &fileName) : + ScopeTree::Ptr> &types, const QString &fileName) : m_colorOut(colorOut), m_code(code), m_types(types), m_fileName(fileName) {} @@ -52,7 +52,7 @@ private: ColorOutput *m_colorOut = nullptr; QString m_code; - QHash<QString, ScopeTree::ConstPtr> m_types; + QHash<QString, ScopeTree::Ptr> m_types; QString m_fileName; }; |