summaryrefslogtreecommitdiffstats
path: root/libtdepim/cfgc/example.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'libtdepim/cfgc/example.cfg')
-rw-r--r--libtdepim/cfgc/example.cfg40
1 files changed, 40 insertions, 0 deletions
diff --git a/libtdepim/cfgc/example.cfg b/libtdepim/cfgc/example.cfg
new file mode 100644
index 000000000..18c7b8b15
--- /dev/null
+++ b/libtdepim/cfgc/example.cfg
@@ -0,0 +1,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="libtdepim/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>