• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

kalarm

  • sources
  • kde-4.12
  • kdepim
  • kalarm
kalarmconfig.cpp
Go to the documentation of this file.
1 // This file is generated by kconfig_compiler from kalarmconfig.kcfg.
2 // All changes you do to this file will be lost.
3 
4 #include "kalarmconfig.h"
5 
6 #include <kalarmcal/identities.h>
7 
8 #include <klocale.h>
9 
10 #include <kglobal.h>
11 #include <QtCore/QFile>
12 
13 class PreferencesBaseHelper
14 {
15  public:
16  PreferencesBaseHelper() : q(0) {}
17  ~PreferencesBaseHelper() { delete q; }
18  PreferencesBase *q;
19 };
20 K_GLOBAL_STATIC(PreferencesBaseHelper, s_globalPreferencesBase)
21 PreferencesBase *PreferencesBase::self()
22 {
23  if (!s_globalPreferencesBase->q) {
24  new PreferencesBase;
25  s_globalPreferencesBase->q->readConfig();
26  }
27 
28  return s_globalPreferencesBase->q;
29 }
30 
31 PreferencesBase::PreferencesBase( )
32  : KConfigSkeleton( QLatin1String( "kalarmrc" ) )
33  , mSettingsChanged(0)
34 {
35  Q_ASSERT(!s_globalPreferencesBase->q);
36  s_globalPreferencesBase->q = this;
37  setCurrentGroup( QLatin1String( "General" ) );
38 
39  mVersionItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Version" ), mVersion );
40  mVersionItem->setLabel( i18nc("@label", "KAlarm version") );
41  mVersionItem->setWhatsThis( i18nc("@info:whatsthis", "KAlarm version which wrote this file.") );
42  addItem( mVersionItem, QLatin1String( "Version" ) );
43  QList<KConfigSkeleton::ItemEnum::Choice2> valuesBackend;
44  {
45  KConfigSkeleton::ItemEnum::Choice2 choice;
46  choice.name = QLatin1String("Kresources");
47  choice.label = i18nc("@option", "KResources");
48  valuesBackend.append( choice );
49  }
50  {
51  KConfigSkeleton::ItemEnum::Choice2 choice;
52  choice.name = QLatin1String("Akonadi");
53  choice.label = i18nc("@option", "Akonadi");
54  valuesBackend.append( choice );
55  }
56  mBackendItem = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "Backend" ), mBackend, valuesBackend );
57  mBackendItem->setLabel( i18nc("@label", "Data storage backend") );
58  mBackendItem->setWhatsThis( i18nc("@info:whatsthis", "Data storage backend currently used by KAlarm.") );
59  addItem( mBackendItem, QLatin1String( "Backend" ) );
60  mBase_TimeZoneItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "TimeZone" ), mBase_TimeZone );
61  mBase_TimeZoneItem->setLabel( i18nc("@label", "Time zone") );
62  mBase_TimeZoneItem->setWhatsThis( i18nc("@info:whatsthis", "Select the time zone which <application>KAlarm</application> should use as its default for displaying and entering dates and times.") );
63  addItem( mBase_TimeZoneItem, QLatin1String( "Base_TimeZone" ) );
64  mBase_HolidayRegionItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "HolidayRegion" ), mBase_HolidayRegion );
65  mBase_HolidayRegionItem->setLabel( i18nc("@label", "Holiday region") );
66  mBase_HolidayRegionItem->setWhatsThis( i18nc("@info:whatsthis", "Select the holiday region to use.") );
67  addItem( mBase_HolidayRegionItem, QLatin1String( "Base_HolidayRegion" ) );
68  mDefaultFgColourItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "MessageForegroundColour" ), mDefaultFgColour, KColorScheme(QPalette::Active).foreground().color() );
69  mDefaultFgColourItem->setLabel( i18nc("@label", "Foreground color") );
70  mDefaultFgColourItem->setWhatsThis( i18nc("@info:whatsthis", "Default foreground color for alarm message windows.") );
71  addItem( mDefaultFgColourItem, QLatin1String( "DefaultFgColour" ) );
72  mDefaultBgColourItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "MessageBackgroundColour" ), mDefaultBgColour, KColorScheme(QPalette::Active).background(KColorScheme::NegativeBackground).color() );
73  mDefaultBgColourItem->setLabel( i18nc("@label", "Background color") );
74  mDefaultBgColourItem->setWhatsThis( i18nc("@info:whatsthis", "Default background color for alarm message windows.") );
75  addItem( mDefaultBgColourItem, QLatin1String( "DefaultBgColour" ) );
76  mMessageFontItem = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "MessageFont" ), mMessageFont, QFont(KGlobalSettings::generalFont().family(), 16, QFont::Bold) );
77  mMessageFontItem->setLabel( i18nc("@label", "Message font") );
78  mMessageFontItem->setWhatsThis( i18nc("@info:whatsthis", "Default font for displaying alarm messages.") );
79  addItem( mMessageFontItem, QLatin1String( "MessageFont" ) );
80  mShowInSystemTrayItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ShowInSystemTray" ), mShowInSystemTray, true );
81  mShowInSystemTrayItem->setLabel( i18nc("@label", "Show in system tray") );
82  mShowInSystemTrayItem->setWhatsThis( i18nc("@info:whatsthis", "<para>Check to show <application>KAlarm</application>'s icon in the system tray. Showing it in the system tray provides easy access and a status indication.</para>") );
83  addItem( mShowInSystemTrayItem, QLatin1String( "ShowInSystemTray" ) );
84  mAutoHideSystemTrayItem = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "AutoHideSystemTray" ), mAutoHideSystemTray, 1440 );
85  mAutoHideSystemTrayItem->setLabel( i18nc("@label", "Auto-hide in system tray if no alarms due within period") );
86  mAutoHideSystemTrayItem->setWhatsThis( i18nc("@info:whatsthis", "<para>Enter -1 to auto-hide <application>KAlarm</application>'s icon in the system tray when there are no active alarms.</para><para>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.</para><para>Enter 0 to always show the system tray icon.</para>") );
87  addItem( mAutoHideSystemTrayItem, QLatin1String( "AutoHideSystemTray" ) );
88  mAutoStartItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "AutoStart" ), mAutoStart, false );
89  mAutoStartItem->setLabel( i18nc("@label", "Start at login") );
90  mAutoStartItem->setWhatsThis( i18nc("@info:whatsthis", "<para>Automatically start <application>KAlarm</application> whenever you start KDE.</para><para>This option should always be checked unless you intend to discontinue use of <application>KAlarm</application>.</para>") );
91  addItem( mAutoStartItem, QLatin1String( "AutoStart" ) );
92  mNoAutoStartItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "NoAutoStart" ), mNoAutoStart, false );
93  mNoAutoStartItem->setLabel( i18nc("@label", "Suppress autostart at login") );
94  addItem( mNoAutoStartItem, QLatin1String( "NoAutoStart" ) );
95  mDefaultDeferTimeItem = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "DeferTime" ), mDefaultDeferTime, 5 );
96  mDefaultDeferTimeItem->setLabel( i18nc("@label", "Default defer time interval") );
97  mDefaultDeferTimeItem->setWhatsThis( i18nc("@info:whatsthis", "Enter the default time interval (in minutes) to defer alarms, used by the Defer Alarm dialog.") );
98  addItem( mDefaultDeferTimeItem, QLatin1String( "DefaultDeferTime" ) );
99  mAskResourceItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "AskResource" ), mAskResource, true );
100  mAskResourceItem->setLabel( i18nc("@label", "Prompt for which calendar to store in") );
101  mAskResourceItem->setWhatsThis( i18nc("@info:whatsthis", "<para>When saving a new alarm or alarm template, prompt for which calendar to store it in, if there is more than one active calendar.</para><para>Note that archived alarms are always stored in the default archived alarm calendar.</para>") );
102  addItem( mAskResourceItem, QLatin1String( "AskResource" ) );
103  mModalMessagesItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ModalMessages" ), mModalMessages, true );
104  mModalMessagesItem->setLabel( i18nc("@label", "Message windows have a title bar and take keyboard focus") );
105  mModalMessagesItem->setWhatsThis( i18nc("@info:whatsthis", "<para>Specify the characteristics of alarm message windows:<list><item>If checked, the window is a normal window with a title bar, which grabs keyboard input when it is displayed.</item><item>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.</item></list></para>") );
106  addItem( mModalMessagesItem, QLatin1String( "ModalMessages" ) );
107  mMessageButtonDelayItem = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "MessageButtonDelay" ), mMessageButtonDelay, 0 );
108  mMessageButtonDelayItem->setMinValue(-1);
109  mMessageButtonDelayItem->setMaxValue(10);
110  mMessageButtonDelayItem->setLabel( i18nc("@label", "Delay before message window buttons are enabled") );
111  mMessageButtonDelayItem->setWhatsThis( i18nc("@info:whatsthis", "<para>Specify the positioning of alarm message windows, and the delay in seconds after a window shows until its buttons are enabled.\n"
112 " <list><item>0 to position message windows as far from the cursor as possible with no enable delay.</item>\n"
113 " <item>> 0 to position in center of screen and specify delay before enabling buttons.</item>\n"
114 " <item>-1 for no special positioning and no enable delay.</item></list></para>\n"
115 " ") );
116  addItem( mMessageButtonDelayItem, QLatin1String( "MessageButtonDelay" ) );
117  mTooltipAlarmCountItem = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "TooltipAlarmCount" ), mTooltipAlarmCount, 5 );
118  mTooltipAlarmCountItem->setMinValue(-1);
119  mTooltipAlarmCountItem->setLabel( i18nc("@label", "Number of alarms to show in system tray tooltip") );
120  mTooltipAlarmCountItem->setWhatsThis( i18nc("@info:whatsthis", "<para>How many alarms due in the next 24 hours to show in the system tray tooltip:\n"
121 " <list><item>0 to display none</item>\n"
122 " <item>-1 to display all</item>\n"
123 " <item>>0 to set a limit.</item></list></para>\n"
124 " ") );
125  addItem( mTooltipAlarmCountItem, QLatin1String( "TooltipAlarmCount" ) );
126  mShowTooltipAlarmTimeItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ShowTooltipAlarmTime" ), mShowTooltipAlarmTime, true );
127  mShowTooltipAlarmTimeItem->setLabel( i18nc("@label", "Show alarm times in system tray tooltip") );
128  mShowTooltipAlarmTimeItem->setWhatsThis( i18nc("@info:whatsthis", "Specify whether to show in the system tray tooltip, the time at which each alarm is due.") );
129  addItem( mShowTooltipAlarmTimeItem, QLatin1String( "ShowTooltipAlarmTime" ) );
130  mShowTooltipTimeToAlarmItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ShowTooltipTimeToAlarm" ), mShowTooltipTimeToAlarm, true );
131  mShowTooltipTimeToAlarmItem->setLabel( i18nc("@label", "Show time to alarms in system tray tooltip") );
132  mShowTooltipTimeToAlarmItem->setWhatsThis( i18nc("@info:whatsthis", "Specify whether to show in the system tray tooltip, how long until each alarm is due.") );
133  addItem( mShowTooltipTimeToAlarmItem, QLatin1String( "ShowTooltipTimeToAlarm" ) );
134  mTooltipTimeToPrefixItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "TooltipTimeToPrefix" ), mTooltipTimeToPrefix, QLatin1String("+") );
135  mTooltipTimeToPrefixItem->setLabel( i18nc("@label", "Time-to-alarm prefix in system tray tooltip") );
136  mTooltipTimeToPrefixItem->setWhatsThis( i18nc("@info:whatsthis", "Enter the text to be displayed in front of the time until the alarm, in the system tray tooltip.") );
137  addItem( mTooltipTimeToPrefixItem, QLatin1String( "TooltipTimeToPrefix" ) );
138  QList<KConfigSkeleton::ItemEnum::Choice2> valuesEmailClient;
139  {
140  KConfigSkeleton::ItemEnum::Choice2 choice;
141  choice.name = QLatin1String("sendmail");
142  choice.label = i18nc("@option", "Sendmail");
143  valuesEmailClient.append( choice );
144  }
145  {
146  KConfigSkeleton::ItemEnum::Choice2 choice;
147  choice.name = QLatin1String("kmail");
148  choice.label = i18nc("@option", "KMail");
149  valuesEmailClient.append( choice );
150  }
151  mEmailClientItem = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "EmailClient" ), mEmailClient, valuesEmailClient, kmail );
152  mEmailClientItem->setLabel( i18nc("@label", "Email client") );
153  mEmailClientItem->setWhatsThis( i18nc("@info:whatsthis", "<para>How to send email when an email alarm is triggered.<list><item>KMail: The email is sent automatically via <application>KMail</application>. <application>KMail</application> is started first if necessary.</item><item>Sendmail: The email is sent automatically. This option will only work if your system is configured to use <application>sendmail</application> or a sendmail compatible mail transport agent.</item></list></para>") );
154  addItem( mEmailClientItem, QLatin1String( "EmailClient" ) );
155  mBase_EmailCopyToKMailItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "EmailCopyToKMail" ), mBase_EmailCopyToKMail, false );
156  mBase_EmailCopyToKMailItem->setLabel( i18nc("@label", "Whether to copy sent emails into KMail's Sent folder.") );
157  mBase_EmailCopyToKMailItem->setWhatsThis( i18nc("@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.") );
158  addItem( mBase_EmailCopyToKMailItem, QLatin1String( "Base_EmailCopyToKMail" ) );
159  mBase_EmailFromItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "EmailFrom" ), mBase_EmailFrom, KAlarmCal::Identities::identitiesExist() ? QLatin1String("@KMail") : QLatin1String("@SystemSettings") );
160  mBase_EmailFromItem->setLabel( i18nc("@label", "'From' email address") );
161  mBase_EmailFromItem->setWhatsThis( i18nc("@info:whatsthis", "Your email address, used to identify you as the sender when sending email alarms. Enter \"@SystemSettings\" to use the email address set in System Settings, \"@KMail\" to allow choice of KMail identities, or enter the actual email address otherwise.") );
162  addItem( mBase_EmailFromItem, QLatin1String( "Base_EmailFrom" ) );
163  mBase_EmailBccAddressItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "EmailBccAddress" ), mBase_EmailBccAddress, QLatin1String("@SystemSettings") );
164  mBase_EmailBccAddressItem->setLabel( i18nc("@label", "'Bcc' email address") );
165  mBase_EmailBccAddressItem->setWhatsThis( i18nc("@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 email address set in System Settings, or enter the actual email address otherwise.") );
166  addItem( mBase_EmailBccAddressItem, QLatin1String( "Base_EmailBccAddress" ) );
167  mBase_CmdXTermCommandItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "CmdXTerm" ), mBase_CmdXTermCommand );
168  mBase_CmdXTermCommandItem->setLabel( i18nc("@label", "Terminal for command alarms") );
169  mBase_CmdXTermCommandItem->setWhatsThis( i18nc("@info:whatsthis", "Command line to execute command alarms in a terminal window, including special codes described in the KAlarm handbook.") );
170  addItem( mBase_CmdXTermCommandItem, QLatin1String( "Base_CmdXTermCommand" ) );
171  mBase_StartOfDayItem = new KConfigSkeleton::ItemDateTime( currentGroup(), QLatin1String( "StartOfDay" ), mBase_StartOfDay, QDateTime(QDate(1900,1,1),QTime(0,0)) );
172  mBase_StartOfDayItem->setLabel( i18nc("@label", "Start of day for date-only alarms") );
173  mBase_StartOfDayItem->setWhatsThis( i18nc("@info:whatsthis", "The earliest time of day at which a date-only alarm will be triggered.") );
174  addItem( mBase_StartOfDayItem, QLatin1String( "Base_StartOfDay" ) );
175  mBase_WorkDayStartItem = new KConfigSkeleton::ItemDateTime( currentGroup(), QLatin1String( "WorkDayStart" ), mBase_WorkDayStart, QDateTime(QDate(1900,1,1),QTime(8,0)) );
176  mBase_WorkDayStartItem->setLabel( i18nc("@label", "Start time of working day") );
177  mBase_WorkDayStartItem->setWhatsThis( i18nc("@info:whatsthis", "The start time of the working day.") );
178  addItem( mBase_WorkDayStartItem, QLatin1String( "Base_WorkDayStart" ) );
179  mBase_WorkDayEndItem = new KConfigSkeleton::ItemDateTime( currentGroup(), QLatin1String( "WorkDayEnd" ), mBase_WorkDayEnd, QDateTime(QDate(1900,1,1),QTime(17,0)) );
180  mBase_WorkDayEndItem->setLabel( i18nc("@label", "End time of working day") );
181  mBase_WorkDayEndItem->setWhatsThis( i18nc("@info:whatsthis", "The end time of the working day.") );
182  addItem( mBase_WorkDayEndItem, QLatin1String( "Base_WorkDayEnd" ) );
183  mBase_WorkDaysItem = new KConfigSkeleton::ItemUInt( currentGroup(), QLatin1String( "WorkDays" ), mBase_WorkDays, KAlarm::defaultWorkDays() );
184  mBase_WorkDaysItem->setLabel( i18nc("@label", "Working days") );
185  mBase_WorkDaysItem->setWhatsThis( i18nc("@info:whatsthis", "OR'ed bits indicating which days of the week are work days, 1 = Monday ... 64 = Sunday.") );
186  addItem( mBase_WorkDaysItem, QLatin1String( "Base_WorkDays" ) );
187  mDisabledColourItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "DisabledColour" ), mDisabledColour, KColorScheme(QPalette::Disabled).foreground(KColorScheme::InactiveText).color() );
188  mDisabledColourItem->setLabel( i18nc("@label", "Disabled alarm color") );
189  mDisabledColourItem->setWhatsThis( i18nc("@info:whatsthis", "Choose the text color in the alarm list for disabled alarms.") );
190  addItem( mDisabledColourItem, QLatin1String( "DisabledColour" ) );
191  mArchivedColourItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "ExpiredColour" ), mArchivedColour, KColorScheme(QPalette::Active).foreground(KColorScheme::VisitedText).color() );
192  mArchivedColourItem->setLabel( i18nc("@label", "Archived alarm color") );
193  mArchivedColourItem->setWhatsThis( i18nc("@info:whatsthis", "Choose the text color in the alarm list for archived alarms.") );
194  addItem( mArchivedColourItem, QLatin1String( "ArchivedColour" ) );
195  mArchivedKeepDaysItem = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "ExpiredKeepDays" ), mArchivedKeepDays, 7 );
196  mArchivedKeepDaysItem->setMinValue(-1);
197  mArchivedKeepDaysItem->setLabel( i18nc("@label", "Days to keep expired alarms") );
198  mArchivedKeepDaysItem->setWhatsThis( i18nc("@info:whatsthis", "<para>Specify how many days to keep alarms after they expire or are deleted (except deleted alarms which were never triggered):\n"
199 " <list><item>0 to not keep</item>\n"
200 " <item>-1 to keep indefinitely</item>\n"
201 " <item>>0 number of days to keep.</item></list></para>\n"
202 " ") );
203  addItem( mArchivedKeepDaysItem, QLatin1String( "ArchivedKeepDays" ) );
204  mKOrgEventDurationItem = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "KOrgEventDuration" ), mKOrgEventDuration, 0 );
205  mKOrgEventDurationItem->setLabel( i18nc("@label", "KOrganizer event duration") );
206  mKOrgEventDurationItem->setWhatsThis( i18nc("@info:whatsthis", "Enter the event duration in minutes, for alarms which are copied to KOrganizer.") );
207  addItem( mKOrgEventDurationItem, QLatin1String( "KOrgEventDuration" ) );
208  mWakeFromSuspendAdvanceItem = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "WakeFromSuspendAdvance" ), mWakeFromSuspendAdvance, 2 );
209  mWakeFromSuspendAdvanceItem->setLabel( i18nc("@label", "Number of minutes before alarm to wake from suspend") );
210  mWakeFromSuspendAdvanceItem->setWhatsThis( i18nc("@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.") );
211  addItem( mWakeFromSuspendAdvanceItem, QLatin1String( "WakeFromSuspendAdvance" ) );
212 
213  setCurrentGroup( QLatin1String( "Defaults" ) );
214 
215  mDefaultLateCancelItem = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "LateCancel" ), mDefaultLateCancel, 0 );
216  mDefaultLateCancelItem->setMinValue(0);
217  mDefaultLateCancelItem->setLabel( i18nc("@label", "Cancel if late (minutes)") );
218  mDefaultLateCancelItem->setWhatsThis( i18nc("@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.") );
219  addItem( mDefaultLateCancelItem, QLatin1String( "DefaultLateCancel" ) );
220  mDefaultAutoCloseItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "AutoClose" ), mDefaultAutoClose, false );
221  mDefaultAutoCloseItem->setLabel( i18nc("@label", "Auto-close window after late-cancellation time") );
222  mDefaultAutoCloseItem->setWhatsThis( i18nc("@info:whatsthis", "Default setting in the alarm edit dialog for \"auto close if late\".") );
223  addItem( mDefaultAutoCloseItem, QLatin1String( "DefaultAutoClose" ) );
224  mDefaultConfirmAckItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ConfirmAck" ), mDefaultConfirmAck, false );
225  mDefaultConfirmAckItem->setLabel( i18nc("@label", "Confirm acknowledgement") );
226  mDefaultConfirmAckItem->setWhatsThis( i18nc("@info:whatsthis", "Default setting in the alarm edit dialog for \"confirm alarm acknowledgement\".") );
227  addItem( mDefaultConfirmAckItem, QLatin1String( "DefaultConfirmAck" ) );
228  mDefaultCopyToKOrganizerItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "CopyKOrg" ), mDefaultCopyToKOrganizer, false );
229  mDefaultCopyToKOrganizerItem->setLabel( i18nc("@label", "Show in KOrganizer") );
230  mDefaultCopyToKOrganizerItem->setWhatsThis( i18nc("@info:whatsthis", "Default setting in the alarm edit dialog for \"show in KOrganizer\".") );
231  addItem( mDefaultCopyToKOrganizerItem, QLatin1String( "DefaultCopyToKOrganizer" ) );
232  QList<KConfigSkeleton::ItemEnum::Choice2> valuesDefaultSoundType;
233  {
234  KConfigSkeleton::ItemEnum::Choice2 choice;
235  choice.name = QLatin1String("None");
236  valuesDefaultSoundType.append( choice );
237  }
238  {
239  KConfigSkeleton::ItemEnum::Choice2 choice;
240  choice.name = QLatin1String("Beep");
241  valuesDefaultSoundType.append( choice );
242  }
243  {
244  KConfigSkeleton::ItemEnum::Choice2 choice;
245  choice.name = QLatin1String("File");
246  choice.label = i18nc("@option", "Play File");
247  valuesDefaultSoundType.append( choice );
248  }
249  {
250  KConfigSkeleton::ItemEnum::Choice2 choice;
251  choice.name = QLatin1String("Speak");
252  valuesDefaultSoundType.append( choice );
253  }
254  mDefaultSoundTypeItem = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "SoundType" ), mDefaultSoundType, valuesDefaultSoundType, Sound_None );
255  mDefaultSoundTypeItem->setLabel( i18nc("@label Label for audio options", "Sound") );
256  mDefaultSoundTypeItem->setWhatsThis( i18nc("@info:whatsthis", "Default sound type in the alarm edit dialog.") );
257  addItem( mDefaultSoundTypeItem, QLatin1String( "DefaultSoundType" ) );
258  mDefaultSoundFileItem = new KConfigSkeleton::ItemPath( currentGroup(), QLatin1String( "SoundFile" ), mDefaultSoundFile );
259  mDefaultSoundFileItem->setLabel( i18nc("@label", "Sound file") );
260  mDefaultSoundFileItem->setWhatsThis( i18nc("@info:whatsthis", "Default sound file path in the alarm edit dialog.") );
261  addItem( mDefaultSoundFileItem, QLatin1String( "DefaultSoundFile" ) );
262  mBase_DefaultSoundVolumeItem = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "SoundVolume" ), mBase_DefaultSoundVolume, -1 );
263  mBase_DefaultSoundVolumeItem->setMinValue(-1);
264  mBase_DefaultSoundVolumeItem->setMaxValue(100);
265  mBase_DefaultSoundVolumeItem->setLabel( i18nc("@label", "Sound volume") );
266  mBase_DefaultSoundVolumeItem->setWhatsThis( i18nc("@info:whatsthis", "Default sound volume in the alarm edit dialog. -1 to deselect volume, or 0 - 100 %") );
267  addItem( mBase_DefaultSoundVolumeItem, QLatin1String( "Base_DefaultSoundVolume" ) );
268  mDefaultSoundRepeatItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "SoundRepeat" ), mDefaultSoundRepeat, false );
269  mDefaultSoundRepeatItem->setLabel( i18nc("@label", "Repeat sound file") );
270  mDefaultSoundRepeatItem->setWhatsThis( i18nc("@info:whatsthis", "Default setting in the alarm edit dialog for sound repetition.") );
271  addItem( mDefaultSoundRepeatItem, QLatin1String( "DefaultSoundRepeat" ) );
272  mDefaultCmdScriptItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "CmdScript" ), mDefaultCmdScript, false );
273  mDefaultCmdScriptItem->setLabel( i18nc("@label", "Enter script") );
274  mDefaultCmdScriptItem->setWhatsThis( i18nc("@info:whatsthis", "Default setting in the alarm edit dialog for command script entry.") );
275  addItem( mDefaultCmdScriptItem, QLatin1String( "DefaultCmdScript" ) );
276  QList<KConfigSkeleton::ItemEnum::Choice2> valuesDefaultCmdLogType;
277  {
278  KConfigSkeleton::ItemEnum::Choice2 choice;
279  choice.name = QLatin1String("Discard");
280  choice.label = i18nc("@option", "Discard Output");
281  valuesDefaultCmdLogType.append( choice );
282  }
283  {
284  KConfigSkeleton::ItemEnum::Choice2 choice;
285  choice.name = QLatin1String("File");
286  choice.label = i18nc("@option", "Log To File");
287  valuesDefaultCmdLogType.append( choice );
288  }
289  {
290  KConfigSkeleton::ItemEnum::Choice2 choice;
291  choice.name = QLatin1String("Terminal");
292  choice.label = i18nc("@option", "Execute in terminal window");
293  valuesDefaultCmdLogType.append( choice );
294  }
295  mDefaultCmdLogTypeItem = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "CmdLogType" ), mDefaultCmdLogType, valuesDefaultCmdLogType, Log_Discard );
296  mDefaultCmdLogTypeItem->setLabel( i18nc("@label", "Command output") );
297  mDefaultCmdLogTypeItem->setWhatsThis( i18nc("@info:whatsthis", "Default setting in the alarm edit dialog for where to send command alarm output.") );
298  addItem( mDefaultCmdLogTypeItem, QLatin1String( "DefaultCmdLogType" ) );
299  mDefaultCmdLogFileItem = new KConfigSkeleton::ItemPath( currentGroup(), QLatin1String( "LogFile" ), mDefaultCmdLogFile );
300  mDefaultCmdLogFileItem->setLabel( i18nc("@label", "Log file") );
301  mDefaultCmdLogFileItem->setWhatsThis( i18nc("@info:whatsthis", "Default log file path for command alarms in the alarm edit dialog.") );
302  addItem( mDefaultCmdLogFileItem, QLatin1String( "DefaultCmdLogFile" ) );
303  mDefaultEmailBccItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "EmailBcc" ), mDefaultEmailBcc, false );
304  mDefaultEmailBccItem->setLabel( i18nc("@label", "Copy email to self") );
305  mDefaultEmailBccItem->setWhatsThis( i18nc("@info:whatsthis", "Default setting in the alarm edit dialog for blind copying emails to self.") );
306  addItem( mDefaultEmailBccItem, QLatin1String( "DefaultEmailBcc" ) );
307  QList<KConfigSkeleton::ItemEnum::Choice2> valuesDefaultRecurPeriod;
308  {
309  KConfigSkeleton::ItemEnum::Choice2 choice;
310  choice.name = QLatin1String("None");
311  choice.label = i18nc("@option", "No recurrence");
312  valuesDefaultRecurPeriod.append( choice );
313  }
314  {
315  KConfigSkeleton::ItemEnum::Choice2 choice;
316  choice.name = QLatin1String("Login");
317  choice.label = i18nc("@option", "At login");
318  valuesDefaultRecurPeriod.append( choice );
319  }
320  {
321  KConfigSkeleton::ItemEnum::Choice2 choice;
322  choice.name = QLatin1String("SubDaily");
323  choice.label = i18nc("@option", "Hourly/minutely");
324  valuesDefaultRecurPeriod.append( choice );
325  }
326  {
327  KConfigSkeleton::ItemEnum::Choice2 choice;
328  choice.name = QLatin1String("Daily");
329  valuesDefaultRecurPeriod.append( choice );
330  }
331  {
332  KConfigSkeleton::ItemEnum::Choice2 choice;
333  choice.name = QLatin1String("Weekly");
334  valuesDefaultRecurPeriod.append( choice );
335  }
336  {
337  KConfigSkeleton::ItemEnum::Choice2 choice;
338  choice.name = QLatin1String("Monthly");
339  valuesDefaultRecurPeriod.append( choice );
340  }
341  {
342  KConfigSkeleton::ItemEnum::Choice2 choice;
343  choice.name = QLatin1String("Yearly");
344  valuesDefaultRecurPeriod.append( choice );
345  }
346  mDefaultRecurPeriodItem = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "RecurPeriod" ), mDefaultRecurPeriod, valuesDefaultRecurPeriod, Recur_None );
347  mDefaultRecurPeriodItem->setLabel( i18nc("@label", "Recurrence period") );
348  mDefaultRecurPeriodItem->setWhatsThis( i18nc("@info:whatsthis", "The default setting for the recurrence rule in the alarm edit dialog.") );
349  addItem( mDefaultRecurPeriodItem, QLatin1String( "DefaultRecurPeriod" ) );
350  QList<KConfigSkeleton::ItemEnum::Choice2> valuesDefaultFeb29Type;
351  {
352  KConfigSkeleton::ItemEnum::Choice2 choice;
353  choice.name = QLatin1String("Feb28");
354  choice.label = i18nc("@option", "February 28th");
355  valuesDefaultFeb29Type.append( choice );
356  }
357  {
358  KConfigSkeleton::ItemEnum::Choice2 choice;
359  choice.name = QLatin1String("Mar1");
360  choice.label = i18nc("@option", "March 1st");
361  valuesDefaultFeb29Type.append( choice );
362  }
363  {
364  KConfigSkeleton::ItemEnum::Choice2 choice;
365  choice.name = QLatin1String("None");
366  choice.label = i18nc("@option", "Do not repeat");
367  valuesDefaultFeb29Type.append( choice );
368  }
369  mDefaultFeb29TypeItem = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "Feb29Recur" ), mDefaultFeb29Type, valuesDefaultFeb29Type, Feb29_Mar1 );
370  mDefaultFeb29TypeItem->setLabel( i18nc("@label", "In non-leap years, repeat yearly February 29th alarms on:") );
371  mDefaultFeb29TypeItem->setWhatsThis( i18nc("@info:whatsthis", "For yearly recurrences, choose what date, if any, alarms due on February 29th should occur in non-leap years.<note>The next scheduled occurrence of existing alarms is not re-evaluated when you change this setting.</note>") );
372  addItem( mDefaultFeb29TypeItem, QLatin1String( "DefaultFeb29Type" ) );
373  QList<KConfigSkeleton::ItemEnum::Choice2> valuesDefaultReminderUnits;
374  {
375  KConfigSkeleton::ItemEnum::Choice2 choice;
376  choice.name = QLatin1String("Minutes");
377  valuesDefaultReminderUnits.append( choice );
378  }
379  {
380  KConfigSkeleton::ItemEnum::Choice2 choice;
381  choice.name = QLatin1String("HoursMinutes");
382  choice.label = i18nc("@option", "Hours/Minutes");
383  valuesDefaultReminderUnits.append( choice );
384  }
385  mDefaultReminderUnitsItem = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "RemindUnits" ), mDefaultReminderUnits, valuesDefaultReminderUnits, TimePeriod::HoursMinutes );
386  mDefaultReminderUnitsItem->setLabel( i18nc("@label", "Reminder units") );
387  mDefaultReminderUnitsItem->setWhatsThis( i18nc("@info:whatsthis", "Default reminder time units in the alarm edit dialog.") );
388  addItem( mDefaultReminderUnitsItem, QLatin1String( "DefaultReminderUnits" ) );
389  mDefaultPreActionItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "PreAction" ), mDefaultPreAction );
390  mDefaultPreActionItem->setLabel( i18nc("@label", "Pre-alarm action") );
391  mDefaultPreActionItem->setWhatsThis( i18nc("@info:whatsthis", "Default command to execute before displaying alarms.") );
392  addItem( mDefaultPreActionItem, QLatin1String( "DefaultPreAction" ) );
393  mDefaultExecPreActionOnDeferralItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "PreActionExecDefer" ), mDefaultExecPreActionOnDeferral, false );
394  mDefaultExecPreActionOnDeferralItem->setLabel( i18nc("@label", "Execute pre-alarm action for deferred alarms") );
395  mDefaultExecPreActionOnDeferralItem->setWhatsThis( i18nc("@info:whatsthis", "Default setting for whether to execute the pre-alarm action before deferred alarms trigger.") );
396  addItem( mDefaultExecPreActionOnDeferralItem, QLatin1String( "DefaultExecPreActionOnDeferral" ) );
397  mDefaultCancelOnPreActionErrorItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "PreActionErrCancel" ), mDefaultCancelOnPreActionError, false );
398  mDefaultCancelOnPreActionErrorItem->setLabel( i18nc("@label", "Cancel alarm on pre-alarm action error") );
399  mDefaultCancelOnPreActionErrorItem->setWhatsThis( i18nc("@info:whatsthis", "Default setting for whether to cancel the alarm if the pre-alarm action command fails.") );
400  addItem( mDefaultCancelOnPreActionErrorItem, QLatin1String( "DefaultCancelOnPreActionError" ) );
401  mDefaultDontShowPreActionErrorItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "PreActionErrDontShow" ), mDefaultDontShowPreActionError, false );
402  mDefaultDontShowPreActionErrorItem->setLabel( i18nc("@label", "Do not notify pre-alarm action errors") );
403  mDefaultDontShowPreActionErrorItem->setWhatsThis( i18nc("@info:whatsthis", "Default setting for whether to show no error status or error message if the pre-alarm action command fails.") );
404  addItem( mDefaultDontShowPreActionErrorItem, QLatin1String( "DefaultDontShowPreActionError" ) );
405  mDefaultPostActionItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "PostAction" ), mDefaultPostAction );
406  mDefaultPostActionItem->setLabel( i18nc("@label", "Post-alarm action") );
407  mDefaultPostActionItem->setWhatsThis( i18nc("@info:whatsthis", "Default command to execute after alarm message windows are closed.") );
408  addItem( mDefaultPostActionItem, QLatin1String( "DefaultPostAction" ) );
409 
410  setCurrentGroup( QLatin1String( "Notification Messages" ) );
411 
412  mBase_QuitWarnItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "QuitWarn" ), mBase_QuitWarn, true );
413  mBase_QuitWarnItem->setLabel( i18nc("@label", "Warn before quitting") );
414  mBase_QuitWarnItem->setWhatsThis( i18nc("@info:whatsthis", "Whether to suppress a warning prompt before quitting KAlarm.") );
415  addItem( mBase_QuitWarnItem, QLatin1String( "Base_QuitWarn" ) );
416  mBase_ConfirmAlarmDeletionItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ConfirmAlarmDeletion" ), mBase_ConfirmAlarmDeletion, true );
417  mBase_ConfirmAlarmDeletionItem->setLabel( i18nc("@label", "Confirm alarm deletions") );
418  mBase_ConfirmAlarmDeletionItem->setWhatsThis( i18nc("@info:whatsthis", "Check to be prompted for confirmation each time you delete an alarm.") );
419  addItem( mBase_ConfirmAlarmDeletionItem, QLatin1String( "Base_ConfirmAlarmDeletion" ) );
420  mBase_EmailQueuedNotifyItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "EmailQueuedNotify" ), mBase_EmailQueuedNotify, false );
421  mBase_EmailQueuedNotifyItem->setLabel( i18nc("@label", "Notify when remote emails are queued") );
422  mBase_EmailQueuedNotifyItem->setWhatsThis( i18nc("@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.") );
423  addItem( mBase_EmailQueuedNotifyItem, QLatin1String( "Base_EmailQueuedNotify" ) );
424 }
425 
426 PreferencesBase::~PreferencesBase()
427 {
428  if (!s_globalPreferencesBase.isDestroyed()) {
429  s_globalPreferencesBase->q = 0;
430  }
431 }
432 
433 void PreferencesBase::usrWriteConfig()
434 {
435  KConfigSkeleton::usrWriteConfig();
436 
437  if ( mSettingsChanged & signalShowInSystemTrayChanged )
438  emit showInSystemTrayChanged(mShowInSystemTray);
439 
440  if ( mSettingsChanged & signalAutoHideSystemTrayChanged )
441  emit autoHideSystemTrayChanged(mAutoHideSystemTray);
442 
443  if ( mSettingsChanged & signalAskResourceChanged )
444  emit askResourceChanged(mAskResource);
445 
446  if ( mSettingsChanged & signalBase_TimeZoneChanged )
447  emit base_TimeZoneChanged(mBase_TimeZone);
448 
449  if ( mSettingsChanged & signalBase_HolidayRegionChanged )
450  emit base_HolidayRegionChanged(mBase_HolidayRegion);
451 
452  if ( mSettingsChanged & signalBase_StartOfDayChanged )
453  emit base_StartOfDayChanged(mBase_StartOfDay);
454 
455  if ( mSettingsChanged & signalBase_WorkTimeChanged )
456  emit base_WorkTimeChanged(mBase_WorkDayStart, mBase_WorkDayEnd, mBase_WorkDays);
457 
458  if ( mSettingsChanged & signalMessageFontChanged )
459  emit messageFontChanged(mMessageFont);
460 
461  if ( mSettingsChanged & signalDisabledColourChanged )
462  emit disabledColourChanged(mDisabledColour);
463 
464  if ( mSettingsChanged & signalArchivedColourChanged )
465  emit archivedColourChanged(mArchivedColour);
466 
467  if ( mSettingsChanged & signalArchivedKeepDaysChanged )
468  emit archivedKeepDaysChanged(mArchivedKeepDays);
469 
470  if ( mSettingsChanged & signalFeb29TypeChanged )
471  emit feb29TypeChanged(static_cast<Feb29Type>(mDefaultFeb29Type));
472 
473  if ( mSettingsChanged & signalTooltipPreferencesChanged )
474  emit tooltipPreferencesChanged();
475 
476  mSettingsChanged = 0;
477 }
478 
479 #include "kalarmconfig.moc"
480 
PreferencesBase::mShowInSystemTray
bool mShowInSystemTray
Definition: kalarmconfig.h:1676
PreferencesBase::mArchivedColour
QColor mArchivedColour
Definition: kalarmconfig.h:1698
PreferencesBase::mBase_EmailFrom
QString mBase_EmailFrom
Definition: kalarmconfig.h:1690
PreferencesBase::mBase_EmailQueuedNotify
bool mBase_EmailQueuedNotify
Definition: kalarmconfig.h:1728
PreferencesBase::mBase_TimeZone
QString mBase_TimeZone
Definition: kalarmconfig.h:1671
PreferencesBase::signalAskResourceChanged
Definition: kalarmconfig.h:30
PreferencesBase::mMessageButtonDelay
int mMessageButtonDelay
Definition: kalarmconfig.h:1683
PreferencesBase::signalTooltipPreferencesChanged
Definition: kalarmconfig.h:40
PreferencesBase::signalArchivedColourChanged
Definition: kalarmconfig.h:37
PreferencesBase::mShowTooltipAlarmTime
bool mShowTooltipAlarmTime
Definition: kalarmconfig.h:1685
PreferencesBase::mNoAutoStart
bool mNoAutoStart
Definition: kalarmconfig.h:1679
PreferencesBase::messageFontChanged
void messageFontChanged(const QFont &MessageFont)
PreferencesBase::mKOrgEventDuration
int mKOrgEventDuration
Definition: kalarmconfig.h:1700
PreferencesBase::Recur_None
Definition: kalarmconfig.h:24
PreferencesBase::Log_Discard
Definition: kalarmconfig.h:23
PreferencesBase::mBase_WorkDayEnd
QDateTime mBase_WorkDayEnd
Definition: kalarmconfig.h:1695
PreferencesBase::askResourceChanged
void askResourceChanged(bool AskResource)
PreferencesBase::base_HolidayRegionChanged
void base_HolidayRegionChanged(const QString &Base_HolidayRegion)
PreferencesBase::archivedColourChanged
void archivedColourChanged(const QColor &ArchivedColour)
PreferencesBase::signalBase_HolidayRegionChanged
Definition: kalarmconfig.h:32
PreferencesBase::mDefaultSoundRepeat
bool mDefaultSoundRepeat
Definition: kalarmconfig.h:1711
PreferencesBase::showInSystemTrayChanged
void showInSystemTrayChanged(bool ShowInSystemTray)
PreferencesBase::base_TimeZoneChanged
void base_TimeZoneChanged(const QString &Base_TimeZone)
PreferencesBase::mDefaultEmailBcc
bool mDefaultEmailBcc
Definition: kalarmconfig.h:1715
TimePeriod::HoursMinutes
PreferencesBase::mEmailClient
int mEmailClient
Definition: kalarmconfig.h:1688
PreferencesBase::tooltipPreferencesChanged
void tooltipPreferencesChanged()
PreferencesBase::mBase_HolidayRegion
QString mBase_HolidayRegion
Definition: kalarmconfig.h:1672
KAlarm::defaultWorkDays
uint defaultWorkDays()
PreferencesBase::signalArchivedKeepDaysChanged
Definition: kalarmconfig.h:38
PreferencesBase::mDefaultCmdLogFile
QString mDefaultCmdLogFile
Definition: kalarmconfig.h:1714
PreferencesBase::signalDisabledColourChanged
Definition: kalarmconfig.h:36
KConfigSkeleton
PreferencesBase::signalBase_WorkTimeChanged
Definition: kalarmconfig.h:34
PreferencesBase::mBase_WorkDays
uint mBase_WorkDays
Definition: kalarmconfig.h:1696
PreferencesBase::base_WorkTimeChanged
void base_WorkTimeChanged(const QDateTime &Base_WorkDayStart, const QDateTime &Base_WorkDayEnd, int Base_WorkDays)
PreferencesBase::mTooltipAlarmCount
int mTooltipAlarmCount
Definition: kalarmconfig.h:1684
PreferencesBase::mDefaultCmdScript
bool mDefaultCmdScript
Definition: kalarmconfig.h:1712
PreferencesBase::signalFeb29TypeChanged
Definition: kalarmconfig.h:39
PreferencesBase::mMessageFont
QFont mMessageFont
Definition: kalarmconfig.h:1675
PreferencesBase::mDefaultAutoClose
bool mDefaultAutoClose
Definition: kalarmconfig.h:1705
PreferencesBase::signalAutoHideSystemTrayChanged
Definition: kalarmconfig.h:29
PreferencesBase::PreferencesBase
PreferencesBase()
Definition: kalarmconfig.cpp:31
PreferencesBase::mDefaultFgColour
QColor mDefaultFgColour
Definition: kalarmconfig.h:1673
PreferencesBase::kmail
Definition: kalarmconfig.h:21
PreferencesBase::Sound_None
Definition: kalarmconfig.h:22
PreferencesBase::feb29TypeChanged
void feb29TypeChanged(Feb29Type DefaultFeb29Type)
PreferencesBase::mDefaultDeferTime
int mDefaultDeferTime
Definition: kalarmconfig.h:1680
PreferencesBase::mVersion
QString mVersion
Definition: kalarmconfig.h:1669
PreferencesBase::autoHideSystemTrayChanged
void autoHideSystemTrayChanged(int AutoHideSystemTray)
PreferencesBase::mDefaultDontShowPreActionError
bool mDefaultDontShowPreActionError
Definition: kalarmconfig.h:1722
PreferencesBase::mShowTooltipTimeToAlarm
bool mShowTooltipTimeToAlarm
Definition: kalarmconfig.h:1686
PreferencesBase::mDefaultFeb29Type
int mDefaultFeb29Type
Definition: kalarmconfig.h:1717
PreferencesBase::mDefaultPostAction
QString mDefaultPostAction
Definition: kalarmconfig.h:1723
PreferencesBase::mTooltipTimeToPrefix
QString mTooltipTimeToPrefix
Definition: kalarmconfig.h:1687
PreferencesBase::usrWriteConfig
virtual void usrWriteConfig()
Definition: kalarmconfig.cpp:433
PreferencesBase::signalBase_StartOfDayChanged
Definition: kalarmconfig.h:33
PreferencesBase::mDefaultCmdLogType
int mDefaultCmdLogType
Definition: kalarmconfig.h:1713
PreferencesBase::mDefaultConfirmAck
bool mDefaultConfirmAck
Definition: kalarmconfig.h:1706
PreferencesBase::Feb29_Mar1
Definition: kalarmconfig.h:25
PreferencesBase::mAutoStart
bool mAutoStart
Definition: kalarmconfig.h:1678
PreferencesBase::mDisabledColour
QColor mDisabledColour
Definition: kalarmconfig.h:1697
PreferencesBase::archivedKeepDaysChanged
void archivedKeepDaysChanged(int ArchivedKeepDays)
PreferencesBase::mDefaultLateCancel
int mDefaultLateCancel
Definition: kalarmconfig.h:1704
PreferencesBase::mBase_QuitWarn
bool mBase_QuitWarn
Definition: kalarmconfig.h:1726
PreferencesBase::base_StartOfDayChanged
void base_StartOfDayChanged(const QDateTime &Base_StartOfDay)
PreferencesBase::mAskResource
bool mAskResource
Definition: kalarmconfig.h:1681
PreferencesBase::disabledColourChanged
void disabledColourChanged(const QColor &DisabledColour)
PreferencesBase::mDefaultReminderUnits
int mDefaultReminderUnits
Definition: kalarmconfig.h:1718
PreferencesBase::~PreferencesBase
~PreferencesBase()
Definition: kalarmconfig.cpp:426
PreferencesBase::signalBase_TimeZoneChanged
Definition: kalarmconfig.h:31
PreferencesBase::mBase_CmdXTermCommand
QString mBase_CmdXTermCommand
Definition: kalarmconfig.h:1692
PreferencesBase::mBase_ConfirmAlarmDeletion
bool mBase_ConfirmAlarmDeletion
Definition: kalarmconfig.h:1727
PreferencesBase::mDefaultCopyToKOrganizer
bool mDefaultCopyToKOrganizer
Definition: kalarmconfig.h:1707
PreferencesBase::mBase_WorkDayStart
QDateTime mBase_WorkDayStart
Definition: kalarmconfig.h:1694
PreferencesBase::mArchivedKeepDays
int mArchivedKeepDays
Definition: kalarmconfig.h:1699
PreferencesBase::mDefaultSoundFile
QString mDefaultSoundFile
Definition: kalarmconfig.h:1709
PreferencesBase::mBase_EmailBccAddress
QString mBase_EmailBccAddress
Definition: kalarmconfig.h:1691
kalarmconfig.h
PreferencesBase::mDefaultPreAction
QString mDefaultPreAction
Definition: kalarmconfig.h:1719
PreferencesBase::mWakeFromSuspendAdvance
int mWakeFromSuspendAdvance
Definition: kalarmconfig.h:1701
PreferencesBase
Definition: kalarmconfig.h:16
PreferencesBase::mAutoHideSystemTray
int mAutoHideSystemTray
Definition: kalarmconfig.h:1677
PreferencesBase::signalMessageFontChanged
Definition: kalarmconfig.h:35
PreferencesBase::mBase_DefaultSoundVolume
int mBase_DefaultSoundVolume
Definition: kalarmconfig.h:1710
PreferencesBase::mModalMessages
bool mModalMessages
Definition: kalarmconfig.h:1682
PreferencesBase::mDefaultExecPreActionOnDeferral
bool mDefaultExecPreActionOnDeferral
Definition: kalarmconfig.h:1720
PreferencesBase::mDefaultCancelOnPreActionError
bool mDefaultCancelOnPreActionError
Definition: kalarmconfig.h:1721
PreferencesBase::mDefaultRecurPeriod
int mDefaultRecurPeriod
Definition: kalarmconfig.h:1716
PreferencesBase::mBase_EmailCopyToKMail
bool mBase_EmailCopyToKMail
Definition: kalarmconfig.h:1689
PreferencesBase::mDefaultSoundType
int mDefaultSoundType
Definition: kalarmconfig.h:1708
PreferencesBase::mBackend
int mBackend
Definition: kalarmconfig.h:1670
PreferencesBase::mDefaultBgColour
QColor mDefaultBgColour
Definition: kalarmconfig.h:1674
QList
PreferencesBase::mBase_StartOfDay
QDateTime mBase_StartOfDay
Definition: kalarmconfig.h:1693
PreferencesBase::signalShowInSystemTrayChanged
Definition: kalarmconfig.h:28
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:59:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kalarm

Skip menu "kalarm"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal