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

Method addButtonToOrder

kdevplatform/sublime/idealbuttonbarwidget.cpp:492–498  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

490}
491
492void IdealButtonBarWidget::addButtonToOrder(const IdealToolButton* button)
493{
494 QString buttonId = id(button);
495 if (!m_buttonsOrder.contains(buttonId)) {
496 m_buttonsOrder.push_back(buttonId);
497 }
498}
499
500void IdealButtonBarWidget::loadOrderSettings(const KConfigGroup& configGroup)
501{

Callers

nothing calls this directly

Calls 3

idFunction · 0.70
containsMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected