<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: 2007-2025 David Jarvie <djarvie@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
-->
<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>"lib/timeperiod.h"</include>
  <include>"lib/locale.h"</include>
  <include>QFontDatabase</include>
  <include>KColorScheme</include>
  <include>QFont</include>
  <include>QColor</include>
  <include>qnamespace.h</include>

  <kcfgfile name="kalarmrc"/>
  <signal name="showInSystemTrayChanged">
    <argument type="Bool">ShowInSystemTray</argument>
  </signal>
  <signal name="autoHideSystemTrayChanged">
    <argument type="Int">Base_AutoHideSystemTray</argument>
  </signal>
  <signal name="base_TimeZoneChanged">
    <argument type="String">Base_TimeZone</argument>
  </signal>
  <signal name="base_HolidayRegionChanged">
    <argument type="String">Base_HolidayRegion</argument>
  </signal>
  <signal name="base_StartOfDayChanged">
    <argument type="DateTime">Base_StartOfDay</argument>
  </signal>
  <signal name="base_WorkTimeChanged">
    <argument type="DateTime">Base_WorkDayStart</argument>
    <argument type="DateTime">Base_WorkDayEnd</argument>
    <argument type="Int">Base_WorkDays</argument>
  </signal>
  <signal name="useAlarmNameChanged">
    <argument type="Bool">UseAlarmName</argument>
  </signal>
  <signal name="messageFontChanged">
    <argument type="Font">MessageFont</argument>
  </signal>
  <signal name="disabledColourChanged">
    <argument type="Color">DisabledColour</argument>
  </signal>
  <signal name="archivedColourChanged">
    <argument type="Color">ArchivedColour</argument>
  </signal>
  <signal name="archivedKeepDaysChanged">
    <argument type="Int">ArchivedKeepDays</argument>
  </signal>
  <signal name="wakeFromSuspendAdvanceChanged">
    <argument type="UInt">WakeFromSuspendAdvance</argument>
  </signal>
  <signal name="feb29TypeChanged">
    <argument type="Enum">DefaultFeb29Type</argument>
  </signal>
  <signal name="tooltipPreferencesChanged">
  </signal>
  <group name="General">
    <entry name="Version" type="String" hidden="true">
      <label context="@label">KAlarm version</label>
      <whatsthis context="@info:whatsthis">KAlarm version which wrote this file.</whatsthis>
    </entry>
    <entry name="Backend" type="Enum" hidden="true">
      <label context="@label">Data storage backend</label>
      <whatsthis context="@info:whatsthis">Data storage backend currently used by KAlarm.</whatsthis>
      <choices name="Backend">
        <choice name="Kresources"><label context="@option">KResources</label></choice>
        <choice name="Akonadi"><label context="@option">Akonadi</label></choice>
        <choice name="FileResources"><label context="@option">File Resources</label></choice>
      </choices>
    </entry>
    <entry name="UseAkonadiIfAvailable" type="Bool">
      <label context="@label">Enable Akonadi plugin</label>
      <whatsthis context="@info:whatsthis">Choose whether to enable KAlarm's Akonadi plugin, which uses Akonadi to provide features including birthday import, some email functions, email address book lookup, and Akonadi resource migration on first run.</whatsthis>
      <default>true</default>
    </entry>
    <entry name="Base_AudioBackend" key="AudioBackend" type="Enum">
      <label context="@label">Audio backend</label>
      <whatsthis context="@info:whatsthis">Which audio backend to prefer.</whatsthis>
      <choices name="AudioBackend" prefix="Audio_">
        <choice name="Mpv"><label context="@option">MPV</label></choice>
        <choice name="Vlc"><label context="@option">VLC</label></choice>
      </choices>
      <default>Vlc</default>
    </entry>
    <entry name="Base_TimeZone" key="TimeZone" type="String">
      <label context="@label">Time zone</label>
      <whatsthis context="@info:whatsthis">Select the time zone which KAlarm should use as its default for displaying and entering dates and times.</whatsthis>
      <emit signal="base_TimeZoneChanged"/>
    </entry>
    <entry name="Base_HolidayRegion" key="HolidayRegion" type="String">
      <label context="@label">Holiday region</label>
      <whatsthis context="@info:whatsthis">Select the holiday region to use.</whatsthis>
      <emit signal="base_HolidayRegionChanged"/>
    </entry>
    <entry name="DefaultFgColour" key="MessageForegroundColour" type="Color">
      <label context="@label">Foreground color</label>
      <whatsthis context="@info:whatsthis">Default foreground color for alarm message windows.</whatsthis>
      <default code="true">KColorScheme(QPalette::Active).foreground().color()</default>
    </entry>
    <entry name="DefaultBgColour" key="MessageBackgroundColour" type="Color">
      <label context="@label">Background color</label>
      <whatsthis context="@info:whatsthis">Default background color for alarm message windows.</whatsthis>
      <default code="true">KColorScheme(QPalette::Active).background(KColorScheme::NegativeBackground).color()</default>
    </entry>
    <entry name="UseAlarmName" type="Bool">
      <label context="@label">Enable alarm names</label>
      <whatsthis context="@info:whatsthis">Choose whether to be able to give alarms a name. This is a convenience to help you to identify alarms.</whatsthis>
      <default>true</default>
      <emit signal="useAlarmNameChanged"/>
    </entry>
    <entry name="MessageFont" type="Font">
      <label context="@label">Message font</label>
      <whatsthis context="@info:whatsthis">Default font for displaying alarm messages.</whatsthis>
      <default code="true">QFont(QFontDatabase::systemFont(QFontDatabase::GeneralFont).family(), 16, QFont::Bold)</default>
      <emit signal="messageFontChanged"/>
    </entry>
    <entry name="ShowInSystemTray" type="Bool">
      <label context="@label">Show in system tray</label>
      <whatsthis context="@info:whatsthis">&lt;p>Check to show KAlarm's icon in the system tray. Showing it in the system tray provides easy access and a status indication.&lt;/p></whatsthis>
      <default>true</default>
      <emit signal="showInSystemTrayChanged"/>
    </entry>
    <entry name="Base_AutoHideSystemTray" key="AutoHideSystemTray" type="Int">
      <label context="@label">Auto-hide in system tray if no alarms due within period</label>
      <whatsthis context="@info:whatsthis">&lt;p>Enter -1 to auto-hide KAlarm's icon in the system tray when there are no active alarms.&lt;/p>&lt;p>To auto-hide the system tray icon when there are no alarms due within a set period of time, enter the time period in minutes.&lt;/p>&lt;p>Enter 0 to always show the system tray icon.&lt;/p></whatsthis>
      <default>1440</default>
      <emit signal="autoHideSystemTrayChanged"/>
    </entry>
    <entry name="NoAutoHideSystemTrayDesktops" type="StringList" hidden="true">
      <label context="@label">Desktops without auto-hide in system tray</label>
      <whatsthis context="@info:whatsthis">Desktops for which the auto-hide in system tray option is not available.</whatsthis>
      <default>Unity</default>
    </entry>
    <entry name="Base_AutoStart" key="AutoStart" type="Bool">
      <label context="@label">Start at login</label>
      <whatsthis context="@info:whatsthis">&lt;p>Automatically start KAlarm whenever you start KDE.&lt;/p>&lt;p>This option should always be set true if RunMode=Auto, else false.&lt;/p></whatsthis>
      <default>false</default>
    </entry>
    <entry name="Base_RunMode" key="RunMode" type="Enum">
      <label context="@label">Run mode</label>
      <whatsthis context="@info:whatsthis">Whether to run KAlarm automatically on login, manually only, or not at all.</whatsthis>
      <choices name="RunMode" prefix="RunMode_">
        <choice name="Auto"><label context="@option">Run automatically</label></choice>
        <choice name="Manual"><label context="@option">Run manually only</label></choice>
        <choice name="None"><label context="@option">Do not run</label></choice>
      </choices>
      <default>None</default>
    </entry>
    <entry name="DefaultDeferTime" key="DeferTime" type="Int">
      <label context="@label">Default defer time interval</label>
      <whatsthis context="@info:whatsthis">Enter the default time interval (in minutes) to defer alarms, used by the Defer Alarm dialog.</whatsthis>
      <default>5</default>
    </entry>
    <entry name="AskResource" type="Bool">
      <label context="@label">Prompt for which calendar to store in</label>
      <whatsthis context="@info:whatsthis">&lt;p>When saving a new alarm or alarm template, prompt for which calendar to store it in, if there is more than one active calendar.&lt;/p>&lt;p>Note that archived alarms are always stored in the default archived alarm calendar.&lt;/p></whatsthis>
      <default>true</default>
    </entry>
    <entry name="Base_ModalMessages" key="ModalMessages" type="Bool">
      <label context="@label">Message windows have a title bar and take keyboard focus</label>
      <whatsthis context="@info:whatsthis">&lt;p>Specify the characteristics of alarm message windows:&lt;ul>&lt;li>If checked, the window is a normal window with a title bar, which grabs keyboard input when it is displayed.&lt;/li>&lt;li>If unchecked, the window does not interfere with your typing when it is displayed, but it has no title bar and cannot be moved or resized.&lt;/li>&lt;/ul>&lt;/p></whatsthis>
      <default>true</default>
    </entry>
    <entry name="Base_MessageButtonDelay" key="MessageButtonDelay" type="Int">
      <label context="@label">Delay before message window buttons are enabled</label>
      <whatsthis context="@info:whatsthis">&lt;p>Specify the positioning of alarm message windows, and the delay in seconds after a window shows until its buttons are enabled.
        &lt;ul>&lt;li>0 to position message windows as far from the cursor as possible with no enable delay.&lt;/li>
        &lt;li>> 0 to position in center of screen and specify delay before enabling buttons.&lt;/li>
        &lt;li>-1 for no special positioning and no enable delay.&lt;/li>&lt;/ul>&lt;/p>
      </whatsthis>
      <default>0</default>
      <min>-1</min>
      <max>10</max>   <!-- Prevent windows being unusable for a long time -->
    </entry>
    <entry name="TooltipAlarmCount" type="Int">
      <label context="@label">Number of alarms to show in system tray tooltip</label>
      <whatsthis context="@info:whatsthis">&lt;p>How many alarms due in the next 24 hours to show in the system tray tooltip:
        &lt;ul>&lt;li>0 to display none&lt;/li>
        &lt;li>-1 to display all&lt;/li>
        &lt;li>>0 to set a limit.&lt;/li>&lt;/ul>&lt;/p>
      </whatsthis>
      <default>5</default>
      <!-- <min>-1</min>   Can't use 'min' with signal!! -->
      <emit signal="tooltipPreferencesChanged"/>
    </entry>
    <entry name="ShowTooltipAlarmTime" type="Bool">
      <label context="@label">Show alarm times in system tray tooltip</label>
      <whatsthis context="@info:whatsthis">Specify whether to show in the system tray tooltip, the time at which each alarm is due.</whatsthis>
      <default>true</default>
      <emit signal="tooltipPreferencesChanged"/>
    </entry>
    <entry name="ShowTooltipTimeToAlarm" type="Bool">
      <label context="@label">Show time to alarms in system tray tooltip</label>
      <whatsthis context="@info:whatsthis">Specify whether to show in the system tray tooltip, how long until each alarm is due.</whatsthis>
      <default>true</default>
      <emit signal="tooltipPreferencesChanged"/>
    </entry>
    <entry name="TooltipTimeToPrefix" type="String">
      <label context="@label">Time-to-alarm prefix in system tray tooltip</label>
      <whatsthis context="@info:whatsthis">Enter the text to be displayed in front of the time until the alarm, in the system tray tooltip.</whatsthis>
      <default code="true">QLatin1StringView("+")</default>
      <emit signal="tooltipPreferencesChanged"/>
    </entry>
    <entry name="Base_EmailClient" key="EmailClient" type="Enum">
      <label context="@label">Email client</label>
      <whatsthis context="@info:whatsthis">&lt;p>How to send email when an email alarm is triggered.&lt;ul>&lt;li>KMail: The email is sent automatically via KMail.&lt;/li>&lt;li>Sendmail: The email is sent automatically. This option will only work if your system is configured to use sendmail or a sendmail compatible mail transport agent.&lt;/li>&lt;/ul>&lt;/p></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="Base_EmailCopyToKMail" key="EmailCopyToKMail" type="Bool">
      <label context="@label">Whether to copy sent emails into KMail's Sent folder.</label>
      <whatsthis context="@info:whatsthis">Whether after sending an email to store a copy in KMail's sent-mail folder. Only applies when sendmail is selected as the email client.</whatsthis>
      <default>false</default>
    </entry>
    <entry name="Base_EmailFrom" key="EmailFrom" type="String">
      <label context="@label">'From' email address</label>
      <whatsthis context="@info:whatsthis">Your email address, used to identify you as the sender when sending email alarms. Enter "@SystemSettings" to use the default email address set in KMail, "@KMail" to allow choice of KMail identities, or enter the actual email address otherwise.</whatsthis>
      <default code="true">KAlarmCal::Identities::identitiesExist() ? QLatin1StringView("@KMail") : QLatin1StringView("@SystemSettings")</default>
    </entry>
    <entry name="Base_EmailBccAddress" key="EmailBccAddress" type="String">
      <label context="@label">'Bcc' email address</label>
      <whatsthis context="@info:whatsthis">Your email address, used for blind copying email alarms to yourself. If you want blind copies to be sent to your account on the computer which KAlarm runs on, you can simply enter your user login name. Enter "@SystemSettings" to use the default email address set in KMail, or enter the actual email address otherwise.</whatsthis>
      <default code="true">QLatin1StringView("@SystemSettings")</default>
    </entry>
    <entry name="Base_CmdXTermCommand" key="CmdXTerm" type="String">
      <label context="@label">Terminal for command alarms</label>
      <whatsthis context="@info:whatsthis">Command line to execute command alarms in a terminal window, including special codes described in the KAlarm handbook.</whatsthis>
    </entry>
    <entry name="Base_StartOfDay" key="StartOfDay" type="DateTime">
      <label context="@label">Start of day for date-only alarms</label>
      <whatsthis context="@info:whatsthis">The earliest time of day at which a date-only alarm will be triggered.</whatsthis>
      <default>QDateTime(QDate(1900,1,1),QTime(0,0))</default>
      <emit signal="base_StartOfDayChanged"/>
    </entry>
    <entry name="Base_WorkDayStart" key="WorkDayStart" type="DateTime">
      <label context="@label">Start time of working day</label>
      <whatsthis context="@info:whatsthis">The start time of the working day.</whatsthis>
      <default>QDateTime(QDate(1900,1,1),QTime(8,0))</default>
      <emit signal="base_WorkTimeChanged"/>
    </entry>
    <entry name="Base_WorkDayEnd" key="WorkDayEnd" type="DateTime">
      <label context="@label">End time of working day</label>
      <whatsthis context="@info:whatsthis">The end time of the working day.</whatsthis>
      <default>QDateTime(QDate(1900,1,1),QTime(17,0))</default>
      <emit signal="base_WorkTimeChanged"/>
    </entry>
    <entry name="Base_WorkDays" key="WorkDays" type="UInt">
      <label context="@label">Working days</label>
      <whatsthis context="@info:whatsthis">OR'ed bits indicating which days of the week are work days, 1 = Monday ... 64 = Sunday.</whatsthis>
      <default code="true">Locale::defaultWorkDays()</default>
      <emit signal="base_WorkTimeChanged"/>
    </entry>
    <entry name="DisabledColour" type="Color">
      <label context="@label">Disabled alarm color</label>
      <whatsthis context="@info:whatsthis">Choose the text color in the alarm list for disabled alarms.</whatsthis>
      <default code="true">KColorScheme(QPalette::Disabled).foreground(KColorScheme::InactiveText).color()</default>
      <emit signal="disabledColourChanged"/>
    </entry>
    <entry name="ArchivedColour" key="ExpiredColour" type="Color">
      <label context="@label">Archived alarm color</label>
      <whatsthis context="@info:whatsthis">Choose the text color in the alarm list for archived alarms.</whatsthis>
      <default code="true">KColorScheme(QPalette::Active).foreground(KColorScheme::VisitedText).color()</default>
      <emit signal="archivedColourChanged"/>
    </entry>
    <entry name="ArchivedKeepDays" key="ExpiredKeepDays" type="Int">
      <label context="@label">Days to keep expired alarms</label>
      <whatsthis context="@info:whatsthis">&lt;p>Specify how many days to keep alarms after they expire or are deleted (except deleted alarms which were never triggered):
        &lt;ul>&lt;li>0 to not keep&lt;/li>
        &lt;li>-1 to keep indefinitely&lt;/li>
        &lt;li>>0 number of days to keep.&lt;/li>&lt;/ul>&lt;/p>
      </whatsthis>
      <default>7</default>
      <!-- <min>-1</min>   Can't use 'min' with signal!! -->
      <emit signal="archivedKeepDaysChanged"/>
    </entry>
    <entry name="KOrgEventDuration" type="Int">
      <label context="@label">KOrganizer event duration</label>
      <whatsthis context="@info:whatsthis">Enter the event duration in minutes, for alarms which are copied to KOrganizer.</whatsthis>
      <default>0</default>
    </entry>
    <entry name="WakeFromSuspendAdvance" type="UInt">
      <label context="@label">Number of minutes before alarm to wake from suspend</label>
      <whatsthis context="@info:whatsthis">Enter how many minutes before the alarm trigger time to wake the system from suspend. This can be used to ensure that the system is fully restored by the time the alarm triggers.</whatsthis>
      <default>2</default>
      <emit signal="wakeFromSuspendAdvanceChanged"/>
    </entry>
    <entry name="ShowMenuBar" type="Bool">
      <default>true</default>
       <!-- label and whatsthis are already provided by KStandardAction::showMenubar -->
      <label></label>
      <whatsthis></whatsthis>
    </entry>
  </group>
  <group name="Defaults">
    <entry name="DefaultDisplayMethod" key="DisplayMethod" type="Enum">
      <label context="@label">Alarm message display method</label>
      <whatsthis context="@info:whatsthis">Default setting in the alarm edit dialog for "display method", to determine whether to display alarm messages in windows or in system notifications.</whatsthis>
      <choices name="DisplayMethod" prefix="Display_">
        <choice name="Window"/>
        <choice name="Notification"/>
      </choices>
      <default>Window</default>
    </entry>
    <entry name="DefaultLateCancel" key="LateCancel" type="Int">
      <label context="@label">Cancel if late (minutes)</label>
      <whatsthis context="@info:whatsthis">Default value in the alarm edit dialog for late cancellation time (in minutes). 0 for no late cancellation, >0 how many minutes before cancelling.</whatsthis>
      <default>0</default>
      <min>0</min>
    </entry>
    <entry name="DefaultAutoClose" key="AutoClose" type="Bool">
      <label context="@label">Auto-close window after late-cancellation time</label>
      <whatsthis context="@info:whatsthis">Default setting in the alarm edit dialog for "auto close if late".</whatsthis>
      <default>false</default>
    </entry>
    <entry name="DefaultConfirmAck" key="ConfirmAck" type="Bool">
      <label context="@label">Confirm acknowledgement</label>
      <whatsthis context="@info:whatsthis">Default setting in the alarm edit dialog for "confirm alarm acknowledgement".</whatsthis>
      <default>false</default>
    </entry>
    <entry name="DefaultCopyToKOrganizer" key="CopyKOrg" type="Bool">
      <label context="@label">Show in KOrganizer</label>
      <whatsthis context="@info:whatsthis">Default setting in the alarm edit dialog for "show in KOrganizer".</whatsthis>
      <default>false</default>
    </entry>
    <entry name="Base_DefaultSoundType" key="SoundType" type="Enum">
      <label context="@label Label for audio options">Sound</label>
      <whatsthis context="@info:whatsthis">Default sound type in the alarm edit dialog.</whatsthis>
      <choices name="SoundType" prefix="Sound_">
        <choice name="None"/>
        <choice name="Beep"/>
        <choice name="File"><label context="@option">Play File</label></choice>
        <choice name="Speak"/>
      </choices>
      <default>None</default>
    </entry>
    <entry name="DefaultSoundFile" key="SoundFile" type="Path">
      <label context="@label">Sound file</label>
      <whatsthis context="@info:whatsthis">Default sound file path in the alarm edit dialog.</whatsthis>
    </entry>
    <entry name="Base_DefaultSoundVolume" key="SoundVolume" type="Int">
      <label context="@label">Sound volume</label>
      <whatsthis context="@info:whatsthis">Default sound volume in the alarm edit dialog. -1 to deselect volume, or 0 - 100 %</whatsthis>
      <default>-1</default>
      <min>-1</min>
      <max>100</max>
    </entry>
    <entry name="DefaultSoundRepeat" key="SoundRepeat" type="Bool">
      <label context="@label">Repeat sound file</label>
      <whatsthis context="@info:whatsthis">Default setting in the alarm edit dialog for sound repetition.</whatsthis>
      <default>false</default>
    </entry>
    <entry name="DefaultCmdScript" key="CmdScript" type="Bool">
      <label context="@label">Enter script</label>
      <whatsthis context="@info:whatsthis">Default setting in the alarm edit dialog for command script entry.</whatsthis>
      <default>false</default>
    </entry>
    <entry name="DefaultCmdLogType" key="CmdLogType" type="Enum">
      <label context="@label">Command output</label>
      <whatsthis context="@info:whatsthis">Default setting in the alarm edit dialog for where to send command alarm output.</whatsthis>
      <choices name="CmdLogType" prefix="Log_">
        <choice name="Discard"><label context="@option">Discard Output</label></choice>
        <choice name="File"><label context="@option">Log To File</label></choice>
        <choice name="Terminal"><label context="@option">Execute in terminal window</label></choice>
      </choices>
      <default>Discard</default>
    </entry>
    <entry name="DefaultCmdLogFile" key="LogFile" type="Path">
      <label context="@label">Log file</label>
      <whatsthis context="@info:whatsthis">Default log file path for command alarms in the alarm edit dialog.</whatsthis>
    </entry>
    <entry name="DefaultEmailBcc" key="EmailBcc" type="Bool">
      <label context="@label">Copy email to self</label>
      <whatsthis context="@info:whatsthis">Default setting in the alarm edit dialog for blind copying emails to self.</whatsthis>
      <default>false</default>
    </entry>
    <entry name="DefaultRecurPeriod" key="RecurPeriod" type="Enum">
      <label context="@label">Recurrence period</label>
      <whatsthis context="@info:whatsthis">The default setting for the recurrence rule in the alarm edit dialog.</whatsthis>
      <choices name="RecurType" prefix="Recur_">
        <choice name="None"><label context="@option">No recurrence</label></choice>
        <choice name="Login"><label context="@option">At login</label></choice>
        <choice name="SubDaily"><label context="@option">Hourly/minutely</label></choice>
        <choice name="Daily"/>
        <choice name="Weekly"/>
        <choice name="Monthly"/>
        <choice name="Yearly"/>
      </choices>
      <default>None</default>
    </entry>
    <entry name="DefaultFeb29Type" key="Feb29Recur" type="Enum">
      <label context="@label">In non-leap years, repeat yearly February 29th alarms on:</label>
      <whatsthis context="@info:whatsthis">For yearly recurrences, choose what date, if any, alarms due on February 29th should occur in non-leap years.&lt;i>Note&lt;/i>: The next scheduled occurrence of existing alarms is not re-evaluated when you change this setting.</whatsthis>
      <choices name="Feb29Type" prefix="Feb29_">
        <choice name="Feb28"><label context="@option">February 28th</label></choice>
        <choice name="Mar1"><label context="@option">March 1st</label></choice>
        <choice name="None"><label context="@option">Do not repeat</label></choice>
      </choices>
      <default>Mar1</default>
      <emit signal="feb29TypeChanged"/>
    </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>
       <choices name="TimePeriod::Units">
        <choice name="Minutes"></choice>
        <choice name="HoursMinutes"><label context="@option">Hours/Minutes</label></choice>
      </choices>
      <default>HoursMinutes</default>
   </entry>
    <entry name="DefaultPreAction" key="PreAction" type="String">
      <label context="@label">Pre-alarm action</label>
      <whatsthis context="@info:whatsthis">Default command to execute before displaying alarms.</whatsthis>
    </entry>
    <entry name="DefaultExecPreActionOnDeferral" key="PreActionExecDefer" type="Bool">
      <label context="@label">Execute pre-alarm action for deferred alarms</label>
      <whatsthis context="@info:whatsthis">Default setting for whether to execute the pre-alarm action before deferred alarms trigger.</whatsthis>
      <default>false</default>
    </entry>
    <entry name="DefaultCancelOnPreActionError" key="PreActionErrCancel" type="Bool">
      <label context="@label">Cancel alarm on pre-alarm action error</label>
      <whatsthis context="@info:whatsthis">Default setting for whether to cancel the alarm if the pre-alarm action command fails.</whatsthis>
      <default>false</default>
    </entry>
    <entry name="DefaultDontShowPreActionError" key="PreActionErrDontShow" type="Bool">
      <label context="@label">Do not notify pre-alarm action errors</label>
      <whatsthis context="@info:whatsthis">Default setting for whether to show no error status or error message if the pre-alarm action command fails.</whatsthis>
      <default>false</default>
    </entry>
    <entry name="DefaultPostAction" key="PostAction" type="String">
      <label context="@label">Post-alarm action</label>
      <whatsthis context="@info:whatsthis">Default command to execute after alarm message windows are closed.</whatsthis>
    </entry>
  </group>

  <group name="Notification Messages">
    <entry name="Base_QuitWarn" key="QuitWarn" type="Bool">
      <label context="@label">Warn before quitting</label>
      <whatsthis context="@info:whatsthis">Whether to suppress a warning prompt before quitting KAlarm.</whatsthis>
      <default>true</default>
    </entry>
    <entry name="Base_ConfirmAlarmDeletion" key="ConfirmAlarmDeletion" type="Bool">
      <label context="@label">Confirm alarm deletions</label>
      <whatsthis context="@info:whatsthis">Check to be prompted for confirmation each time you delete an alarm.</whatsthis>
      <default>true</default>
    </entry>
    <entry name="Base_EmailQueuedNotify" key="EmailQueuedNotify" type="Bool">
      <label context="@label">Notify when remote emails are queued</label>
      <whatsthis context="@info:whatsthis">Display a notification message whenever an email alarm has queued an email for sending to a remote system. This could be useful if, for example, you have a dial-up connection, so that you can then ensure that the email is actually transmitted.</whatsthis>
      <default>false</default>
    </entry>
  </group>
</kcfg>
