You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdepim/libtdepim/cfgc/example.cfg

41 lines
1.0 KiB

<?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">
<name>MyString</name>
<label>This is a string</label>
<default>Default String</default>
</entry>
<entry type="TQStringList">
<name>MyStringList</name>
<default>up,down</default>
</entry>
</group>
</cfg>