| 392 | } |
| 393 | |
| 394 | QList<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 | |
| 405 | KTextEditor::Document *Application::openUrl(const QUrl &url, const QString &encoding) |
| 406 | { |
nothing calls this directly
no test coverage detected