diff options
Diffstat (limited to 'tools/qmllint/checkidentifiers.h')
-rw-r--r-- | tools/qmllint/checkidentifiers.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/qmllint/checkidentifiers.h b/tools/qmllint/checkidentifiers.h index 373767420b..2056a80f80 100644 --- a/tools/qmllint/checkidentifiers.h +++ b/tools/qmllint/checkidentifiers.h @@ -51,11 +51,13 @@ public: const QHash<QQmlJS::SourceLocation, SignalHandler> &signalHandlers, const ScopeTree::ConstPtr &root, const QString &rootId) const; + static void printContext(const QString &code, ColorOutput *output, + const QQmlJS::SourceLocation &location); + private: bool checkMemberAccess(const QVector<ScopeTree::FieldMember> &members, const ScopeTree::ConstPtr &outerScope, const MetaProperty *prop = nullptr) const; - void printContext(const QQmlJS::SourceLocation &location) const; ColorOutput *m_colorOut = nullptr; QString m_code; |