qt5base-lts/tests/auto/tools
Olivier Goffart 9924a637cc moc: fix Q_INVOKABLE returning references
The moc generated code would not compile otherwise

Keep Moc::parseFunction and Moc::parseMaybeFunction in sync
(the first is used for signals and slots, and the second for normal
 functions such as Q_INVOKABLE)
Last patch that introduced function pointer updated parseFunction
but not parseMaybeFunction

When a slot return a reference, moc generate code that make the
MetaObject system think it is a void, so qt_metacall and invokeMethod
do not mess with the return value.
But when we want to take the function signature, in the IndexOfMethod
call, we need to have the exact return type.

Change-Id: I4661218d7ce367ad3934e73929e7d04f0a6dbc09
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
2011-11-15 11:53:44 +01:00
..
moc moc: fix Q_INVOKABLE returning references 2011-11-15 11:53:44 +01:00
qmake all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
rcc all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
uic Remove unreachable QSKIP in UIC autotest. 2011-10-27 06:12:17 +02:00
tools.pro Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00