<?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" >
  <kcfgfile name="groupwiserc" />
  
  <group name="General" >
    <entry key="Host" type="String" >
      <label>Server name</label>
    </entry>
    <entry key="Port" type="UInt" >
      <label>Port</label>
      <default>8201</default>
    </entry>
    <entry key="User" type="String" >
      <label>User name</label>
    </entry>
    <entry key="Path" type="String" >
      <label>Path to SOAP interface</label>
      <default>/soap</default>
    </entry>
    <entry key="Password" type="String" >
      <label>User password</label>
    </entry>

    <entry key="Email" type="String">
      <label>Email Address</label>
    </entry>
    <entry key="FullName" type="String">
      <label>Full Name of User</label>
    </entry>
    <entry key="CreateEmailAccount" type="Bool">
      <label>Create email account</label>
      <default>false</default>
    </entry>

    <entry key="SavePassword" type="Bool" >
      <label>Save Password</label>
      <default>true</default>
    </entry>
    <entry key="UseHttps" type="Bool" >
      <label>Use HTTPS</label>
      <default>true</default>
    </entry>
    <entry key="LogFile" type="String" >
      <label>Log File</label>
    </entry>
  </group>
  
  <group name="Resources" >
    <entry key="KcalResource" type="String" >
      <label>Id of KCal resource</label>
    </entry>
    <entry key="KabcResource" type="String" >
      <label>Id of KABC resource</label>
    </entry>
    <entry key="KMailAccountId" type="Int">
      <label>Id of KMail account for receiving mail</label>
      <default>-1</default>
    </entry>
    <entry key="KMailTransportId" type="Int">
      <label>Id of KMail transport for sending mail</label>
      <default>-1</default>
    </entry>
  </group>

  <group name="Constants">
    <entry name="EnableFreeBusy">
      <default>true</default>
    </entry>
  </group>

  <propagation source="groupwiserc/Constants/EnableFreeBusy"
               target="korganizerrc/FreeBusy/FreeBusyRetrieveAuto" />

  <propagation source="groupwiserc/General/User"
               target="korganizerrc/FreeBusy/FreeBusyRetrieveUser" />
  <propagation source="groupwiserc/General/Password"
               target="korganizerrc/FreeBusy/FreeBusyRetrievePassword"
               hidevalue="true" />
  <propagation source="groupwiserc/General/SavePassword"
               target="korganizerrc/FreeBusy/FreeBusyRetrieveSavePassword" />

</kcfg>
