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

Method takeOrderFromLayout

kdevplatform/sublime/idealbuttonbarwidget.cpp:543–551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

541}
542
543void IdealButtonBarWidget::takeOrderFromLayout()
544{
545 m_buttonsOrder.clear();
546 for (int i = 0; i < m_buttonsLayout->count(); ++i) {
547 if (auto button = qobject_cast<IdealToolButton*>(m_buttonsLayout->itemAt(i)->widget())) {
548 m_buttonsOrder += id(button);
549 }
550 }
551}
552
553Qt::Orientation IdealButtonBarWidget::orientation() const
554{

Callers

nothing calls this directly

Calls 5

itemAtMethod · 0.80
idFunction · 0.70
clearMethod · 0.45
countMethod · 0.45
widgetMethod · 0.45

Tested by

no test coverage detected