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

Method documents

kdevplatform/shell/ktexteditorpluginintegration.cpp:394–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

392}
393
394QList<KTextEditor::Document *> Application::documents()
395{
396 QList<KTextEditor::Document *> l;
397 const auto openDocuments = Core::self()->documentControllerInternal()->openDocuments();
398 l.reserve(openDocuments.size());
399 for (auto* d : openDocuments) {
400 l << d->textDocument();
401 }
402 return l;
403}
404
405KTextEditor::Document *Application::openUrl(const QUrl &url, const QString &encoding)
406{

Callers

nothing calls this directly

Calls 5

openDocumentsMethod · 0.80
reserveMethod · 0.45
sizeMethod · 0.45
textDocumentMethod · 0.45

Tested by

no test coverage detected