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

Method textDocumentCreated

kdevplatform/debugger/variable/variablecollection.cpp:481–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

479}
480
481void VariableCollection::textDocumentCreated(IDocument* doc)
482{
483 connect( doc->textDocument(),
484 &KTextEditor::Document::viewCreated,
485 this, &VariableCollection::viewCreated );
486
487 const auto views = doc->textDocument()->views();
488 for (KTextEditor::View* view : views) {
489 viewCreated( doc->textDocument(), view );
490 }
491}
492
493void VariableCollection::viewCreated(KTextEditor::Document* doc,
494 KTextEditor::View* view)

Callers

nothing calls this directly

Calls 2

textDocumentMethod · 0.45
viewsMethod · 0.45

Tested by

no test coverage detected