MCPcopy Create free account
hub / github.com/KDAB/GammaRay / invokeObjectLocal

Method invokeObjectLocal

common/endpoint.cpp:224–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224void Endpoint::invokeObjectLocal(QObject *object, const char *method,
225 const QVariantList &args)
226{
227 Q_ASSERT(args.size() <= 10);
228 MethodArgument m[10] = {};
229 QGenericArgument a[10] = {};
230 for (int i = 0; i < args.size(); ++i) {
231 m[i] = MethodArgument(args.at(i));
232 a[i] = QGenericArgument(m[i]);
233 }
234
235 QMetaObject::invokeMethod(object, method, a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8],
236 a[9]);
237}
238
239void Endpoint::addObjectNameAddressMapping(const QString &objectName,
240 Protocol::ObjectAddress objectAddress)

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected