MCPcopy Create free account
hub / github.com/KDE/falkon / itemChanged

Method itemChanged

src/plugins/GreaseMonkey/settings/gm_settings.cpp:103–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103void GM_Settings::itemChanged(QListWidgetItem* item)
104{
105 GM_Script* script = getScript(item);
106 if (!script) {
107 return;
108 }
109
110 if (item->checkState() == Qt::Checked) {
111 m_manager->enableScript(script);
112 }
113 else {
114 m_manager->disableScript(script);
115 }
116}
117
118void GM_Settings::openScriptsDirectory()
119{

Callers

nothing calls this directly

Calls 2

enableScriptMethod · 0.80
disableScriptMethod · 0.80

Tested by

no test coverage detected