<?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>QFontDatabase</include>
  <kcfgfile name="klettresrc"/>
  <group name="General">
    <entry name="Language" type="String">
      <label>Language</label>
      <default>en</default>
    </entry>
    <entry name="Theme" type="Enum" key="myTheme">
      <label>Theme</label>
      <choices>
        <choice name="kid"/>
        <choice name="desert"/>
        <choice name="savannah"/>
      </choices>
      <default>kid</default>
    </entry>
    <entry name="MenuBarBool" type="Bool">
      <label>Whether the menubar is shown or hidden</label>
      <default>true</default>
    </entry>
    <entry name="Mode" type="Enum" key="myMode">
      <label>Mode</label>
      <choices>
        <choice name="kid"/>
        <choice name="grownup"/>
      </choices>
      <default>grownup</default>
    </entry>
    <entry name="Level" type="Int" key="myLevel"> 
      <label>Difficulty level.</label>
      <default>1</default>
       <min>1</min>
      <max>4</max>
    </entry>
    <entry name="KidTimer" type="Int">
      <label>Kid Timer</label>
      <default>4</default>
    </entry>
    <entry name="GrownTimer" type="Int">
      <label>Grown-up Timer</label>
      <default>2</default>
    </entry>
  </group>
  <group name="mFont">
    <entry name="Font" type="Font" key="mFont">
      <label>Font</label>
      <code>QFont defaultFont = QFontDatabase::systemFont(QFontDatabase::GeneralFont);
            defaultFont.setPointSize(48);
            defaultFont.setBold(true);
      </code>
      <default code="true">defaultFont</default>
    </entry>
  </group>
</kcfg>
