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

Method containsView

kdevplatform/sublime/mainwindow.cpp:75–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75bool MainWindow::containsView(View* view) const
76{
77 const auto areas = this->areas();
78
79 return std::any_of(areas.begin(), areas.end(), [view](Area* area) {
80 return area->views().contains(view);
81 });
82}
83
84QList< Area* > MainWindow::areas() const
85{

Callers 1

Calls 5

areasMethod · 0.95
beginMethod · 0.45
endMethod · 0.45
containsMethod · 0.45
viewsMethod · 0.45

Tested by

no test coverage detected