QML applet - write config
Giorgos Tsiapaliokas
terietor at gmail.com
Thu May 9 11:53:59 UTC 2013
Hello,
do you have a main.xml file in your plasmoid?
In order to be able to write something into the plasma config file
you need a xml like this one,
<?xml version="1.0" encoding="UTF-8"?>
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
<kcfgfile name=""/>
<group name="General">
<entry name="testfoo" type="string">
<label>bla bla</label>
<default>somevalue</default>
</entry>
</group>
</kcfg>
If you don't have a xml like this one, when you do plasmoid.writeConfig
nothing will happen.
Regards,
Giorgos
--
Giorgos Tsiapaliokas (terietor)
terietor.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20130509/1f09d47a/attachment-0001.html>
More information about the Plasma-devel
mailing list