aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmllint/checkidentifiers.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qmllint/checkidentifiers.h')
-rw-r--r--tools/qmllint/checkidentifiers.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/qmllint/checkidentifiers.h b/tools/qmllint/checkidentifiers.h
index bdd83f1e57..373767420b 100644
--- a/tools/qmllint/checkidentifiers.h
+++ b/tools/qmllint/checkidentifiers.h
@@ -30,10 +30,15 @@
#define CHECKIDENTIFIERS_H
#include "scopetree.h"
-#include "findwarnings.h"
+#include "qmljsimporter.h"
class ColorOutput;
+struct SignalHandler {
+ MetaMethod signal;
+ bool isMultiline;
+};
+
class CheckIdentifiers
{
public:
@@ -43,6 +48,7 @@ public:
{}
bool operator ()(const QHash<QString, ScopeTree::ConstPtr> &qmlIDs,
+ const QHash<QQmlJS::SourceLocation, SignalHandler> &signalHandlers,
const ScopeTree::ConstPtr &root, const QString &rootId) const;
private: