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

Method removeOutput

plugins/standardoutputview/standardoutputview.cpp:244–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244void StandardOutputView::removeOutput( int outputId )
245{
246 for (ToolViewData* td : std::as_const(m_toolViews)) {
247 const auto outputIt = td->outputdata.find(outputId);
248 if (outputIt != td->outputdata.end()) {
249 for (const auto* const view : std::as_const(td->views)) {
250 if (auto* const widget = view->widget()) {
251 qobject_cast<OutputWidget*>(widget)->removeOutput(outputId);
252 }
253 }
254 td->outputdata.erase(outputIt);
255 }
256 }
257}
258
259void StandardOutputView::setTitle(int outputId, const QString& title)
260{

Callers 1

removeToolViewMethod · 0.45

Calls 3

findMethod · 0.45
endMethod · 0.45
widgetMethod · 0.45

Tested by

no test coverage detected