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

Method widgetActivated

kdevplatform/sublime/container.cpp:451–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

449}
450
451void Container::widgetActivated(int idx)
452{
453 Q_D(Container);
454
455 if (idx < 0)
456 return;
457 if (QWidget* w = d->stack->widget(idx)) {
458 Sublime::View* view = d->viewForWidget.value(w);
459 if(view)
460 emit activateView(view);
461 }
462}
463
464void Container::addWidget(View* view, QWidget* widget, int position)
465{

Callers

nothing calls this directly

Calls 2

widgetMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected