blob: 055958b4b070f6126fb5e76f84806ab5af725e44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
<?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" >
<include>qdir.h</include>
<kcfgfile name="examplerc">
<parameter name="transport" />
<parameter name="folder" />
</kcfgfile>
<group name="General-$(folder)">
<entry name="OneOption" type="Bool">
<label>One option</label>
<default>true</default>
</entry>
<entry name="AnotherOption" type="Int" key="Another Option">
<label>Another option</label>
<default>5</default>
</entry>
<entry name="ListOption" type="Enum">
<label>This is some funky option</label>
<whatsthis>And this is a longer description of this option. Just wondering, how will the translations of those be handled?</whatsthis>
<choices>
<choice name="One"/>
<choice name="Two"/>
<choice name="Three"/>
</choices>
<default>One</default>
</entry>
</group>
<group name="MyOptions">
<entry name="MyString" type="String">
<label>This is a string</label>
<default>Default String</default>
</entry>
<entry name="MyPath" type="Path">
<label>This is a path</label>
<default code="true">TQt::Dir.homeDirPath()+".hidden_file"</default>
</entry>
<entry name="AnotherOption2" type="Int" key="Another Option">
<label>Another option</label>
<default>10</default>
</entry>
<entry name="MyStringList" type="StringList">
<default>up,down</default>
</entry>
<entry name="MyStringListHidden" hidden="true" type="StringList">
<default>up,down</default>
</entry>
<entry name="MyNumber" type="Int64" key="List-$(transport)-$(folder)">
<label>List Number</label>
<default>1</default>
</entry>
</group>
</kcfg>
|