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

Method objectAdded

plugins/quickwidgetsupport/quickwidgetsupport.cpp:54–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54void GammaRay::QuickWidgetSupport::objectAdded(QObject *obj)
55{
56 auto qqw = qobject_cast<QQuickWidget *>(obj);
57 if (!qqw)
58 return;
59 if (m_probe->needsObjectDiscovery())
60 m_probe->discoverObject(qqw->quickWindow());
61}

Callers

nothing calls this directly

Calls 2

needsObjectDiscoveryMethod · 0.80
discoverObjectMethod · 0.80

Tested by

no test coverage detected