MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / isEffectivelyEnabled

Method isEffectivelyEnabled

lib/extensionsystem/pluginspec.cpp:303–311  ·  view source on GitHub ↗

! Returns whether the plugin is loaded at startup. \see PluginSpec::isEnabled */

Source from the content-addressed store, hash-verified

301 \see PluginSpec::isEnabled
302*/
303bool 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.

Callers 2

loadPluginMethod · 0.80

Calls 1

isEmptyMethod · 0.80

Tested by

no test coverage detected