|
|
@ -922,10 +922,21 @@ void MethodGenerator::writeSignalEmitter(const Class& classData,
|
|
|
|
TQValueList<Argument>::const_iterator it = method.arguments.begin();
|
|
|
|
TQValueList<Argument>::const_iterator it = method.arguments.begin();
|
|
|
|
TQValueList<Argument>::const_iterator endIt = method.arguments.end();
|
|
|
|
TQValueList<Argument>::const_iterator endIt = method.arguments.end();
|
|
|
|
for (; it != endIt;)
|
|
|
|
for (; it != endIt;)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if (!(*it).isPrimitive)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
stream << "const ";
|
|
|
|
stream << "const ";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
stream << (*it).signature;
|
|
|
|
stream << (*it).signature;
|
|
|
|
stream << "& " << (*it).name;
|
|
|
|
|
|
|
|
|
|
|
|
if (!(*it).isPrimitive)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
stream << "&";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
stream << " " << (*it).name;
|
|
|
|
|
|
|
|
|
|
|
|
++it;
|
|
|
|
++it;
|
|
|
|
if (it != endIt)
|
|
|
|
if (it != endIt)
|
|
|
|
{
|
|
|
|
{
|
|
|
|