aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfig_compiler/test11.kcfg
blob: 73b2d01f8cc5e4b618db4d6bac7d7e2573f1f663 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<?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>"test11_types.h"</include>

  <kcfgfile name="korganizerrc"/>

  <group name="General">
    <entry type="Bool" key="Auto Save">
      <label>Enable automatic saving of calendar</label>
      <whatsthis>WhatsThis text for AutoSave option</whatsthis>
      <default>false</default>
    </entry>
    <entry type="Int" key="Auto Save Interval">
      <default>10</default>
    </entry>
    <entry type="Bool" key="Confirm Deletes" name="Confirm">
      <label>Confirm deletes</label>
      <default>true</default>
    </entry>
    <entry type="String" key="Archive File">
    </entry>
    <entry type="Enum" key="Destination" name="Destination">
      <label>New Events/Todos Should</label>
      <choices>
        <choice name="standardDestination">
        </choice>
        <choice name="askDestination">
        </choice>
        <choice name="argl1">
          <label>Argl1 Label</label>
        </choice>
        <choice name="argl2">
          <whatsthis>Argl2 Whatsthis</whatsthis>
        </choice>
        <choice name="argl3">
          <label>Argl3 Label</label>
          <whatsthis>Argl3 Whatsthis</whatsthis>
        </choice>
      </choices>
      <default>standardDestination</default>
    </entry>
  </group>

  <group name="Views">
    <entry type="Int" key="Hour Size">
      <default>10</default>
    </entry>
    <entry type="Bool" name="SelectionStartsEditor">
      <label>Time range selection in agenda view starts event editor</label>
      <default>false</default>
    </entry>
  </group>

  <group name="KOrganizer Plugins">
    <entry type="StringList" name="SelectedPlugins">
      <default>holidays,webexport</default>
    </entry>
  </group>

  <group name="Colors">
    <entry type="Color" key="Highlight Color">
      <label>Highlight color</label>
      <default>100, 100, 255</default>
    </entry>
    <entry type="Color" key="Agenda Background Color" name="AgendaBgColor">
      <label>Agenda view background color</label>
      <default>255, 255, 255</default>
    </entry>
  </group>

  <group name="Fonts">
    <entry type="Font" key="TimeBar Font">
      <label>Time bar</label>
    </entry>
  </group>

  <group name="Email">
    <entry name="EmailClient" key="EmailClient" type="Enum">
      <label context="@label">Email client</label>
      <whatsthis context="@info:whatsthis">&lt;para>How to send email when an email alarm is triggered.&lt;list>&lt;item>KMail: The email is sent automatically via &lt;application>KMail&lt;/application>. &lt;application>KMail&lt;/application> is started first if necessary.&lt;/item>&lt;item>Sendmail: The email is sent automatically. This option will only work if your system is configured to use &lt;application>sendmail&lt;/application> or a sendmail compatible mail transport agent.&lt;/item>&lt;/list>&lt;/para></whatsthis>
      <choices name="MailClient">
        <choice name="sendmail"><label context="@option">Sendmail</label></choice>
        <choice name="kmail"><label context="@option">KMail</label></choice>
      </choices>
      <default>kmail</default>
    </entry>

    <entry name="DefaultReminderUnits" key="RemindUnits" type="Enum">
      <label context="@label">Reminder units</label>
      <whatsthis context="@info:whatsthis">Default reminder time units in the alarm edit dialog.</whatsthis>
      <tooltip context="@info:tooltip">Default reminder time units in the alarm edit dialog.</tooltip>
       <choices name="TimePeriod::Units">
        <choice name="Minutes"></choice>
        <choice name="HoursMinutes"><label context="@option">Hours/Minutes</label></choice>
      </choices>
      <default>HoursMinutes</default>
   </entry>
  </group>

  <group name="QueueRates">
    <entry name="queueRate$(QueueIndex)" type="IntList" key="EmptyingRate $(QueueIndex)">
        <!-- kconfig_compiler_kf5 really should do this for me... -->
        <code>  QList&lt; QList&lt;int&gt; &gt; defaultRate;
  QList&lt; int &gt; defaultRateInit;

  defaultRateInit.append( 15 );
  defaultRateInit.append( 60 );
  defaultRateInit.append( 0 );
  defaultRate.append( defaultRateInit );

  defaultRateInit.clear();
  defaultRateInit.append( 40 );
  defaultRateInit.append( 60 );
  defaultRateInit.append( 0 );
  defaultRate.append( defaultRateInit );

  defaultRateInit.clear();
  defaultRateInit.append( 1 );
  defaultRateInit.append( 1 );
  defaultRateInit.append( 0 );
  defaultRate.append( defaultRateInit );
        </code>
        <parameter name="QueueIndex" type="Int" max="2"/>
        <default param="0" code="true">defaultRate[0]</default>
        <default param="2" code="true">defaultRate[2]</default>
    </entry>
    <entry key="ShowQueueTuner" type="Bool">
        <default>false</default>
    </entry>
  </group>

</kcfg>