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

Method raiseOutput

plugins/standardoutputview/outputwidget.cpp:609–631  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

607}
608
609void OutputWidget::raiseOutput(int id)
610{
611 const auto viewIt = m_views.constFind(id);
612 if (viewIt != m_views.constEnd()) {
613 auto view = viewIt->view;
614 if( data->type & KDevelop::IOutputView::MultipleView )
615 {
616 int idx = m_tabwidget->indexOf(view);
617 if( idx >= 0 )
618 {
619 m_tabwidget->setCurrentIndex( idx );
620 }
621 } else if( data->type & KDevelop::IOutputView::HistoryView )
622 {
623 int idx = m_stackwidget->indexOf(view);
624 if( idx >= 0 )
625 {
626 m_stackwidget->setCurrentIndex( idx );
627 }
628 }
629 }
630 enableActions();
631}
632
633void OutputWidget::nextOutput()
634{

Callers 2

startOutputMethod · 0.45
outputMessageMethod · 0.45

Calls 4

constEndMethod · 0.80
setCurrentIndexMethod · 0.80
constFindMethod · 0.45
indexOfMethod · 0.45

Tested by

no test coverage detected