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

Method items

kdevplatform/language/duchain/navigation/useswidget.cpp:329–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327}
328
329QList<QWidget*> NavigatableWidgetList::items() const
330{
331 QList<QWidget*> ret;
332 for (int a = 0; a < m_itemLayout->count(); ++a) {
333 auto* widgetItem = dynamic_cast<QWidgetItem*>(m_itemLayout->itemAt(a));
334 if (widgetItem) {
335 ret << widgetItem->widget();
336 }
337 }
338
339 return ret;
340}
341
342bool NavigatableWidgetList::hasItems() const
343{

Callers 3

deleteItemsMethod · 0.95
countAllUsesMethod · 0.45
setAllExpandedMethod · 0.45

Calls 3

itemAtMethod · 0.80
countMethod · 0.45
widgetMethod · 0.45

Tested by

no test coverage detected