| 704 | } |
| 705 | |
| 706 | bool 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 | |
| 719 | IPlugin *PluginController::pluginForExtension(const QString &extension, const QString &pluginName, const QVariantMap& constraints) |
| 720 | { |
nothing calls this directly
no test coverage detected