qt5base-lts/tests/auto/corelib/kernel/qmetaobject
Fabian Kosmale 5082b84b38 QMetaObjectPrivate: Add firstMethod
QMetaObject::indexfOfMethod returns the method corresponding to a
specific signature. In QML, we however only want any of the methods with
a given name (and do overload resolution at a later point).
For this usecase this patch introduces the internal
QMetaObject::firstMethod function.

Change-Id: Ie3820354edffb273c4cbe1399201a955ebe79344
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2020-11-30 17:16:22 +01:00
..
.gitignore Moving relevant tests to corelib/kernel 2011-09-01 12:42:14 +02:00
CMakeLists.txt CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qmetaobject.pro corelib: invokeMethod: Allow non copyable functors to be used 2019-04-12 20:18:20 +00:00
tst_qmetaobject.cpp QMetaObjectPrivate: Add firstMethod 2020-11-30 17:16:22 +01:00