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

Method loadDependencies

kdevplatform/shell/plugincontroller.cpp:706–717  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

704}
705
706bool PluginController::loadDependencies( const KPluginMetaData& info, QString& failedDependency )
707{
708 const auto dependencies = info.value(KEY_Required(), QStringList());
709 for (const QString& value : dependencies) {
710 Dependency dependency(value);
711 if (!pluginForExtension(dependency.interface, dependency.pluginName)) {
712 failedDependency = value;
713 return false;
714 }
715 }
716 return true;
717}
718
719IPlugin *PluginController::pluginForExtension(const QString &extension, const QString &pluginName, const QVariantMap& constraints)
720{

Callers

nothing calls this directly

Calls 3

KEY_RequiredFunction · 0.85
QStringListClass · 0.85
valueMethod · 0.45

Tested by

no test coverage detected