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

Method documentation

kdevplatform/shell/documentationcontroller.cpp:188–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188IDocumentation::Ptr DocumentationController::documentation(const QUrl& url) const
189{
190 const auto providers = this->documentationProviders();
191 for (const IDocumentationProvider* provider : providers) {
192 IDocumentation::Ptr doc = provider->documentation(url);
193 if (doc) {
194 return doc;
195 }
196 }
197 return {};
198}
199
200QList< IDocumentationProvider* > DocumentationController::documentationProviders() const
201{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected