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

Function isNotifySignal

core/remote/server.cpp:223–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221}
222
223static bool isNotifySignal(const QMetaObject *mo, const QMetaMethod &method)
224{
225 for (int i = 0; i < mo->propertyCount(); ++i) {
226 const auto prop = mo->property(i);
227 if (!prop.hasNotifySignal())
228 continue;
229 if (prop.notifySignal().methodIndex() == method.methodIndex())
230 return true;
231 }
232 return false;
233}
234
235Protocol::ObjectAddress Server::registerObject(const QString &name, QObject *object,
236 Server::ObjectExportOptions exportOptions)

Callers 1

registerObjectMethod · 0.85

Calls 3

propertyCountMethod · 0.80
notifySignalMethod · 0.80
propertyMethod · 0.45

Tested by

no test coverage detected