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

Method isExpanded

plugins/quickopen/expandingtree/expandingwidgetmodel.cpp:335–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333}
334
335bool ExpandingWidgetModel::isExpanded(const QModelIndex& idx_) const
336{
337 Q_ASSERT(idx_.model() == this);
338
339 QModelIndex idx(firstColumn(idx_));
340 return m_expandState.contains(idx) && m_expandState[idx] == Expanded;
341}
342
343void ExpandingWidgetModel::setExpanded(const QModelIndex& idx_, bool expanded)
344{

Callers 8

handleEventMethod · 0.80
updateAutoUpdateMethod · 0.80
isActiveProjectMethod · 0.80
eventFilterMethod · 0.80
paintMethod · 0.80
sizeHintMethod · 0.80
editorEventMethod · 0.80
handleMethod · 0.80

Calls 3

firstColumnFunction · 0.85
modelMethod · 0.45
containsMethod · 0.45

Tested by

no test coverage detected