summaryrefslogtreecommitdiffstats
path: root/libkdepim/tests/propagator_test.kcfg
blob: 8fc97177133de16bbfe21d256b69888befa9c8d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?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="testwizardrc"/>

  <group name="MySettings">
    <entry name="FixKMail" type="Bool">
      <label>Fix KMail</label>
      <default>true</default>
    </entry>
    <entry name="BreakKMail" type="Bool">
      <label>Fix KMail</label>
      <default>false</default>
    </entry>
    <entry name="DisableDefaultSigning" type="Int">
      <default>0</default>
    </entry>
    <entry name="EnableDefaultSigning" type="Int">
      <default>1</default>
    </entry>
    <entry name="ThisIsAString" type="String">
      <default>hallo</default>
    </entry>
  </group>

  <condition key="testwizardrc/MySettings/FixKMail" value="true">
    <propagation source="testwizardrc/MySettings/DisableDefaultSigning"
                 target="kmailrc/CryptPlug #0/SignEmail" />
  </condition>

  <condition key="testwizardrc/MySettings/BreakKMail" value="true">
    <propagation source="testwizardrc/MySettings/EnableDefaultSigning"
                 target="kmailrc/CryptPlug #0/SignEmail" />
  </condition>

  <propagation source="file1/group1/entry1" target="file2/group2/entry2" />
  <propagation source="file1/group1/entry3" target="file2/group2/entry4" />
  <condition key="myfile/mygroup/myentry" value="123">
    <propagation source="file1/group1/entry1" target="filex/groupx/entryx" />
  </condition>

</kcfg>