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

Method plugin

kdevplatform/shell/ktexteditorpluginintegration.cpp:387–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385}
386
387KTextEditor::Plugin *Application::plugin(const QString &id) const
388{
389 auto kdevPlugin = Core::self()->pluginController()->loadPlugin(id);
390 const auto plugin = dynamic_cast<Plugin*>(kdevPlugin);
391 return plugin ? plugin->interface() : nullptr;
392}
393
394QList<KTextEditor::Document *> Application::documents()
395{

Callers

nothing calls this directly

Calls 3

pluginControllerMethod · 0.80
loadPluginMethod · 0.45
interfaceMethod · 0.45

Tested by

no test coverage detected