summaryrefslogtreecommitdiffstats
path: root/libkdepim/cfgc/example.cfg
blob: 1cc4feff3c108b1abf98b75e31c5e6d48647a9ad (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cfg SYSTEM "cfg.dtd">
<cfg>
  <cfgfile name="examplerc"/>
  <class name="ExamplePrefsBase" file="exampleprefs_base" singleton="true">
    <include file="libkdepim/kpimprefs.h" />
  </class>
  <group name="General">
    <entry type="bool">
      <name>OneOption</name>
      <label>One option</label>
      <default>true</default>
    </entry>
    <entry type="int">
      <key>Another Option</key>
      <label>Another option</label>
      <default>5</default>
    </entry>
    <entry type="int">
      <values>
        <value>One</value>
        <value>Two</value>
        <value>Three</value>
      </values>
      <name>ListOption</name>
      <default>One</default>
    </entry>
  </group>
  <group name="MyOptions">
    <entry type=TQSTRING_OBJECT_NAME_STRING>
      <name>MyString</name>
      <label>This is a string</label>
      <default>Default String</default>
    </entry>
    <entry type=TQSTRINGLIST_OBJECT_NAME_STRING>
      <name>MyStringList</name>
      <default>up,down</default>
    </entry>
  </group>
</cfg>