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

Method setSettingsFile

src/plugins/GreaseMonkey/gm_jsobject.cpp:31–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31void GM_JSObject::setSettingsFile(const QString &name)
32{
33 if (m_settings) {
34 m_settings->sync();
35 delete m_settings;
36 }
37
38 m_settings = new QSettings(name, QSettings::IniFormat);
39}
40
41QString GM_JSObject::getValue(const QString &nspace, const QString &name, const QString &dValue)
42{

Callers 1

loadMethod · 0.80

Calls 1

syncMethod · 0.45

Tested by

no test coverage detected