MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / writeSettings

Method writeSettings

src/framework/lifecycle/private/pluginmanager_p.cpp:629–645  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

627}
628
629void PluginManagerPrivate::writeSettings()
630{
631 if (!setting)
632 return;
633 QStringList tempEnabledPlugins;
634 QStringList tempDisabledPlugins;
635 for (PluginMetaObjectPointer temp: readQueue) {
636 if (temp->isEnabledBySettings()) {
637 tempEnabledPlugins.append(temp->name());
638 } else {
639 tempDisabledPlugins.append(temp->name());
640 }
641 }
642
643 setting->setValue(QLatin1String(ENABLED_PLUGINS), tempEnabledPlugins);
644 setting->setValue(QLatin1String(DISABLED_PLUGINS), tempDisabledPlugins);
645}
646
647DPF_END_NAMESPACE

Callers

nothing calls this directly

Calls 4

isEnabledBySettingsMethod · 0.80
appendMethod · 0.45
nameMethod · 0.45
setValueMethod · 0.45

Tested by

no test coverage detected