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

Method views

kdevplatform/shell/ktexteditorpluginintegration.cpp:556–569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

554}
555
556QList<KTextEditor::View *> MainWindow::views() const
557{
558 QList<KTextEditor::View *> kteViews;
559 const auto areas = m_mainWindow->areas();
560 for (auto* area : areas) {
561 const auto views = area->views();
562 for (auto* view : views) {
563 if (auto kteView = toKteView(view)) {
564 kteViews << kteView;
565 }
566 }
567 }
568 return kteViews;
569}
570
571KTextEditor::View *MainWindow::activeView() const
572{

Callers 15

operator()Method · 0.45
closeViewMethod · 0.45
viewsInSameSplitViewMethod · 0.45
gotoPrevNextWindowFunction · 0.45
openDocumentInternalMethod · 0.45
openDocumentsMethod · 0.45
activeDocumentPathsMethod · 0.45
shortcutsChangedMethod · 0.45

Calls 2

toKteViewFunction · 0.85
areasMethod · 0.80

Tested by 9

testDisableBuddiesMethod · 0.36
testDisableAllMethod · 0.36
testClosingMethod · 0.36
switchAreaMethod · 0.36
restoreSplitsMethod · 0.36