| 1256 | } |
| 1257 | |
| 1258 | void PluginManagerPrivate::resolveDependencies() |
| 1259 | { |
| 1260 | foreach (PluginSpec *spec, pluginSpecs) { |
| 1261 | spec->d->resolveDependencies(pluginSpecs); |
| 1262 | } |
| 1263 | |
| 1264 | // Reset disabledIndirectly flag |
| 1265 | foreach (PluginSpec *spec, loadQueue()) |
| 1266 | spec->d->disabledIndirectly = false; |
| 1267 | |
| 1268 | foreach (PluginSpec *spec, loadQueue()) { |
| 1269 | spec->d->disableIndirectlyIfDependencyDisabled(); |
| 1270 | } |
| 1271 | } |
| 1272 | |
| 1273 | // Look in argument descriptions of the specs for the option. |
| 1274 | PluginSpec *PluginManagerPrivate::pluginForOption(const QString &option, bool *requiresArgument) const |