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

Function Q_FOREACH

plugins/actioninspector/actionvalidator.cpp:69–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 Q_ASSERT(action);
68
69 Q_FOREACH (const QKeySequence &sequence, action->shortcuts()) {
70 if (m_shortcutActionMap.values(sequence).contains(action))
71 continue;
72
73 m_shortcutActionMap.insert(sequence, action);
74 }
75
76 // also track object destruction
77 connect(action, &QObject::destroyed,

Callers

nothing calls this directly

Calls 3

insertMethod · 0.45
windowMethod · 0.45
parentMethod · 0.45

Tested by

no test coverage detected