public static String cppSignalSignature(QSignalEmitter.AbstractSignalInternal signal) { String signalParameters = QtJambiInternal.signalParameters(signal); String params = MetaObjectTools.internalTypeNameOfSignal(signal.resolveSignal(), signalParameters, 1); if (signalParameters.length() > 0 && params.length() == 0) return ""; else return signal.name() + "(" + params + ")"; }
private static String signalParameters(QtJambiInternal.ResolvedSignal resolvedSignal) { return MetaObjectTools.bunchOfClassNamesInARow( resolvedSignal.types, resolvedSignal.arrayDimensions); }