MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / resetCurmbItemState

Method resetCurmbItemState

src/plugins/codeeditor/symbol/symbolbar.cpp:283–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281}
282
283void SymbolBar::resetCurmbItemState()
284{
285 for (int i = 0; i < mainLayout->count(); ++i) {
286 auto item = mainLayout->itemAt(i);
287 if (!item)
288 continue;
289
290 auto curmb = qobject_cast<CurmbItem *>(item->widget());
291 if (curmb && curmb->isSelected())
292 curmb->setSelected(false);
293 }
294}

Callers

nothing calls this directly

Calls 4

setSelectedMethod · 0.80
countMethod · 0.45
widgetMethod · 0.45
isSelectedMethod · 0.45

Tested by

no test coverage detected