MCPcopy Create free account
hub / github.com/KDE/kdevelop / setInScope

Method setInScope

kdevplatform/debugger/variable/variablecollection.cpp:114–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114void Variable::setInScope(bool v)
115{
116 for (int i=0; i < childCount(); ++i) {
117 if (auto *var = qobject_cast<Variable*>(child(i))) {
118 var->setInScope(v);
119 }
120 }
121 if (v != m_inScope) {
122 m_inScope = v;
123 reportChange(VariableCollection::ValueColumn);
124 }
125}
126
127void Variable::setShowError (bool v)
128{

Callers 2

stateChangedMethod · 0.80
handleMethod · 0.80

Calls 1

childFunction · 0.85

Tested by

no test coverage detected