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

Method toolViewPresent

kdevplatform/shell/uicontroller.cpp:756–763  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

754}
755
756bool UiController::toolViewPresent(Sublime::ToolDocument* doc, Sublime::Area* area)
757{
758 for (Sublime::View *view : doc->views()) {
759 if( area->toolViews().contains( view ) )
760 return true;
761 }
762 return false;
763}
764
765void UiController::addToolViewIfWanted(IToolViewFactory* factory,
766 Sublime::ToolDocument* doc,

Callers 1

Calls 2

viewsMethod · 0.45
containsMethod · 0.45

Tested by

no test coverage detected