! Returns whether the plugin is loaded at startup. \see PluginSpec::isEnabled */
| 301 | \see PluginSpec::isEnabled |
| 302 | */ |
| 303 | bool PluginSpec::isEffectivelyEnabled() const |
| 304 | { |
| 305 | if (d->disabledIndirectly |
| 306 | || (!d->enabledInSettings && !d->forceEnabled) |
| 307 | || d->forceDisabled) { |
| 308 | return false; |
| 309 | } |
| 310 | return d->platformSpecification.isEmpty() || d->platformSpecification.exactMatch(PluginManager::platformName()); |
| 311 | } |
| 312 | |
| 313 | /*! |
| 314 | Returns true if loading was not done due to user unselecting this plugin or its dependencies. |
no test coverage detected