plasma-framework/examples/applets/notes/contents/config/main.xml
Marco Martin b14c23bed0 new way for sending data
plasmoid has an externalData signal, and will be used like
Connections {
        target: plasmoid
        onExternalData: {
            if (mimetype === "text/plain") {
                noteText.text = data
            }
        }
    }

a notes example applet describes its use
2013-09-20 12:59:35 +02:00

16 lines
454 B
XML

<?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="Text" type="String">
<label>Notes text</label>
<default>Hello!</default>
</entry>
</group>
</kcfg>