aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlmetaobject.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2019-04-07 16:57:58 +0200
committerFabian Kosmale <fabian.kosmale@qt.io>2020-11-26 17:58:01 +0100
commite6b45a2f5dad8105a8f493e2167988a95c1f08ed (patch)
tree4d7710185cd8e1726c05718d8d3f7341145610db /src/qml/qml/qqmlmetaobject.cpp
parent9b337179e1b2c8ece6401262d0f6f2a47e471382 (diff)
Get rid of the QQmlStaticMetaObject
This can easily be folded into it's parent classes. Task-number: QTBUG-82931 Change-Id: I92e490b35c29aacdff3557d0b6318b1dd43e7bbc Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlmetaobject.cpp')
-rw-r--r--src/qml/qml/qqmlmetaobject.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlmetaobject.cpp b/src/qml/qml/qqmlmetaobject.cpp
index da587de10e..84a906b4f9 100644
--- a/src/qml/qml/qqmlmetaobject.cpp
+++ b/src/qml/qml/qqmlmetaobject.cpp
@@ -176,6 +176,13 @@ int *QQmlMetaObject::methodParameterTypes(int index, ArgTypeStorage *argStorage,
return methodParameterTypes(m, argStorage, unknownTypeError);
}
+int *QQmlMetaObject::constructorParameterTypes(int index, ArgTypeStorage *dummy,
+ QByteArray *unknownTypeError) const
+{
+ QMetaMethod m = _m->constructor(index);
+ return methodParameterTypes(m, dummy, unknownTypeError);
+}
+
int *QQmlMetaObject::methodParameterTypes(const QMetaMethod &m, ArgTypeStorage *argStorage,
QByteArray *unknownTypeError) const
{