equal
deleted
inserted
replaced
201 // do we need to describe this argument? |
201 // do we need to describe this argument? |
202 if (QDBusMetaType::signatureToType(signature) == QVariant::Invalid) { |
202 if (QDBusMetaType::signatureToType(signature) == QVariant::Invalid) { |
203 const char *typeName = QVariant::typeToName( QVariant::Type(types.at(j)) ); |
203 const char *typeName = QVariant::typeToName( QVariant::Type(types.at(j)) ); |
204 xml += QString::fromLatin1(" <annotation name=\"com.trolltech.QtDBus.QtTypeName.%1%2\" value=\"%3\"/>\n") |
204 xml += QString::fromLatin1(" <annotation name=\"com.trolltech.QtDBus.QtTypeName.%1%2\" value=\"%3\"/>\n") |
205 .arg(isOutput ? QLatin1String("Out") : QLatin1String("In")) |
205 .arg(isOutput ? QLatin1String("Out") : QLatin1String("In")) |
206 .arg(isOutput ? j - inputCount : j - 1) |
206 .arg(isOutput && !isSignal ? j - inputCount : j - 1) |
207 .arg(typeNameToXml(typeName)); |
207 .arg(typeNameToXml(typeName)); |
208 } |
208 } |
209 } |
209 } |
210 |
210 |
211 int wantedMask; |
211 int wantedMask; |