plasma-framework/scriptengines/javascript/tests/javascript-config-test/contents/code/main.js
Aaron J. Seigo 71789306b7 ok, this time _really_ move it over. svn is sometimes a little too forgiving / sloppy :(
svn path=/trunk/KDE/kdebase/runtime/; revision=967245
2009-05-13 00:55:25 +00:00

8 lines
230 B
JavaScript

print(plasmoid.readConfig("Test"));
plasmoid.activeConfig = "secondary";
print(plasmoid.activeConfig);
print(plasmoid.readConfig("Test"));
plasmoid.writeConfig("Test", "You should see this!");
print(plasmoid.readConfig("Test"));