aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qqmljsscope_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmlcompiler/qqmljsscope_p.h')
-rw-r--r--src/qmlcompiler/qqmljsscope_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmlcompiler/qqmljsscope_p.h b/src/qmlcompiler/qqmljsscope_p.h
index f1ead0ece2..de6ea58906 100644
--- a/src/qmlcompiler/qqmljsscope_p.h
+++ b/src/qmlcompiler/qqmljsscope_p.h
@@ -160,11 +160,11 @@ public:
void addOwnMethod(const QQmlJSMetaMethod &method) { m_methods.insert(method.methodName(), method); }
QMultiHash<QString, QQmlJSMetaMethod> ownMethods() const { return m_methods; }
- QQmlJSMetaMethod ownMethod(const QString &name) const { return m_methods.value(name); }
+ QList<QQmlJSMetaMethod> ownMethods(const QString &name) const { return m_methods.values(name); }
bool hasOwnMethod(const QString &name) const { return m_methods.contains(name); }
bool hasMethod(const QString &name) const;
- QQmlJSMetaMethod method(const QString &name) const;
+ QList<QQmlJSMetaMethod> methods(const QString &name) const;
void addEnumeration(const QQmlJSMetaEnum &enumeration)
{