MCPcopy Create free account
hub / github.com/Atarity/Lightpack / setEnabled

Method setEnabled

Software/src/Plugin.cpp:97–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97void Plugin::setEnabled(bool enable){
98 DEBUG_LOW_LEVEL << Q_FUNC_INFO << enable;
99 QString key = this->_name+"/Enable";
100 Settings::setValueMain(key,enable);
101 if (!enable) this->Stop();
102 if (enable) this->Start();
103}
104
105
106void Plugin::Start()

Callers 15

onConnectedChangedMethod · 0.80
updatePluginMethod · 0.80
initializePageMethod · 0.80
setStatusMethod · 0.80
closeMethod · 0.80

Calls 2

StopMethod · 0.95
StartMethod · 0.95

Tested by

no test coverage detected