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

Method isPartiallyExpanded

plugins/quickopen/expandingtree/expandingwidgetmodel.cpp:149–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149ExpandingWidgetModel::ExpansionType ExpandingWidgetModel::isPartiallyExpanded(const QModelIndex& index) const
150{
151 const auto expansionIt = m_partiallyExpanded.find(firstColumn(index));
152 if (expansionIt != m_partiallyExpanded.end()) {
153 return *expansionIt;
154 } else {
155 return NotExpanded;
156 }
157}
158
159void ExpandingWidgetModel::partiallyUnExpand(const QModelIndex& idx_)
160{

Callers 3

drawRowMethod · 0.80
paintMethod · 0.80
sizeHintMethod · 0.80

Calls 3

firstColumnFunction · 0.85
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected