qt6-bb10/tests/auto/corelib/kernel/qmetaobject
Thiago Macieira fe92b08065 QMetaObject: add a new, variadic invoke/invokeMethod/newInstance
[ChangeLog][QtCore][Meta Objects] The QMetaObject::invokeMethod() taking
a method name by string, QMetaObject::newInstance(), and
QMetaMethod::invoke() now support more than 10 arguments.

[ChangeLog][QtCore][Meta Objects] The use of the Q_ARG and Q_RETURN_ARG
macros is now optional with QMetaObject::invokeMethod(),
QMetaObject::newInstance(), and QMetaMethod::invoke(): the type name
will be obtained from the C++ type (the same as QMetaType). The function
qReturnArg() can be used in place of the Q_RETURN_ARG macro. The macros
are still useful in rare conditions where the type was typedef'ed from
its original name.

Change-Id: I36b24183fbd041179f2ffffd17022a2b48c7639b
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2022-08-30 22:29:07 -03:00
..
.gitignore Moving relevant tests to corelib/kernel 2011-09-01 12:42:14 +02:00
CMakeLists.txt QMetaObject: add a new, variadic invoke/invokeMethod/newInstance 2022-08-30 22:29:07 -03:00
forwarddeclared.cpp QMetaObject: fix the consistency check for forward-declared builtins 2022-08-26 19:50:48 +02:00
forwarddeclared.h QMetaObject: fix the consistency check for forward-declared builtins 2022-08-26 19:50:48 +02:00
tst_qmetaobject.cpp QMetaObject: add a new, variadic invoke/invokeMethod/newInstance 2022-08-30 22:29:07 -03:00