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

Method button

kdevplatform/sublime/idealbuttonbarwidget.cpp:479–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

477}
478
479IdealToolButton* IdealButtonBarWidget::button(const QString& id) const
480{
481 const auto actions = this->actions();
482 for (QAction* a : actions) {
483 auto tva = qobject_cast<ToolViewAction*>(a);
484 if (tva && tva->id() == id) {
485 return tva->button();
486 }
487 }
488
489 return nullptr;
490}
491
492void IdealButtonBarWidget::addButtonToOrder(const IdealToolButton* button)
493{

Callers 15

mousePressEventFunction · 0.80
formatFilesMethod · 0.80
openProjectMethod · 0.80
selectionChangedMethod · 0.80
saveConfigMethod · 0.80
pageChangedMethod · 0.80
LoadedPluginsDialogMethod · 0.80
KSaveSelectDialogMethod · 0.80
SessionChooserDialogMethod · 0.80
filterTextChangedMethod · 0.80

Calls 2

actionsMethod · 0.45
idMethod · 0.45

Tested by 4

buttonClickedFunction · 0.64
applyFunction · 0.64
configChangedFunction · 0.64
mainFunction · 0.64