diff options
Diffstat (limited to 'tools/qmllint/checkidentifiers.h')
-rw-r--r-- | tools/qmllint/checkidentifiers.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/qmllint/checkidentifiers.h b/tools/qmllint/checkidentifiers.h index 81f86f7aeb..ed131db5d4 100644 --- a/tools/qmllint/checkidentifiers.h +++ b/tools/qmllint/checkidentifiers.h @@ -33,6 +33,7 @@ #include <QtQmlCompiler/private/qqmljsscope_p.h> #include <QtQmlCompiler/private/qqmljsimporter_p.h> #include <QtQmlCompiler/private/qqmljsmetatypes_p.h> +#include <QtQmlCompiler/private/qqmljsscopesbyid_p.h> class QColorOutput; @@ -53,7 +54,7 @@ public: m_logger(logger), m_code(code), m_types(types), m_fileName(fileName) {} - void operator()(const QHash<QString, QQmlJSScope::ConstPtr> &qmlIDs, + void operator()(const QQmlJSScopesById &qmlIDs, const QHash<QQmlJS::SourceLocation, QQmlJSMetaSignalHandler> &signalHandlers, const MemberAccessChains &memberAccessChains, const QQmlJSScope::ConstPtr &root, const QString &rootId) const; |