| 327 | } |
| 328 | |
| 329 | QList<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 | |
| 342 | bool NavigatableWidgetList::hasItems() const |
| 343 | { |
no test coverage detected