Warning, /frameworks/kconfig/autotests/kconfig_compiler/test1.kcfg is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
0003       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
0004       xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0 
0005                           http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
0006   <include>qdir.h</include>
0007   <kcfgfile name="examplerc">
0008     <parameter name="transport" />
0009     <parameter name="folder" />
0010   </kcfgfile>
0011   <group name="General-$(folder)">
0012     <entry name="OneOption" type="Bool">
0013       <label>One option</label>
0014       <default>true</default>
0015     </entry>
0016     <entry name="AnotherOption" type="Int" key="Another Option">
0017       <label>Another option</label>
0018       <default>5</default>
0019     </entry>
0020     <entry name="ListOption" type="Enum">
0021       <label>This is some funky option</label>
0022       <whatsthis>And this is a longer description of this option. Just wondering, how will the translations of those be handled?</whatsthis>
0023       <choices>
0024         <choice name="One"/>
0025         <choice name="Two"/>
0026         <choice name="Three"/>
0027       </choices>
0028       <default>One</default>
0029     </entry>
0030   </group>
0031   <group name="MyOptions">
0032     <entry name="MyString" type="String">
0033       <label>This is a string</label>
0034       <default>Default String</default>
0035     </entry>
0036     <entry name="MyPath" type="Path">
0037       <label>This is a path</label>
0038       <default code="true">QDir::homePath()+QString::fromLatin1(".hidden_file")</default>
0039     </entry>
0040     <entry name="AnotherOption2" type="Int" key="Another Option">
0041       <label>Another option</label>
0042       <default>10</default>
0043     </entry>
0044     <entry name="MyStringList" type="StringList">
0045       <default>up,down</default>
0046     </entry>
0047     <entry name="MyStringListHidden" hidden="true" type="StringList">
0048       <default>up,down</default>
0049     </entry>
0050     <entry name="MyNumber" type="Int" key="List-$(transport)-$(folder)">
0051       <label>List Number</label>
0052       <default>1</default>
0053     </entry>
0054   </group>
0055 </kcfg>