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

Method foreach

tests/quicktexturetest.cpp:65–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63
64 QQuickItem *textItem = nullptr;
65 foreach (auto item, view()->rootObject()->findChildren<QQuickItem *>()) {
66 if (strcmp(item->metaObject()->className(), "QQuickText") == 0)
67 textItem = item;
68 }
69 QVERIFY(textItem);
70 Probe::instance()->selectObject(textItem, QPoint());
71

Callers

nothing calls this directly

Calls 3

inheritsMethod · 0.80
classNameMethod · 0.45
metaObjectMethod · 0.45

Tested by

no test coverage detected