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

korganizer

  • sources
  • kde-4.12
  • kdepim
  • korganizer
koprefs_base.cpp
Go to the documentation of this file.
1 // This file is generated by kconfig_compiler from korganizer.kcfg.
2 // All changes you do to this file will be lost.
3 
4 #include "koprefs_base.h"
5 
6 #include <klocale.h>
7 
8 KOPrefsBase::KOPrefsBase( )
9  : KConfigSkeleton( QLatin1String( "korganizerrc" ) )
10 {
11  setCurrentGroup( QLatin1String( "Save Settings" ) );
12 
13  mAutoExportItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Auto Export" ), mAutoExport, false );
14  mAutoExportItem->setLabel( i18n("Export to HTML periodically") );
15  mAutoExportItem->setToolTip( i18n("Automatically export your calendar to an HTML file") );
16  mAutoExportItem->setWhatsThis( i18n("Check this box to export the calendar to a HTML-file periodically. By default, this file will be called calendar.html and placed in the user home folder. You can change the file location by selecting the \"Export Web page\" option under the \"Export\" menu.") );
17  addItem( mAutoExportItem, QLatin1String( "AutoExport" ) );
18  mAutoExportIntervalItem = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "Auto Export Interval" ), mAutoExportInterval, 10 );
19  mAutoExportIntervalItem->setMinValue(1);
20  mAutoExportIntervalItem->setLabel( i18n("Export &interval in minutes") );
21  mAutoExportIntervalItem->setToolTip( i18n("Interval between periodic HTML exports, in minutes") );
22  mAutoExportIntervalItem->setWhatsThis( i18n("Set the interval between automatic exporting of calendar events in minutes here.") );
23  addItem( mAutoExportIntervalItem, QLatin1String( "AutoExportInterval" ) );
24  mConfirmItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Confirm Deletes" ), mConfirm, true );
25  mConfirmItem->setLabel( i18n("Confirm deletes") );
26  mConfirmItem->setToolTip( i18n("Always confirm when deleting items") );
27  mConfirmItem->setWhatsThis( i18n("Check this box to display a confirmation dialog when deleting items.") );
28  addItem( mConfirmItem, QLatin1String( "Confirm" ) );
29  QList<KConfigSkeleton::ItemEnum::Choice2> valuesDestination;
30  {
31  KConfigSkeleton::ItemEnum::Choice2 choice;
32  choice.name = QLatin1String("standardDestination");
33  choice.label = i18n("Be added to the standard calendar");
34  choice.whatsThis = i18n("Select this option to always record new events, to-dos and journal entries using the standard calendar.");
35  valuesDestination.append( choice );
36  }
37  {
38  KConfigSkeleton::ItemEnum::Choice2 choice;
39  choice.name = QLatin1String("askDestination");
40  choice.label = i18n("Be asked which calendar to use");
41  choice.whatsThis = i18n("Select this option to choose the calendar to be used to record the item each time you create a new event, to-do or journal entry. This choice is recommended if you intend to use the shared folders functionality of the Kolab server or have to manage multiple accounts using Kontact as a KDE Kolab client. ");
42  valuesDestination.append( choice );
43  }
44  mDestinationItem = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "Destination" ), mDestination, valuesDestination, askDestination );
45  mDestinationItem->setLabel( i18n("New Events, To-dos and Journal Entries Should") );
46  addItem( mDestinationItem, QLatin1String( "Destination" ) );
47 
48  setCurrentGroup( QLatin1String( "System Tray" ) );
49 
50  mShowReminderDaemonItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ShowReminderDaemon" ), mShowReminderDaemon, true );
51  mShowReminderDaemonItem->setLabel( i18n("Show Reminder Daemon in the System Tray") );
52  mShowReminderDaemonItem->setWhatsThis( i18n("Check this box to show the KOrganizer reminder daemon in the system tray.") );
53  addItem( mShowReminderDaemonItem, QLatin1String( "ShowReminderDaemon" ) );
54 
55  setCurrentGroup( QLatin1String( "Time & Date" ) );
56 
57  mTimeZoneIdItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "TimeZoneId" ), mTimeZoneId );
58  mTimeZoneIdItem->setLabel( i18n("TimeZoneId") );
59  mTimeZoneIdItem->setWhatsThis( i18n("Select your timezone from the list of locations on this drop down box. If your city is not listed, select one which shares the same timezone. KOrganizer will automatically adjust for daylight savings.") );
60  addItem( mTimeZoneIdItem, QLatin1String( "TimeZoneId" ) );
61  mDayBeginsItem = new KConfigSkeleton::ItemDateTime( currentGroup(), QLatin1String( "DayBegins" ), mDayBegins, QDateTime(QDate(1752,1,1), QTime(7,0)) );
62  mDayBeginsItem->setLabel( i18n("Day begins at") );
63  mDayBeginsItem->setWhatsThis( i18n("Enter the start time for events here. This time should be the earliest time that you use for events, as it will be displayed at the top.") );
64  addItem( mDayBeginsItem, QLatin1String( "DayBegins" ) );
65  mHolidaysItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Holidays" ), mHolidays );
66  mHolidaysItem->setLabel( i18n("Use holiday region:") );
67  mHolidaysItem->setWhatsThis( i18n("Select from which region you want to use the holidays here. Defined holidays are shown as non-working days in the date navigator, the agenda view, etc.") );
68  addItem( mHolidaysItem, QLatin1String( "Holidays" ) );
69  mWorkingHoursStartItem = new KConfigSkeleton::ItemDateTime( currentGroup(), QLatin1String( "WorkingHoursStart" ), mWorkingHoursStart, QDateTime(QDate(1752,1,1), QTime(8,0)) );
70  mWorkingHoursStartItem->setLabel( i18n("Daily starting hour") );
71  mWorkingHoursStartItem->setWhatsThis( i18n("Enter the start time for the working hours here. The working hours will be marked with color by KOrganizer.") );
72  addItem( mWorkingHoursStartItem, QLatin1String( "WorkingHoursStart" ) );
73  mWorkingHoursEndItem = new KConfigSkeleton::ItemDateTime( currentGroup(), QLatin1String( "WorkingHoursEnd" ), mWorkingHoursEnd, QDateTime(QDate(1752,1,1), QTime(17,0)) );
74  mWorkingHoursEndItem->setLabel( i18n("Daily ending hour") );
75  mWorkingHoursEndItem->setWhatsThis( i18n("Enter the ending time for the working hours here. The working hours will be marked with color by KOrganizer.") );
76  addItem( mWorkingHoursEndItem, QLatin1String( "WorkingHoursEnd" ) );
77  mExcludeHolidaysItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Exclude Holidays" ), mExcludeHolidays, true );
78  mExcludeHolidaysItem->setLabel( i18n("Exclude holidays") );
79  mExcludeHolidaysItem->setWhatsThis( i18n("Check this box to prevent KOrganizer from marking the working hours on holidays.") );
80  addItem( mExcludeHolidaysItem, QLatin1String( "ExcludeHolidays" ) );
81  mColorMonthBusyDaysEnabledItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ColorMonthBusyDaysEnabled" ), mColorMonthBusyDaysEnabled, false );
82  mColorMonthBusyDaysEnabledItem->setLabel( i18n("Color busy days with a different background color") );
83  mColorMonthBusyDaysEnabledItem->setWhatsThis( i18n("Check this box if you want month view's background to be filled with a different color on days which have at least one all day event marked as busy. Also, you can change the background color used for this option on the Colors configuration page. Look for the \"Busy days background color\" setting.") );
84  addItem( mColorMonthBusyDaysEnabledItem, QLatin1String( "ColorMonthBusyDaysEnabled" ) );
85 
86  setCurrentGroup( QLatin1String( "General View" ) );
87 
88  mEnableToolTipsItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Enable ToolTips" ), mEnableToolTips, true );
89  mEnableToolTipsItem->setLabel( i18n("Enable tooltips for displaying summaries") );
90  mEnableToolTipsItem->setWhatsThis( i18n("Check this box to display summary tooltips when hovering the mouse over an event or a to-do.") );
91  addItem( mEnableToolTipsItem, QLatin1String( "EnableToolTips" ) );
92  mTodosUseCategoryColorsItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "TodosUseCategoryColors" ), mTodosUseCategoryColors, false );
93  mTodosUseCategoryColorsItem->setLabel( i18n("To-dos use category colors") );
94  mTodosUseCategoryColorsItem->setWhatsThis( i18n("Check this box so that to-dos will use category colors and not colors specific to their due, due today or overdue state") );
95  addItem( mTodosUseCategoryColorsItem, QLatin1String( "TodosUseCategoryColors" ) );
96  mNextXDaysItem = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "Next X Days" ), mNextXDays, 3 );
97  mNextXDaysItem->setLabel( i18n("Next x days") );
98  mNextXDaysItem->setToolTip( i18n("Show this many days at a time in the Next \"x\" days view") );
99  mNextXDaysItem->setWhatsThis( i18n("Select the number of \"x\" days to be displayed in the next days view. To access the next \"x\" days view, choose the \"Next X Days\" menu item from the \"View\" menu.") );
100  addItem( mNextXDaysItem, QLatin1String( "NextXDays" ) );
101  mDailyRecurItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Show Daily Recurrences" ), mDailyRecur, true );
102  mDailyRecurItem->setLabel( i18n("Show items that recur daily") );
103  mDailyRecurItem->setWhatsThis( i18n("Check this box to show the days containing daily recurring events in bold typeface in the Date Navigator, or uncheck it to give more prominence to other (non daily recurring) events.") );
104  addItem( mDailyRecurItem, QLatin1String( "DailyRecur" ) );
105  mWeeklyRecurItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Show Weekly Recurrences" ), mWeeklyRecur, true );
106  mWeeklyRecurItem->setLabel( i18n("Show items that recur weekly") );
107  mWeeklyRecurItem->setWhatsThis( i18n("Check this box to show the days containing weekly recurring events in bold typeface in the Date Navigator, or uncheck it to give more prominence to other (non weekly recurring) events.") );
108  addItem( mWeeklyRecurItem, QLatin1String( "WeeklyRecur" ) );
109  mHighlightTodosItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Highlight To-dos" ), mHighlightTodos, true );
110  mHighlightTodosItem->setLabel( i18n("Show to-dos instead of events when in Todo View") );
111  mHighlightTodosItem->setWhatsThis( i18n("Check this box to show the days containing to-dos in bold typeface in the Date Navigator when in to-do view.") );
112  addItem( mHighlightTodosItem, QLatin1String( "HighlightTodos" ) );
113  mHighlightJournalsItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Highlight Journals" ), mHighlightJournals, true );
114  mHighlightJournalsItem->setLabel( i18n("Show journals instead of events when in Journal View") );
115  mHighlightJournalsItem->setWhatsThis( i18n("Check this box to show the days containing journals in bold typeface in the Date Navigator when in journal view.") );
116  addItem( mHighlightJournalsItem, QLatin1String( "HighlightJournals" ) );
117  mWeekNumbersShowWorkItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Week Numbers Show Work Week" ), mWeekNumbersShowWork, false );
118  mWeekNumbersShowWorkItem->setLabel( i18n("Week numbers select a work week when in work week mode") );
119  mWeekNumbersShowWorkItem->setWhatsThis( i18n("Check this box to select a working week when clicking on the Date Navigator's week numbers, or uncheck it to choose the whole week.") );
120  addItem( mWeekNumbersShowWorkItem, QLatin1String( "WeekNumbersShowWork" ) );
121 
122  setCurrentGroup( QLatin1String( "Agenda View" ) );
123 
124  mHourSizeItem = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "Hour Size" ), mHourSize, 10 );
125  mHourSizeItem->setMinValue(4);
126  mHourSizeItem->setMaxValue(30);
127  mHourSizeItem->setLabel( i18n("Hour size") );
128  mHourSizeItem->setToolTip( i18n("Set the height (in pixels) for an hour in the agenda grid") );
129  mHourSizeItem->setWhatsThis( i18n("Select the height of the hour rows in the agenda grid, in pixels. Increasing this value will make each row in the agenda grid taller.") );
130  addItem( mHourSizeItem, QLatin1String( "HourSize" ) );
131  mEnableAgendaItemIconsItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Show Icons in Agenda View" ), mEnableAgendaItemIcons, true );
132  mEnableAgendaItemIconsItem->setLabel( i18n("Show icons in agenda view items") );
133  mEnableAgendaItemIconsItem->setToolTip( i18n("Display icons in agenda view items") );
134  mEnableAgendaItemIconsItem->setWhatsThis( i18n("Check this box to display icons (alarm, recursion, etc.) in agenda view items.") );
135  addItem( mEnableAgendaItemIconsItem, QLatin1String( "EnableAgendaItemIcons" ) );
136  mShowTodosAgendaViewItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ShowTodosAgendaView" ), mShowTodosAgendaView, true );
137  mShowTodosAgendaViewItem->setLabel( i18n("Show to-dos") );
138  mShowTodosAgendaViewItem->setToolTip( i18n("Display to-dos in the agenda view") );
139  mShowTodosAgendaViewItem->setWhatsThis( i18n("Check this box to display to-dos in the agenda view.") );
140  addItem( mShowTodosAgendaViewItem, QLatin1String( "ShowTodosAgendaView" ) );
141  mMarcusBainsEnabledItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Show current-time line" ), mMarcusBainsEnabled, true );
142  mMarcusBainsEnabledItem->setLabel( i18n("Show current-time (Marcus Bains) line") );
143  mMarcusBainsEnabledItem->setToolTip( i18n("Display the current-time indicator") );
144  mMarcusBainsEnabledItem->setWhatsThis( i18n("Check this box to display a line in the day or week view indicating the current-time line (Marcus Bains line).") );
145  addItem( mMarcusBainsEnabledItem, QLatin1String( "MarcusBainsEnabled" ) );
146  mMarcusBainsShowSecondsItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Current-time line shows seconds" ), mMarcusBainsShowSeconds, false );
147  mMarcusBainsShowSecondsItem->setLabel( i18n("Show seconds on the current-time (Marcus Bains) line") );
148  mMarcusBainsShowSecondsItem->setToolTip( i18n("Display seconds with the current-time indicator") );
149  mMarcusBainsShowSecondsItem->setWhatsThis( i18n("Check this box if you want to show seconds on the current-time line.") );
150  addItem( mMarcusBainsShowSecondsItem, QLatin1String( "MarcusBainsShowSeconds" ) );
151  mSelectionStartsEditorItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "SelectionStartsEditor" ), mSelectionStartsEditor, false );
152  mSelectionStartsEditorItem->setLabel( i18n("Time range selection in agenda view starts event editor") );
153  mSelectionStartsEditorItem->setToolTip( i18n("Enable automatic event editor with time range selection") );
154  mSelectionStartsEditorItem->setWhatsThis( i18n("Check this box to start the event editor automatically when you select a time range in the daily and weekly view. To select a time range, drag the mouse from the start time to the end time of the event you are about to plan.") );
155  addItem( mSelectionStartsEditorItem, QLatin1String( "SelectionStartsEditor" ) );
156  QList<KConfigSkeleton::ItemEnum::Choice2> valuesAgendaViewColors;
157  {
158  KConfigSkeleton::ItemEnum::Choice2 choice;
159  choice.name = QLatin1String("CategoryInsideResourceOutside");
160  choice.label = i18n("Category inside, calendar outside");
161  choice.toolTip = i18n("Draw agenda items in their category color inside and calendar color for their border");
162  choice.whatsThis = i18n("Select the \"Category inside, calendar outside\" option if you would like to draw calendar items in their associated category color, with the item's border drawn in the color of its calendar. Please use the Colors and Fonts configuration page for setting these colors.");
163  valuesAgendaViewColors.append( choice );
164  }
165  {
166  KConfigSkeleton::ItemEnum::Choice2 choice;
167  choice.name = QLatin1String("ResourceInsideCategoryOutside");
168  choice.label = i18n("Calendar inside, category outside");
169  choice.toolTip = i18n("Draw agenda items in their calendar color inside and category color for their border");
170  choice.whatsThis = i18n("Select the \"Calendar inside, category outside\" option if you would like to draw calendar items in their associated calendar color, with the item's border drawn in the color of its category. Please use the Colors and Fonts configuration page for setting these colors.");
171  valuesAgendaViewColors.append( choice );
172  }
173  {
174  KConfigSkeleton::ItemEnum::Choice2 choice;
175  choice.name = QLatin1String("CategoryOnly");
176  choice.label = i18n("Only category");
177  choice.toolTip = i18n("Draw agenda items using their category color for the inside and border");
178  choice.whatsThis = i18n("Select the \"Only category\" option if you would like to draw calendar items (both inside and border) in the color of their associated category. Please use the Colors and Fonts configuration page for setting these colors.");
179  valuesAgendaViewColors.append( choice );
180  }
181  {
182  KConfigSkeleton::ItemEnum::Choice2 choice;
183  choice.name = QLatin1String("ResourceOnly");
184  choice.label = i18n("Only calendar");
185  choice.toolTip = i18n("Draw agenda items using their calendar color for the inside and border");
186  choice.whatsThis = i18n("Select the \"Only calendar\" option if you would like to draw calendar items (both inside and border) in the color of their calendar. Please use the Colors and Fonts configuration page for setting these colors.");
187  valuesAgendaViewColors.append( choice );
188  }
189  mAgendaViewColorsItem = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "AgendaViewColors" ), mAgendaViewColors, valuesAgendaViewColors, CategoryInsideResourceOutside );
190  mAgendaViewColorsItem->setLabel( i18n("Color Usage") );
191  addItem( mAgendaViewColorsItem, QLatin1String( "AgendaViewColors" ) );
192  mColorBusyDaysEnabledItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ColorBusyDaysEnabled" ), mColorBusyDaysEnabled, false );
193  mColorBusyDaysEnabledItem->setLabel( i18n("Color busy days with a different background color") );
194  mColorBusyDaysEnabledItem->setWhatsThis( i18n("Check this box if you want agenda's background to be filled with a different color on days which have at least one all day event marked as busy. Also, you can change the background color used for this option on the Colors configuration page. Look for the \"Busy days background color\" setting.") );
195  addItem( mColorBusyDaysEnabledItem, QLatin1String( "ColorBusyDaysEnabled" ) );
196  QList<KConfigSkeleton::ItemEnum::Choice2> valuesAgendaViewCalendarDisplay;
197  {
198  KConfigSkeleton::ItemEnum::Choice2 choice;
199  choice.name = QLatin1String("CalendarsMerged");
200  choice.label = i18n("Merge all calendars into one view");
201  choice.toolTip = i18n("Show all calendars merged together");
202  choice.whatsThis = i18n("Select the \"Merge all calendars into one view\" option if you would like all your calendars to be shown together in one agenda view.");
203  valuesAgendaViewCalendarDisplay.append( choice );
204  }
205  {
206  KConfigSkeleton::ItemEnum::Choice2 choice;
207  choice.name = QLatin1String("CalendarsSideBySide");
208  choice.label = i18n("Show calendars side by side");
209  choice.toolTip = i18n("Show two calendars side-by-side");
210  choice.whatsThis = i18n("Select the \"Show calendars side by side\" option if you would like to see two calendars at once, in a side-by-side view.");
211  valuesAgendaViewCalendarDisplay.append( choice );
212  }
213  {
214  KConfigSkeleton::ItemEnum::Choice2 choice;
215  choice.name = QLatin1String("AllCalendarViews");
216  choice.label = i18n("Switch between views with tabs");
217  choice.toolTip = i18n("Tab through calendars");
218  choice.whatsThis = i18n("Select \"Switch between views with tabs\" if you would like to alternate between calendars using the tab key.");
219  valuesAgendaViewCalendarDisplay.append( choice );
220  }
221  mAgendaViewCalendarDisplayItem = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "AgendaViewCalendarDisplay" ), mAgendaViewCalendarDisplay, valuesAgendaViewCalendarDisplay, CalendarsMerged );
222  mAgendaViewCalendarDisplayItem->setLabel( i18n("Multiple Calendar Display") );
223  addItem( mAgendaViewCalendarDisplayItem, QLatin1String( "AgendaViewCalendarDisplay" ) );
224 
225  setCurrentGroup( QLatin1String( "Month View" ) );
226 
227  mEnableMonthItemIconsItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Show Icons in Month View" ), mEnableMonthItemIcons, true );
228  mEnableMonthItemIconsItem->setLabel( i18n("Show icons in month view items") );
229  mEnableMonthItemIconsItem->setToolTip( i18n("Display icons in month view items") );
230  mEnableMonthItemIconsItem->setWhatsThis( i18n("Check this box to display icons (alarm, recursion, etc.) in month view items.") );
231  addItem( mEnableMonthItemIconsItem, QLatin1String( "EnableMonthItemIcons" ) );
232  mShowTimeInMonthViewItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Show time in Month View" ), mShowTimeInMonthView, false );
233  mShowTimeInMonthViewItem->setLabel( i18n("Show time in month view items") );
234  mShowTimeInMonthViewItem->setToolTip( i18n("Display time in month view items") );
235  mShowTimeInMonthViewItem->setWhatsThis( i18n("Check this box to display the time in month view items.") );
236  addItem( mShowTimeInMonthViewItem, QLatin1String( "ShowTimeInMonthView" ) );
237  mShowTodosMonthViewItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ShowTodosMonthView" ), mShowTodosMonthView, true );
238  mShowTodosMonthViewItem->setLabel( i18n("Show to-dos") );
239  mShowTodosMonthViewItem->setToolTip( i18n("Display to-dos in the month view") );
240  mShowTodosMonthViewItem->setWhatsThis( i18n("Check this box to display to-dos in the month view.") );
241  addItem( mShowTodosMonthViewItem, QLatin1String( "ShowTodosMonthView" ) );
242  mShowJournalsMonthViewItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ShowJournalsMonthView" ), mShowJournalsMonthView, true );
243  mShowJournalsMonthViewItem->setLabel( i18n("Show journals") );
244  mShowJournalsMonthViewItem->setToolTip( i18n("Display journals in the month view") );
245  mShowJournalsMonthViewItem->setWhatsThis( i18n("Check this box to display journals in the month view.") );
246  addItem( mShowJournalsMonthViewItem, QLatin1String( "ShowJournalsMonthView" ) );
247  mFullViewMonthItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Full View Month" ), mFullViewMonth, false );
248  mFullViewMonthItem->setLabel( i18n("Month view uses full window") );
249  mFullViewMonthItem->setWhatsThis( i18n("Check this box to use the full KOrganizer window when displaying the month view. If this box is checked, you will gain some space for the monthly view, but other widgets, such as the date navigator, the item details and the calendars list, will not be displayed.") );
250  addItem( mFullViewMonthItem, QLatin1String( "FullViewMonth" ) );
251  QList<KConfigSkeleton::ItemEnum::Choice2> valuesMonthViewColors;
252  {
253  KConfigSkeleton::ItemEnum::Choice2 choice;
254  choice.name = QLatin1String("MonthItemCategoryInsideResourceOutside");
255  choice.label = i18n("Category inside, calendar outside");
256  choice.toolTip = i18n("Draw month items in their category color inside and calendar color for their border");
257  choice.whatsThis = i18n("Select the \"Category inside, calendar outside\" option if you would like to draw calendar items in their associated category color, with the item's border drawn in the color of its calendar. Please use the Colors and Fonts configuration page for setting these colors.");
258  valuesMonthViewColors.append( choice );
259  }
260  {
261  KConfigSkeleton::ItemEnum::Choice2 choice;
262  choice.name = QLatin1String("MonthItemResourceInsideCategoryOutside");
263  choice.label = i18n("Calendar inside, category outside");
264  choice.toolTip = i18n("Draw month items in their calendar color inside and category color for their border");
265  choice.whatsThis = i18n("Select the \"Calendar inside, category outside\" option if you would like to draw calendar items in their associated calendar color, with the item's border drawn in the color of its category. Please use the Colors and Fonts configuration page for setting these colors.");
266  valuesMonthViewColors.append( choice );
267  }
268  {
269  KConfigSkeleton::ItemEnum::Choice2 choice;
270  choice.name = QLatin1String("MonthItemCategoryOnly");
271  choice.label = i18n("Only category");
272  choice.toolTip = i18n("Draw month items using their category color for the inside and border");
273  choice.whatsThis = i18n("Select the \"Only category\" option if you would like to draw calendar items (both inside and border) in the color of their associated category. Please use the Colors and Fonts configuration page for setting these colors.");
274  valuesMonthViewColors.append( choice );
275  }
276  {
277  KConfigSkeleton::ItemEnum::Choice2 choice;
278  choice.name = QLatin1String("MonthItemResourceOnly");
279  choice.label = i18n("Only calendar");
280  choice.toolTip = i18n("Draw month items using their calendar color for the inside and border");
281  choice.whatsThis = i18n("Select the \"Only calendar\" option if you would like to draw calendar items (both inside and border) in the color of their calendar. Please use the Colors and Fonts configuration page for setting these colors.");
282  valuesMonthViewColors.append( choice );
283  }
284  mMonthViewColorsItem = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "MonthViewColors" ), mMonthViewColors, valuesMonthViewColors, MonthItemCategoryInsideResourceOutside );
285  mMonthViewColorsItem->setLabel( i18n("Color Usage") );
286  addItem( mMonthViewColorsItem, QLatin1String( "MonthViewColors" ) );
287 
288  setCurrentGroup( QLatin1String( "Todo View" ) );
289 
290  mSortCompletedTodosSeparatelyItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Sort Completed Todos Separately" ), mSortCompletedTodosSeparately, true );
291  mSortCompletedTodosSeparatelyItem->setLabel( i18n("Always display completed to-dos at the bottom of the list") );
292  mSortCompletedTodosSeparatelyItem->setToolTip( i18n("Completed to-dos are displayed at the bottom of the list, regardless of priority") );
293  mSortCompletedTodosSeparatelyItem->setWhatsThis( i18n("Check this box if you want all completed to-dos to be always grouped at the bottom of the to-do list.") );
294  addItem( mSortCompletedTodosSeparatelyItem, QLatin1String( "SortCompletedTodosSeparately" ) );
295  mFullViewTodoItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Full View Todo" ), mFullViewTodo, false );
296  mFullViewTodoItem->setLabel( i18n("To-do list view uses full window") );
297  mFullViewTodoItem->setToolTip( i18n("Display to-do list in a full KOrganizer window") );
298  mFullViewTodoItem->setWhatsThis( i18n("Check this box to use the full KOrganizer window when displaying the to-do list view. If this box is checked, you will gain some space for the to-do list view, but other widgets, such as the date navigator, the to-do details and the calendars list, will not be displayed.") );
299  addItem( mFullViewTodoItem, QLatin1String( "FullViewTodo" ) );
300  mFlatListTodoItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Flat List Todo" ), mFlatListTodo, false );
301  mFlatListTodoItem->setLabel( i18n("Display to-dos in a flat list") );
302  mFlatListTodoItem->setToolTip( i18n("Display to-dos as a flat list instead of a hierarchical tree") );
303  mFlatListTodoItem->setWhatsThis( i18n("Check this box if you want to see all your to-dos in a flat list instead of being arranged in a hierarchical tree.") );
304  addItem( mFlatListTodoItem, QLatin1String( "FlatListTodo" ) );
305  mRecordTodosInJournalsItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Record Todos In Journals" ), mRecordTodosInJournals, false );
306  mRecordTodosInJournalsItem->setLabel( i18n("Record completed to-dos in journal entries") );
307  mRecordTodosInJournalsItem->setWhatsThis( i18n("Check this box to record the completion of a to-do in a new entry of your journal automatically.") );
308  addItem( mRecordTodosInJournalsItem, QLatin1String( "RecordTodosInJournals" ) );
309 
310  setCurrentGroup( QLatin1String( "Colors" ) );
311 
312  mHolidayColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Holiday Color" ), mHolidayColor, QColor( 255, 100, 100 ) );
313  mHolidayColorItem->setLabel( i18n("Holiday color") );
314  mHolidayColorItem->setWhatsThis( i18n("Select the holiday color here. The holiday color will be used for the holiday name in the month view and the holiday number in the date navigator.") );
315  addItem( mHolidayColorItem, QLatin1String( "HolidayColor" ) );
316  mAgendaBgColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "AgendaBackgroundColor" ), mAgendaBgColor, QColor( 255, 255, 255 ) );
317  mAgendaBgColorItem->setLabel( i18n("Agenda view background color") );
318  mAgendaBgColorItem->setWhatsThis( i18n("Select the agenda view background color here.") );
319  addItem( mAgendaBgColorItem, QLatin1String( "AgendaBgColor" ) );
320  mAgendaMarcusBainsLineLineColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Agenda MarcusBainsLine Line Color" ), mAgendaMarcusBainsLineLineColor, QColor( 255,0,0 ) );
321  mAgendaMarcusBainsLineLineColorItem->setLabel( i18n("Agenda view current-time line color") );
322  mAgendaMarcusBainsLineLineColorItem->setToolTip( i18n("Use this color for the Agenda View current-time (Marcus Bains) line") );
323  mAgendaMarcusBainsLineLineColorItem->setWhatsThis( i18n("Select a color to use for the current-time (Marcus Bains) line.") );
324  addItem( mAgendaMarcusBainsLineLineColorItem, QLatin1String( "AgendaMarcusBainsLineLineColor" ) );
325  mViewBgBusyColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "ViewBackgroundBusyColor" ), mViewBgBusyColor, QColor( 136, 255, 219 ) );
326  mViewBgBusyColorItem->setLabel( i18n("Busy days background color") );
327  mViewBgBusyColorItem->setWhatsThis( i18n("When you have an all day event marked as busy, you can have a different agenda or month view background color for that day. Select the color here.") );
328  addItem( mViewBgBusyColorItem, QLatin1String( "ViewBgBusyColor" ) );
329  mWorkingHoursColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "WorkingHoursColor" ), mWorkingHoursColor, QColor( 255, 235, 154 ) );
330  mWorkingHoursColorItem->setLabel( i18n("Working hours color") );
331  mWorkingHoursColorItem->setWhatsThis( i18n("Select the working hours color for the agenda view here.") );
332  addItem( mWorkingHoursColorItem, QLatin1String( "WorkingHoursColor" ) );
333  mTodoDueTodayColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Todo due today Color" ), mTodoDueTodayColor, QColor( 255, 200, 50 ) );
334  mTodoDueTodayColorItem->setLabel( i18n("To-do due today color") );
335  mTodoDueTodayColorItem->setWhatsThis( i18n("Select the to-do due today color here.") );
336  addItem( mTodoDueTodayColorItem, QLatin1String( "TodoDueTodayColor" ) );
337  mTodoOverdueColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Todo overdue Color" ), mTodoOverdueColor, QColor( 255, 100, 100 ) );
338  mTodoOverdueColorItem->setLabel( i18n("To-do overdue color") );
339  mTodoOverdueColorItem->setWhatsThis( i18n("Select the to-do overdue color here.") );
340  addItem( mTodoOverdueColorItem, QLatin1String( "TodoOverdueColor" ) );
341 
342  setCurrentGroup( QLatin1String( "Fonts" ) );
343 
344  mAgendaTimeLabelsFontItem = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "Agenda TimeLabels Font" ), mAgendaTimeLabelsFont );
345  mAgendaTimeLabelsFontItem->setLabel( i18n("Time bar") );
346  mAgendaTimeLabelsFontItem->setWhatsThis( i18n("Press this button to configure the time bar font. The time bar is the widget that shows the hours in the agenda view. This button will open the \"Select Font\" dialog, allowing you to choose the hour font for the time bar.") );
347  addItem( mAgendaTimeLabelsFontItem, QLatin1String( "AgendaTimeLabelsFont" ) );
348  mMonthViewFontItem = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "MonthView Font" ), mMonthViewFont );
349  mMonthViewFontItem->setLabel( i18n("Month view") );
350  mMonthViewFontItem->setWhatsThis( i18n("Press this button to configure the month view font. This button will open the \"Select Font\" dialog, allowing you to choose the font for the items in the month view.") );
351  addItem( mMonthViewFontItem, QLatin1String( "MonthViewFont" ) );
352  mAgendaViewFontItem = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "AgendaView Font" ), mAgendaViewFont );
353  mAgendaViewFontItem->setLabel( i18n("Agenda view") );
354  mAgendaViewFontItem->setWhatsThis( i18n("Press this button to configure the agenda view font. This button will open the \"Select Font\" dialog, allowing you to choose the font for the events in the agenda view.") );
355  addItem( mAgendaViewFontItem, QLatin1String( "AgendaViewFont" ) );
356  mAgendaMarcusBainsLineFontItem = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "Agenda MarcusBainsLine Font" ), mAgendaMarcusBainsLineFont );
357  mAgendaMarcusBainsLineFontItem->setLabel( i18n("Current-time line") );
358  mAgendaMarcusBainsLineFontItem->setWhatsThis( i18n("Press this button to configure the current-time line font. This button will open the \"Select Font\" dialog, allowing you to choose the font for the current-time line in the agenda view.") );
359  addItem( mAgendaMarcusBainsLineFontItem, QLatin1String( "AgendaMarcusBainsLineFont" ) );
360 
361  setCurrentGroup( QLatin1String( "KOrganizer Plugins" ) );
362 
363  mSelectedPluginsItem = new KConfigSkeleton::ItemStringList( currentGroup(), QLatin1String( "SelectedPlugins" ), mSelectedPlugins );
364  mSelectedPluginsItem->setLabel( i18n("SelectedPlugins") );
365  addItem( mSelectedPluginsItem, QLatin1String( "SelectedPlugins" ) );
366 
367  setCurrentGroup( QLatin1String( "Hidden Options" ) );
368 
369  mEnableQuickTodoItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Quick Todo" ), mEnableQuickTodo, true );
370  mEnableQuickTodoItem->setLabel( i18n("Quick Todo") );
371  addItem( mEnableQuickTodoItem, QLatin1String( "EnableQuickTodo" ) );
372  mEnableTodoQuickSearchItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Todo Quick Search" ), mEnableTodoQuickSearch, true );
373  mEnableTodoQuickSearchItem->setLabel( i18n("Todo Quick Search") );
374  addItem( mEnableTodoQuickSearchItem, QLatin1String( "EnableTodoQuickSearch" ) );
375  QList<KConfigSkeleton::ItemEnum::Choice2> valuesDefaultTodoAttachMethod;
376  {
377  KConfigSkeleton::ItemEnum::Choice2 choice;
378  choice.name = QLatin1String("TodoAttachAsk");
379  choice.label = i18n("Always ask");
380  valuesDefaultTodoAttachMethod.append( choice );
381  }
382  {
383  KConfigSkeleton::ItemEnum::Choice2 choice;
384  choice.name = QLatin1String("TodoAttachLink");
385  choice.label = i18n("Only attach link to message");
386  valuesDefaultTodoAttachMethod.append( choice );
387  }
388  {
389  KConfigSkeleton::ItemEnum::Choice2 choice;
390  choice.name = QLatin1String("TodoAttachInlineFull");
391  choice.label = i18n("Attach complete message");
392  valuesDefaultTodoAttachMethod.append( choice );
393  }
394  mDefaultTodoAttachMethodItem = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "DefaultTodoAttachMethod" ), mDefaultTodoAttachMethod, valuesDefaultTodoAttachMethod, TodoAttachInlineFull );
395  mDefaultTodoAttachMethodItem->setLabel( i18n("Default todo attachment method") );
396  mDefaultTodoAttachMethodItem->setWhatsThis( i18n("The default way of attaching dropped emails to a task") );
397  addItem( mDefaultTodoAttachMethodItem, QLatin1String( "DefaultTodoAttachMethod" ) );
398  mCompactDialogsItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "CompactDialogs" ), mCompactDialogs, false );
399  mCompactDialogsItem->setLabel( i18n("CompactDialogs") );
400  addItem( mCompactDialogsItem, QLatin1String( "CompactDialogs" ) );
401  mShowMenuBarItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ShowMenuBar" ), mShowMenuBar, true );
402  mShowMenuBarItem->setLabel( i18n("ShowMenuBar") );
403  addItem( mShowMenuBarItem, QLatin1String( "ShowMenuBar" ) );
404 
405  setCurrentGroup( QLatin1String( "Internal Settings" ) );
406 
407  mWorkWeekMaskItem = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "Work Week Mask" ), mWorkWeekMask, 31 );
408  mWorkWeekMaskItem->setLabel( i18n("Work Week Mask") );
409  addItem( mWorkWeekMaskItem, QLatin1String( "WorkWeekMask" ) );
410  mDefaultResourceColorSeedItem = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "DefaultResourceColorSeed" ), mDefaultResourceColorSeed, 0 );
411  mDefaultResourceColorSeedItem->setLabel( i18n("DefaultResourceColorSeed") );
412  addItem( mDefaultResourceColorSeedItem, QLatin1String( "DefaultResourceColorSeed" ) );
413  QStringList defaultDefaultResourceColors;
414  defaultDefaultResourceColors.append( QString::fromUtf8( "#c1d4e7" ) );
415  defaultDefaultResourceColors.append( QString::fromUtf8( "#d0e7c1" ) );
416  defaultDefaultResourceColors.append( QString::fromUtf8( "#e3e7c1" ) );
417  defaultDefaultResourceColors.append( QString::fromUtf8( "#e7c1e6" ) );
418  defaultDefaultResourceColors.append( QString::fromUtf8( "#a1b1c1" ) );
419 
420  mDefaultResourceColorsItem = new KConfigSkeleton::ItemStringList( currentGroup(), QLatin1String( "DefaultResourceColors" ), mDefaultResourceColors, defaultDefaultResourceColors );
421  mDefaultResourceColorsItem->setLabel( i18n("DefaultResourceColors") );
422  addItem( mDefaultResourceColorsItem, QLatin1String( "DefaultResourceColors" ) );
423  mAssignDefaultResourceColorsItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "AssignDefaultResourceColors" ), mAssignDefaultResourceColors, true );
424  mAssignDefaultResourceColorsItem->setLabel( i18n("AssignDefaultResourceColors") );
425  addItem( mAssignDefaultResourceColorsItem, QLatin1String( "AssignDefaultResourceColors" ) );
426  mDecorationsAtMonthViewTopItem = new KConfigSkeleton::ItemStringList( currentGroup(), QLatin1String( "Decorations At Month View Top" ), mDecorationsAtMonthViewTop );
427  mDecorationsAtMonthViewTopItem->setLabel( i18n("Decorations At Month View Top") );
428  addItem( mDecorationsAtMonthViewTopItem, QLatin1String( "DecorationsAtMonthViewTop" ) );
429  mDecorationsAtAgendaViewTopItem = new KConfigSkeleton::ItemStringList( currentGroup(), QLatin1String( "Decorations At Agenda View Top" ), mDecorationsAtAgendaViewTop );
430  mDecorationsAtAgendaViewTopItem->setLabel( i18n("Decorations At Agenda View Top") );
431  addItem( mDecorationsAtAgendaViewTopItem, QLatin1String( "DecorationsAtAgendaViewTop" ) );
432  mDecorationsAtAgendaViewBottomItem = new KConfigSkeleton::ItemStringList( currentGroup(), QLatin1String( "Decorations At Agenda View Bottom" ), mDecorationsAtAgendaViewBottom );
433  mDecorationsAtAgendaViewBottomItem->setLabel( i18n("Decorations At Agenda View Bottom") );
434  addItem( mDecorationsAtAgendaViewBottomItem, QLatin1String( "DecorationsAtAgendaViewBottom" ) );
435 
436  setCurrentGroup( QLatin1String( "Theming" ) );
437 
438  mAgendaGridBackgroundColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Agenda Grid Background Color" ), mAgendaGridBackgroundColor, QColor( 255, 255, 255 ) );
439  mAgendaGridBackgroundColorItem->setLabel( i18n("Agenda view background color") );
440  mAgendaGridBackgroundColorItem->setWhatsThis( i18n("Select the agenda view background color here.") );
441  addItem( mAgendaGridBackgroundColorItem, QLatin1String( "AgendaGridBackgroundColor" ) );
442  mAgendaGridBackgroundImageItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Agenda Grid Background Image" ), mAgendaGridBackgroundImage );
443  mAgendaGridBackgroundImageItem->setLabel( i18n("Agenda Grid Background Image") );
444  addItem( mAgendaGridBackgroundImageItem, QLatin1String( "AgendaGridBackgroundImage" ) );
445  mAgendaGridHighlightColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Agenda Grid Highlight Color" ), mAgendaGridHighlightColor, QColor( 100, 100, 255 ) );
446  mAgendaGridHighlightColorItem->setLabel( i18n("Highlight color") );
447  mAgendaGridHighlightColorItem->setWhatsThis( i18n("Select the highlight color here. The highlight color will be used for marking the currently selected area in your agenda and in the date navigator.") );
448  addItem( mAgendaGridHighlightColorItem, QLatin1String( "AgendaGridHighlightColor" ) );
449  mAgendaGridWorkHoursBackgroundImageItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Agenda Grid WorkHours Background Image" ), mAgendaGridWorkHoursBackgroundImage );
450  mAgendaGridWorkHoursBackgroundImageItem->setLabel( i18n("Agenda Grid WorkHours Background Image") );
451  addItem( mAgendaGridWorkHoursBackgroundImageItem, QLatin1String( "AgendaGridWorkHoursBackgroundImage" ) );
452  mAgendaCalendarItemsBackgroundColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Agenda CalendarItems Background Color" ), mAgendaCalendarItemsBackgroundColor, QColor( 255, 100, 100 ) );
453  mAgendaCalendarItemsBackgroundColorItem->setLabel( i18n("Agenda CalendarItems Background Color") );
454  addItem( mAgendaCalendarItemsBackgroundColorItem, QLatin1String( "AgendaCalendarItemsBackgroundColor" ) );
455  mAgendaCalendarItemsBackgroundImageItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Agenda CalendarItems Background Image" ), mAgendaCalendarItemsBackgroundImage );
456  mAgendaCalendarItemsBackgroundImageItem->setLabel( i18n("Agenda CalendarItems Background Image") );
457  addItem( mAgendaCalendarItemsBackgroundImageItem, QLatin1String( "AgendaCalendarItemsBackgroundImage" ) );
458  mAgendaCalendarItemsFontItem = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "Agenda CalendarItems Font" ), mAgendaCalendarItemsFont );
459  mAgendaCalendarItemsFontItem->setLabel( i18n("Agenda CalendarItems Font") );
460  addItem( mAgendaCalendarItemsFontItem, QLatin1String( "AgendaCalendarItemsFont" ) );
461  mAgendaCalendarItemsFrameColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Agenda CalendarItems Frame Color" ), mAgendaCalendarItemsFrameColor, QColor( 255, 100, 100 ) );
462  mAgendaCalendarItemsFrameColorItem->setLabel( i18n("Agenda CalendarItems Frame Color") );
463  addItem( mAgendaCalendarItemsFrameColorItem, QLatin1String( "AgendaCalendarItemsFrameColor" ) );
464  mAgendaCalendarItemsIconItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Agenda CalendarItems Icon" ), mAgendaCalendarItemsIcon );
465  mAgendaCalendarItemsIconItem->setLabel( i18n("Agenda CalendarItems Icon") );
466  addItem( mAgendaCalendarItemsIconItem, QLatin1String( "AgendaCalendarItemsIcon" ) );
467  mAgendaCalendarItemsEventsBackgroundImageItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Agenda CalendarItems Events Background Image" ), mAgendaCalendarItemsEventsBackgroundImage );
468  mAgendaCalendarItemsEventsBackgroundImageItem->setLabel( i18n("Agenda CalendarItems Events Background Image") );
469  addItem( mAgendaCalendarItemsEventsBackgroundImageItem, QLatin1String( "AgendaCalendarItemsEventsBackgroundImage" ) );
470  mAgendaCalendarItemsEventsFontItem = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "Agenda CalendarItems Events Font" ), mAgendaCalendarItemsEventsFont );
471  mAgendaCalendarItemsEventsFontItem->setLabel( i18n("Agenda CalendarItems Events Font") );
472  addItem( mAgendaCalendarItemsEventsFontItem, QLatin1String( "AgendaCalendarItemsEventsFont" ) );
473  mAgendaCalendarItemsEventsFrameColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Agenda CalendarItems Events Frame Color" ), mAgendaCalendarItemsEventsFrameColor, QColor( 255, 100, 100 ) );
474  mAgendaCalendarItemsEventsFrameColorItem->setLabel( i18n("Agenda CalendarItems Events Frame Color") );
475  addItem( mAgendaCalendarItemsEventsFrameColorItem, QLatin1String( "AgendaCalendarItemsEventsFrameColor" ) );
476  mAgendaCalendarItemsEventsIconItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Agenda CalendarItems Events Icon" ), mAgendaCalendarItemsEventsIcon );
477  mAgendaCalendarItemsEventsIconItem->setLabel( i18n("Agenda CalendarItems Events Icon") );
478  addItem( mAgendaCalendarItemsEventsIconItem, QLatin1String( "AgendaCalendarItemsEventsIcon" ) );
479  mAgendaCalendarItemsToDosBackgroundColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Agenda CalendarItems ToDos Background Color" ), mAgendaCalendarItemsToDosBackgroundColor, QColor( 255, 100, 100 ) );
480  mAgendaCalendarItemsToDosBackgroundColorItem->setLabel( i18n("Agenda CalendarItems ToDos Background Color") );
481  addItem( mAgendaCalendarItemsToDosBackgroundColorItem, QLatin1String( "AgendaCalendarItemsToDosBackgroundColor" ) );
482  mAgendaCalendarItemsToDosBackgroundImageItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Agenda CalendarItems ToDos Background Image" ), mAgendaCalendarItemsToDosBackgroundImage );
483  mAgendaCalendarItemsToDosBackgroundImageItem->setLabel( i18n("Agenda CalendarItems ToDos Background Image") );
484  addItem( mAgendaCalendarItemsToDosBackgroundImageItem, QLatin1String( "AgendaCalendarItemsToDosBackgroundImage" ) );
485  mAgendaCalendarItemsToDosFontItem = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "Agenda CalendarItems ToDos Font" ), mAgendaCalendarItemsToDosFont );
486  mAgendaCalendarItemsToDosFontItem->setLabel( i18n("Agenda CalendarItems ToDos Font") );
487  addItem( mAgendaCalendarItemsToDosFontItem, QLatin1String( "AgendaCalendarItemsToDosFont" ) );
488  mAgendaCalendarItemsToDosFrameColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Agenda CalendarItems ToDos Frame Color" ), mAgendaCalendarItemsToDosFrameColor, QColor( 255, 100, 100 ) );
489  mAgendaCalendarItemsToDosFrameColorItem->setLabel( i18n("Agenda CalendarItems ToDos Frame Color") );
490  addItem( mAgendaCalendarItemsToDosFrameColorItem, QLatin1String( "AgendaCalendarItemsToDosFrameColor" ) );
491  mAgendaCalendarItemsToDosIconItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Agenda CalendarItems ToDos Icon" ), mAgendaCalendarItemsToDosIcon );
492  mAgendaCalendarItemsToDosIconItem->setLabel( i18n("Agenda CalendarItems ToDos Icon") );
493  addItem( mAgendaCalendarItemsToDosIconItem, QLatin1String( "AgendaCalendarItemsToDosIcon" ) );
494  mAgendaCalendarItemsToDosDueTodayBackgroundImageItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Agenda CalendarItems ToDos DueToday Background Image" ), mAgendaCalendarItemsToDosDueTodayBackgroundImage );
495  mAgendaCalendarItemsToDosDueTodayBackgroundImageItem->setLabel( i18n("Agenda CalendarItems ToDos DueToday Background Image") );
496  addItem( mAgendaCalendarItemsToDosDueTodayBackgroundImageItem, QLatin1String( "AgendaCalendarItemsToDosDueTodayBackgroundImage" ) );
497  mAgendaCalendarItemsToDosDueTodayFontItem = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "Agenda CalendarItems ToDos DueToday Font" ), mAgendaCalendarItemsToDosDueTodayFont );
498  mAgendaCalendarItemsToDosDueTodayFontItem->setLabel( i18n("Agenda CalendarItems ToDos DueToday Font") );
499  addItem( mAgendaCalendarItemsToDosDueTodayFontItem, QLatin1String( "AgendaCalendarItemsToDosDueTodayFont" ) );
500  mAgendaCalendarItemsToDosDueTodayFrameColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Agenda CalendarItems ToDos DueToday Frame Color" ), mAgendaCalendarItemsToDosDueTodayFrameColor );
501  mAgendaCalendarItemsToDosDueTodayFrameColorItem->setLabel( i18n("Agenda CalendarItems ToDos DueToday Frame Color") );
502  addItem( mAgendaCalendarItemsToDosDueTodayFrameColorItem, QLatin1String( "AgendaCalendarItemsToDosDueTodayFrameColor" ) );
503  mAgendaCalendarItemsToDosDueTodayIconItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Agenda CalendarItems ToDos DueToday Icon" ), mAgendaCalendarItemsToDosDueTodayIcon );
504  mAgendaCalendarItemsToDosDueTodayIconItem->setLabel( i18n("Agenda CalendarItems ToDos DueToday Icon") );
505  addItem( mAgendaCalendarItemsToDosDueTodayIconItem, QLatin1String( "AgendaCalendarItemsToDosDueTodayIcon" ) );
506  mAgendaCalendarItemsToDosOverdueBackgroundImageItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Agenda CalendarItems ToDos Overdue Background Image" ), mAgendaCalendarItemsToDosOverdueBackgroundImage );
507  mAgendaCalendarItemsToDosOverdueBackgroundImageItem->setLabel( i18n("Agenda CalendarItems ToDos Overdue Background Image") );
508  addItem( mAgendaCalendarItemsToDosOverdueBackgroundImageItem, QLatin1String( "AgendaCalendarItemsToDosOverdueBackgroundImage" ) );
509  mAgendaCalendarItemsToDosOverdueFontItem = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "Agenda CalendarItems ToDos Overdue Font" ), mAgendaCalendarItemsToDosOverdueFont );
510  mAgendaCalendarItemsToDosOverdueFontItem->setLabel( i18n("Agenda CalendarItems ToDos Overdue Font") );
511  addItem( mAgendaCalendarItemsToDosOverdueFontItem, QLatin1String( "AgendaCalendarItemsToDosOverdueFont" ) );
512  mAgendaCalendarItemsToDosOverdueFrameColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Agenda CalendarItems ToDos Overdue Frame Color" ), mAgendaCalendarItemsToDosOverdueFrameColor );
513  mAgendaCalendarItemsToDosOverdueFrameColorItem->setLabel( i18n("Agenda CalendarItems ToDos Overdue Frame Color") );
514  addItem( mAgendaCalendarItemsToDosOverdueFrameColorItem, QLatin1String( "AgendaCalendarItemsToDosOverdueFrameColor" ) );
515  mAgendaCalendarItemsToDosOverdueIconItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Agenda CalendarItems ToDos Overdue Icon" ), mAgendaCalendarItemsToDosOverdueIcon );
516  mAgendaCalendarItemsToDosOverdueIconItem->setLabel( i18n("Agenda CalendarItems ToDos Overdue Icon") );
517  addItem( mAgendaCalendarItemsToDosOverdueIconItem, QLatin1String( "AgendaCalendarItemsToDosOverdueIcon" ) );
518  mAgendaHolidaysBackgroundColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Agenda Holidays Background Color" ), mAgendaHolidaysBackgroundColor, QColor( 255, 100, 100 ) );
519  mAgendaHolidaysBackgroundColorItem->setLabel( i18n("Holiday color") );
520  mAgendaHolidaysBackgroundColorItem->setWhatsThis( i18n("Select the holiday color here. The holiday color will be used for the holiday name in the month view and the holiday number in the date navigator.") );
521  addItem( mAgendaHolidaysBackgroundColorItem, QLatin1String( "AgendaHolidaysBackgroundColor" ) );
522  mAgendaHolidaysBackgroundImageItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Agenda Holidays Background Image" ), mAgendaHolidaysBackgroundImage );
523  mAgendaHolidaysBackgroundImageItem->setLabel( i18n("Agenda Holidays Background Image") );
524  addItem( mAgendaHolidaysBackgroundImageItem, QLatin1String( "AgendaHolidaysBackgroundImage" ) );
525 
526  setCurrentGroup( QLatin1String( "Theme/Month view" ) );
527 
528  mMonthGridBackgroundColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Month Grid Background Color" ), mMonthGridBackgroundColor, QColor( 255, 255, 255 ) );
529  mMonthGridBackgroundColorItem->setLabel( i18n("Month view background color") );
530  mMonthGridBackgroundColorItem->setWhatsThis( i18n("Select the Month view background color here.") );
531  addItem( mMonthGridBackgroundColorItem, QLatin1String( "MonthGridBackgroundColor" ) );
532  mMonthGridBackgroundImageItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Month Grid Background Image" ), mMonthGridBackgroundImage );
533  mMonthGridBackgroundImageItem->setLabel( i18n("Month Grid Background Image") );
534  addItem( mMonthGridBackgroundImageItem, QLatin1String( "MonthGridBackgroundImage" ) );
535  mMonthGridHighlightColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Month Grid Highlight Color" ), mMonthGridHighlightColor, QColor( 100, 100, 255 ) );
536  mMonthGridHighlightColorItem->setLabel( i18n("Highlight color") );
537  mMonthGridHighlightColorItem->setWhatsThis( i18n("Select the highlight color here. The highlight color will be used for marking the currently selected area in your Month and in the date navigator.") );
538  addItem( mMonthGridHighlightColorItem, QLatin1String( "MonthGridHighlightColor" ) );
539  mMonthGridWorkHoursBackgroundColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Month Grid WorkHours Background Color" ), mMonthGridWorkHoursBackgroundColor, QColor( 225, 225, 255 ) );
540  mMonthGridWorkHoursBackgroundColorItem->setLabel( i18n("Working hours color") );
541  mMonthGridWorkHoursBackgroundColorItem->setWhatsThis( i18n("Select the working hours background color for the Month view here.") );
542  addItem( mMonthGridWorkHoursBackgroundColorItem, QLatin1String( "MonthGridWorkHoursBackgroundColor" ) );
543  mMonthGridWorkHoursBackgroundImageItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Month Grid WorkHours Background Image" ), mMonthGridWorkHoursBackgroundImage );
544  mMonthGridWorkHoursBackgroundImageItem->setLabel( i18n("Month Grid WorkHours Background Image") );
545  addItem( mMonthGridWorkHoursBackgroundImageItem, QLatin1String( "MonthGridWorkHoursBackgroundImage" ) );
546  mMonthCalendarItemsBackgroundColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Month CalendarItems Background Color" ), mMonthCalendarItemsBackgroundColor, QColor( 255, 100, 100 ) );
547  mMonthCalendarItemsBackgroundColorItem->setLabel( i18n("Month CalendarItems Background Color") );
548  addItem( mMonthCalendarItemsBackgroundColorItem, QLatin1String( "MonthCalendarItemsBackgroundColor" ) );
549  mMonthCalendarItemsBackgroundImageItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Month CalendarItems Background Image" ), mMonthCalendarItemsBackgroundImage );
550  mMonthCalendarItemsBackgroundImageItem->setLabel( i18n("Month CalendarItems Background Image") );
551  addItem( mMonthCalendarItemsBackgroundImageItem, QLatin1String( "MonthCalendarItemsBackgroundImage" ) );
552  mMonthCalendarItemsFontItem = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "Month CalendarItems Font" ), mMonthCalendarItemsFont );
553  mMonthCalendarItemsFontItem->setLabel( i18n("Month CalendarItems Font") );
554  addItem( mMonthCalendarItemsFontItem, QLatin1String( "MonthCalendarItemsFont" ) );
555  mMonthCalendarItemsFrameColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Month CalendarItems Frame Color" ), mMonthCalendarItemsFrameColor, QColor( 255, 100, 100 ) );
556  mMonthCalendarItemsFrameColorItem->setLabel( i18n("Month CalendarItems Frame Color") );
557  addItem( mMonthCalendarItemsFrameColorItem, QLatin1String( "MonthCalendarItemsFrameColor" ) );
558  mMonthCalendarItemsIconItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Month CalendarItems Icon" ), mMonthCalendarItemsIcon );
559  mMonthCalendarItemsIconItem->setLabel( i18n("Month CalendarItems Icon") );
560  addItem( mMonthCalendarItemsIconItem, QLatin1String( "MonthCalendarItemsIcon" ) );
561  mMonthCalendarItemsEventsBackgroundColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Month CalendarItems Events Background Color" ), mMonthCalendarItemsEventsBackgroundColor, QColor( 151, 235, 121 ) );
562  mMonthCalendarItemsEventsBackgroundColorItem->setLabel( i18n("Default event color") );
563  mMonthCalendarItemsEventsBackgroundColorItem->setWhatsThis( i18n("Select the default event color here. The default event color will be used for events categories in your Month. Note that you can specify a separate color for each event category below.") );
564  addItem( mMonthCalendarItemsEventsBackgroundColorItem, QLatin1String( "MonthCalendarItemsEventsBackgroundColor" ) );
565  mMonthCalendarItemsEventsBackgroundImageItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Month CalendarItems Events Background Image" ), mMonthCalendarItemsEventsBackgroundImage );
566  mMonthCalendarItemsEventsBackgroundImageItem->setLabel( i18n("Month CalendarItems Events Background Image") );
567  addItem( mMonthCalendarItemsEventsBackgroundImageItem, QLatin1String( "MonthCalendarItemsEventsBackgroundImage" ) );
568  mMonthCalendarItemsEventsFontItem = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "Month CalendarItems Events Font" ), mMonthCalendarItemsEventsFont );
569  mMonthCalendarItemsEventsFontItem->setLabel( i18n("Month CalendarItems Events Font") );
570  addItem( mMonthCalendarItemsEventsFontItem, QLatin1String( "MonthCalendarItemsEventsFont" ) );
571  mMonthCalendarItemsEventsFrameColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Month CalendarItems Events Frame Color" ), mMonthCalendarItemsEventsFrameColor, QColor( 255, 100, 100 ) );
572  mMonthCalendarItemsEventsFrameColorItem->setLabel( i18n("Month CalendarItems Events Frame Color") );
573  addItem( mMonthCalendarItemsEventsFrameColorItem, QLatin1String( "MonthCalendarItemsEventsFrameColor" ) );
574  mMonthCalendarItemsEventsIconItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Month CalendarItems Events Icon" ), mMonthCalendarItemsEventsIcon );
575  mMonthCalendarItemsEventsIconItem->setLabel( i18n("Month CalendarItems Events Icon") );
576  addItem( mMonthCalendarItemsEventsIconItem, QLatin1String( "MonthCalendarItemsEventsIcon" ) );
577  mMonthCalendarItemsToDosBackgroundColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Month CalendarItems ToDos Background Color" ), mMonthCalendarItemsToDosBackgroundColor, QColor( 255, 100, 100 ) );
578  mMonthCalendarItemsToDosBackgroundColorItem->setLabel( i18n("Month CalendarItems ToDos Background Color") );
579  addItem( mMonthCalendarItemsToDosBackgroundColorItem, QLatin1String( "MonthCalendarItemsToDosBackgroundColor" ) );
580  mMonthCalendarItemsToDosBackgroundImageItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Month CalendarItems ToDos Background Image" ), mMonthCalendarItemsToDosBackgroundImage );
581  mMonthCalendarItemsToDosBackgroundImageItem->setLabel( i18n("Month CalendarItems ToDos Background Image") );
582  addItem( mMonthCalendarItemsToDosBackgroundImageItem, QLatin1String( "MonthCalendarItemsToDosBackgroundImage" ) );
583  mMonthCalendarItemsToDosFontItem = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "Month CalendarItems ToDos Font" ), mMonthCalendarItemsToDosFont );
584  mMonthCalendarItemsToDosFontItem->setLabel( i18n("Month CalendarItems ToDos Font") );
585  addItem( mMonthCalendarItemsToDosFontItem, QLatin1String( "MonthCalendarItemsToDosFont" ) );
586  mMonthCalendarItemsToDosFrameColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Month CalendarItems ToDos Frame Color" ), mMonthCalendarItemsToDosFrameColor, QColor( 255, 100, 100 ) );
587  mMonthCalendarItemsToDosFrameColorItem->setLabel( i18n("Month CalendarItems ToDos Frame Color") );
588  addItem( mMonthCalendarItemsToDosFrameColorItem, QLatin1String( "MonthCalendarItemsToDosFrameColor" ) );
589  mMonthCalendarItemsToDosIconItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Month CalendarItems ToDos Icon" ), mMonthCalendarItemsToDosIcon );
590  mMonthCalendarItemsToDosIconItem->setLabel( i18n("Month CalendarItems ToDos Icon") );
591  addItem( mMonthCalendarItemsToDosIconItem, QLatin1String( "MonthCalendarItemsToDosIcon" ) );
592  mMonthCalendarItemsToDosDueTodayBackgroundColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Month CalendarItems ToDos DueTodayBackground Color" ), mMonthCalendarItemsToDosDueTodayBackgroundColor, QColor( 255, 200, 50 ) );
593  mMonthCalendarItemsToDosDueTodayBackgroundColorItem->setLabel( i18n("To-do due today color") );
594  mMonthCalendarItemsToDosDueTodayBackgroundColorItem->setWhatsThis( i18n("Select the to-do due today color here.") );
595  addItem( mMonthCalendarItemsToDosDueTodayBackgroundColorItem, QLatin1String( "MonthCalendarItemsToDosDueTodayBackgroundColor" ) );
596  mMonthCalendarItemsToDosDueTodayBackgroundImageItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Month CalendarItems ToDos DueToday Background Image" ), mMonthCalendarItemsToDosDueTodayBackgroundImage );
597  mMonthCalendarItemsToDosDueTodayBackgroundImageItem->setLabel( i18n("Month CalendarItems ToDos DueToday Background Image") );
598  addItem( mMonthCalendarItemsToDosDueTodayBackgroundImageItem, QLatin1String( "MonthCalendarItemsToDosDueTodayBackgroundImage" ) );
599  mMonthCalendarItemsToDosDueTodayFontItem = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "Month CalendarItems ToDos DueToday Font" ), mMonthCalendarItemsToDosDueTodayFont );
600  mMonthCalendarItemsToDosDueTodayFontItem->setLabel( i18n("Month CalendarItems ToDos DueToday Font") );
601  addItem( mMonthCalendarItemsToDosDueTodayFontItem, QLatin1String( "MonthCalendarItemsToDosDueTodayFont" ) );
602  mMonthCalendarItemsToDosDueTodayFrameColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Month CalendarItems ToDos DueToday Frame Color" ), mMonthCalendarItemsToDosDueTodayFrameColor );
603  mMonthCalendarItemsToDosDueTodayFrameColorItem->setLabel( i18n("Month CalendarItems ToDos DueToday Frame Color") );
604  addItem( mMonthCalendarItemsToDosDueTodayFrameColorItem, QLatin1String( "MonthCalendarItemsToDosDueTodayFrameColor" ) );
605  mMonthCalendarItemsToDosDueTodayIconItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Month CalendarItems ToDos DueToday Icon" ), mMonthCalendarItemsToDosDueTodayIcon );
606  mMonthCalendarItemsToDosDueTodayIconItem->setLabel( i18n("Month CalendarItems ToDos DueToday Icon") );
607  addItem( mMonthCalendarItemsToDosDueTodayIconItem, QLatin1String( "MonthCalendarItemsToDosDueTodayIcon" ) );
608  mMonthCalendarItemsToDosOverdueBackgroundColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Month CalendarItems ToDos Overdue Background Color" ), mMonthCalendarItemsToDosOverdueBackgroundColor, QColor( 255, 100, 100 ) );
609  mMonthCalendarItemsToDosOverdueBackgroundColorItem->setLabel( i18n("To-do overdue color") );
610  mMonthCalendarItemsToDosOverdueBackgroundColorItem->setWhatsThis( i18n("Select the to-do overdue color here.") );
611  addItem( mMonthCalendarItemsToDosOverdueBackgroundColorItem, QLatin1String( "MonthCalendarItemsToDosOverdueBackgroundColor" ) );
612  mMonthCalendarItemsToDosOverdueBackgroundImageItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Month CalendarItems ToDos Overdue Background Image" ), mMonthCalendarItemsToDosOverdueBackgroundImage );
613  mMonthCalendarItemsToDosOverdueBackgroundImageItem->setLabel( i18n("Month CalendarItems ToDos Overdue Background Image") );
614  addItem( mMonthCalendarItemsToDosOverdueBackgroundImageItem, QLatin1String( "MonthCalendarItemsToDosOverdueBackgroundImage" ) );
615  mMonthCalendarItemsToDosOverdueFontItem = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "Month CalendarItems ToDos Overdue Font" ), mMonthCalendarItemsToDosOverdueFont );
616  mMonthCalendarItemsToDosOverdueFontItem->setLabel( i18n("Month CalendarItems ToDos Overdue Font") );
617  addItem( mMonthCalendarItemsToDosOverdueFontItem, QLatin1String( "MonthCalendarItemsToDosOverdueFont" ) );
618  mMonthCalendarItemsToDosOverdueFrameColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Month CalendarItems ToDos Overdue Frame Color" ), mMonthCalendarItemsToDosOverdueFrameColor );
619  mMonthCalendarItemsToDosOverdueFrameColorItem->setLabel( i18n("Month CalendarItems ToDos Overdue Frame Color") );
620  addItem( mMonthCalendarItemsToDosOverdueFrameColorItem, QLatin1String( "MonthCalendarItemsToDosOverdueFrameColor" ) );
621  mMonthCalendarItemsToDosOverdueIconItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Month CalendarItems ToDos Overdue Icon" ), mMonthCalendarItemsToDosOverdueIcon );
622  mMonthCalendarItemsToDosOverdueIconItem->setLabel( i18n("Month CalendarItems ToDos Overdue Icon") );
623  addItem( mMonthCalendarItemsToDosOverdueIconItem, QLatin1String( "MonthCalendarItemsToDosOverdueIcon" ) );
624  mMonthHolidaysBackgroundColorItem = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Month Holidays Background Color" ), mMonthHolidaysBackgroundColor, QColor( 255, 100, 100 ) );
625  mMonthHolidaysBackgroundColorItem->setLabel( i18n("Holiday color") );
626  mMonthHolidaysBackgroundColorItem->setWhatsThis( i18n("Select the holiday color here. The holiday color will be used for the holiday name in the month view and the holiday number in the date navigator.") );
627  addItem( mMonthHolidaysBackgroundColorItem, QLatin1String( "MonthHolidaysBackgroundColor" ) );
628  mMonthHolidaysBackgroundImageItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Month Holidays Background Image" ), mMonthHolidaysBackgroundImage );
629  mMonthHolidaysBackgroundImageItem->setLabel( i18n("Month Holidays Background Image") );
630  addItem( mMonthHolidaysBackgroundImageItem, QLatin1String( "MonthHolidaysBackgroundImage" ) );
631 }
632 
633 KOPrefsBase::~KOPrefsBase()
634 {
635 }
636 
KOPrefsBase::mCompactDialogs
bool mCompactDialogs
Definition: koprefs_base.h:3193
KOPrefsBase::mMonthCalendarItemsToDosBackgroundImage
QString mMonthCalendarItemsToDosBackgroundImage
Definition: koprefs_base.h:3252
KOPrefsBase::mFullViewTodo
bool mFullViewTodo
Definition: koprefs_base.h:3167
KOPrefsBase::mMonthGridBackgroundImage
QString mMonthGridBackgroundImage
Definition: koprefs_base.h:3237
KOPrefsBase::mAgendaGridWorkHoursBackgroundImage
QString mAgendaGridWorkHoursBackgroundImage
Definition: koprefs_base.h:3209
KOPrefsBase::mWeekNumbersShowWork
bool mWeekNumbersShowWork
Definition: koprefs_base.h:3144
KOPrefsBase::mAssignDefaultResourceColors
bool mAssignDefaultResourceColors
Definition: koprefs_base.h:3200
KOPrefsBase::mAgendaCalendarItemsToDosOverdueIcon
QString mAgendaCalendarItemsToDosOverdueIcon
Definition: koprefs_base.h:3231
KOPrefsBase::mRecordTodosInJournals
bool mRecordTodosInJournals
Definition: koprefs_base.h:3169
KOPrefsBase::mExcludeHolidays
bool mExcludeHolidays
Definition: koprefs_base.h:3133
KOPrefsBase::mShowMenuBar
bool mShowMenuBar
Definition: koprefs_base.h:3194
KOPrefsBase::mMonthCalendarItemsToDosDueTodayBackgroundColor
QColor mMonthCalendarItemsToDosDueTodayBackgroundColor
Definition: koprefs_base.h:3256
KOPrefsBase::mAgendaCalendarItemsBackgroundImage
QString mAgendaCalendarItemsBackgroundImage
Definition: koprefs_base.h:3211
KOPrefsBase::mAgendaHolidaysBackgroundColor
QColor mAgendaHolidaysBackgroundColor
Definition: koprefs_base.h:3232
KOPrefsBase::mMarcusBainsShowSeconds
bool mMarcusBainsShowSeconds
Definition: koprefs_base.h:3151
KOPrefsBase::mMonthGridBackgroundColor
QColor mMonthGridBackgroundColor
Definition: koprefs_base.h:3236
KOPrefsBase::mMonthCalendarItemsEventsBackgroundColor
QColor mMonthCalendarItemsEventsBackgroundColor
Definition: koprefs_base.h:3246
KOPrefsBase::mAgendaCalendarItemsToDosDueTodayBackgroundImage
QString mAgendaCalendarItemsToDosDueTodayBackgroundImage
Definition: koprefs_base.h:3224
KOPrefsBase::mEnableTodoQuickSearch
bool mEnableTodoQuickSearch
Definition: koprefs_base.h:3191
KOPrefsBase::mAgendaCalendarItemsEventsFrameColor
QColor mAgendaCalendarItemsEventsFrameColor
Definition: koprefs_base.h:3217
KOPrefsBase::mAgendaCalendarItemsFrameColor
QColor mAgendaCalendarItemsFrameColor
Definition: koprefs_base.h:3213
KOPrefsBase::mMonthCalendarItemsBackgroundColor
QColor mMonthCalendarItemsBackgroundColor
Definition: koprefs_base.h:3241
KOPrefsBase::mAgendaCalendarItemsToDosDueTodayFont
QFont mAgendaCalendarItemsToDosDueTodayFont
Definition: koprefs_base.h:3225
KOPrefsBase::askDestination
Definition: koprefs_base.h:14
KOPrefsBase::mAgendaCalendarItemsToDosDueTodayFrameColor
QColor mAgendaCalendarItemsToDosDueTodayFrameColor
Definition: koprefs_base.h:3226
KOPrefsBase::mAgendaCalendarItemsFont
QFont mAgendaCalendarItemsFont
Definition: koprefs_base.h:3212
KOPrefsBase::~KOPrefsBase
~KOPrefsBase()
Definition: koprefs_base.cpp:633
KOPrefsBase::mMonthCalendarItemsEventsBackgroundImage
QString mMonthCalendarItemsEventsBackgroundImage
Definition: koprefs_base.h:3247
KOPrefsBase::mAgendaViewColors
int mAgendaViewColors
Definition: koprefs_base.h:3153
KOPrefsBase::mMonthCalendarItemsToDosDueTodayFont
QFont mMonthCalendarItemsToDosDueTodayFont
Definition: koprefs_base.h:3258
KOPrefsBase::mDefaultResourceColors
QStringList mDefaultResourceColors
Definition: koprefs_base.h:3199
KOPrefsBase::mDefaultTodoAttachMethod
int mDefaultTodoAttachMethod
Definition: koprefs_base.h:3192
KOPrefsBase::mHighlightTodos
bool mHighlightTodos
Definition: koprefs_base.h:3142
KOPrefsBase::mTodoOverdueColor
QColor mTodoOverdueColor
Definition: koprefs_base.h:3178
KOPrefsBase::mWorkWeekMask
int mWorkWeekMask
Definition: koprefs_base.h:3197
KOPrefsBase::mMonthCalendarItemsFont
QFont mMonthCalendarItemsFont
Definition: koprefs_base.h:3243
KOPrefsBase::mAgendaCalendarItemsToDosBackgroundColor
QColor mAgendaCalendarItemsToDosBackgroundColor
Definition: koprefs_base.h:3219
KConfigSkeleton
KOPrefsBase::mAgendaCalendarItemsEventsFont
QFont mAgendaCalendarItemsEventsFont
Definition: koprefs_base.h:3216
KOPrefsBase::mHourSize
int mHourSize
Definition: koprefs_base.h:3147
KOPrefsBase::TodoAttachInlineFull
Definition: koprefs_base.h:18
KOPrefsBase::mSortCompletedTodosSeparately
bool mSortCompletedTodosSeparately
Definition: koprefs_base.h:3166
KOPrefsBase::mMonthCalendarItemsToDosFont
QFont mMonthCalendarItemsToDosFont
Definition: koprefs_base.h:3253
KOPrefsBase::mAgendaMarcusBainsLineLineColor
QColor mAgendaMarcusBainsLineLineColor
Definition: koprefs_base.h:3174
KOPrefsBase::mAgendaGridHighlightColor
QColor mAgendaGridHighlightColor
Definition: koprefs_base.h:3208
KOPrefsBase::mMonthCalendarItemsFrameColor
QColor mMonthCalendarItemsFrameColor
Definition: koprefs_base.h:3244
KOPrefsBase::mMonthCalendarItemsToDosOverdueFont
QFont mMonthCalendarItemsToDosOverdueFont
Definition: koprefs_base.h:3263
KOPrefsBase::mShowTodosMonthView
bool mShowTodosMonthView
Definition: koprefs_base.h:3160
KOPrefsBase::mAgendaViewCalendarDisplay
int mAgendaViewCalendarDisplay
Definition: koprefs_base.h:3155
KOPrefsBase::mMonthCalendarItemsToDosDueTodayBackgroundImage
QString mMonthCalendarItemsToDosDueTodayBackgroundImage
Definition: koprefs_base.h:3257
KOPrefsBase::mColorMonthBusyDaysEnabled
bool mColorMonthBusyDaysEnabled
Definition: koprefs_base.h:3134
KOPrefsBase::mDailyRecur
bool mDailyRecur
Definition: koprefs_base.h:3140
KOPrefsBase::mDecorationsAtMonthViewTop
QStringList mDecorationsAtMonthViewTop
Definition: koprefs_base.h:3201
KOPrefsBase::mHighlightJournals
bool mHighlightJournals
Definition: koprefs_base.h:3143
KOPrefsBase::CategoryInsideResourceOutside
Definition: koprefs_base.h:15
KOPrefsBase::mAgendaCalendarItemsToDosBackgroundImage
QString mAgendaCalendarItemsToDosBackgroundImage
Definition: koprefs_base.h:3220
KOPrefsBase::MonthItemCategoryInsideResourceOutside
Definition: koprefs_base.h:17
KOPrefsBase::mEnableQuickTodo
bool mEnableQuickTodo
Definition: koprefs_base.h:3190
KOPrefsBase::mDecorationsAtAgendaViewBottom
QStringList mDecorationsAtAgendaViewBottom
Definition: koprefs_base.h:3203
KOPrefsBase::mMonthCalendarItemsBackgroundImage
QString mMonthCalendarItemsBackgroundImage
Definition: koprefs_base.h:3242
KOPrefsBase::mMonthViewColors
int mMonthViewColors
Definition: koprefs_base.h:3163
KOPrefsBase::mMonthCalendarItemsToDosDueTodayFrameColor
QColor mMonthCalendarItemsToDosDueTodayFrameColor
Definition: koprefs_base.h:3259
KOPrefsBase::mMonthCalendarItemsToDosDueTodayIcon
QString mMonthCalendarItemsToDosDueTodayIcon
Definition: koprefs_base.h:3260
KOPrefsBase::mFlatListTodo
bool mFlatListTodo
Definition: koprefs_base.h:3168
KOPrefsBase::mMonthCalendarItemsEventsIcon
QString mMonthCalendarItemsEventsIcon
Definition: koprefs_base.h:3250
KOPrefsBase::mAgendaTimeLabelsFont
QFont mAgendaTimeLabelsFont
Definition: koprefs_base.h:3181
KOPrefsBase::mTodosUseCategoryColors
bool mTodosUseCategoryColors
Definition: koprefs_base.h:3138
KOPrefsBase::mAgendaCalendarItemsToDosIcon
QString mAgendaCalendarItemsToDosIcon
Definition: koprefs_base.h:3223
KOPrefsBase::mNextXDays
int mNextXDays
Definition: koprefs_base.h:3139
KOPrefsBase::mHolidays
QString mHolidays
Definition: koprefs_base.h:3130
KOPrefsBase::mAgendaGridBackgroundImage
QString mAgendaGridBackgroundImage
Definition: koprefs_base.h:3207
KOPrefsBase::mMonthCalendarItemsEventsFont
QFont mMonthCalendarItemsEventsFont
Definition: koprefs_base.h:3248
KOPrefsBase::mDefaultResourceColorSeed
int mDefaultResourceColorSeed
Definition: koprefs_base.h:3198
KOPrefsBase::mMonthGridWorkHoursBackgroundColor
QColor mMonthGridWorkHoursBackgroundColor
Definition: koprefs_base.h:3239
KOPrefsBase::mViewBgBusyColor
QColor mViewBgBusyColor
Definition: koprefs_base.h:3175
KOPrefsBase::mAgendaCalendarItemsEventsBackgroundImage
QString mAgendaCalendarItemsEventsBackgroundImage
Definition: koprefs_base.h:3215
KOPrefsBase::mAgendaCalendarItemsToDosOverdueFont
QFont mAgendaCalendarItemsToDosOverdueFont
Definition: koprefs_base.h:3229
KOPrefsBase::mAgendaCalendarItemsToDosOverdueBackgroundImage
QString mAgendaCalendarItemsToDosOverdueBackgroundImage
Definition: koprefs_base.h:3228
KOPrefsBase::mAgendaCalendarItemsIcon
QString mAgendaCalendarItemsIcon
Definition: koprefs_base.h:3214
KOPrefsBase::mShowTimeInMonthView
bool mShowTimeInMonthView
Definition: koprefs_base.h:3159
KOPrefsBase::mHolidayColor
QColor mHolidayColor
Definition: koprefs_base.h:3172
KOPrefsBase::mAgendaCalendarItemsToDosFont
QFont mAgendaCalendarItemsToDosFont
Definition: koprefs_base.h:3221
KOPrefsBase::mEnableToolTips
bool mEnableToolTips
Definition: koprefs_base.h:3137
KOPrefsBase::mMonthViewFont
QFont mMonthViewFont
Definition: koprefs_base.h:3182
KOPrefsBase::mTodoDueTodayColor
QColor mTodoDueTodayColor
Definition: koprefs_base.h:3177
KOPrefsBase::mAgendaCalendarItemsEventsIcon
QString mAgendaCalendarItemsEventsIcon
Definition: koprefs_base.h:3218
KOPrefsBase::mMonthCalendarItemsToDosFrameColor
QColor mMonthCalendarItemsToDosFrameColor
Definition: koprefs_base.h:3254
KOPrefsBase::mMonthCalendarItemsToDosOverdueFrameColor
QColor mMonthCalendarItemsToDosOverdueFrameColor
Definition: koprefs_base.h:3264
KOPrefsBase::mEnableAgendaItemIcons
bool mEnableAgendaItemIcons
Definition: koprefs_base.h:3148
KOPrefsBase::mAgendaViewFont
QFont mAgendaViewFont
Definition: koprefs_base.h:3183
KOPrefsBase::mDayBegins
QDateTime mDayBegins
Definition: koprefs_base.h:3129
KOPrefsBase::mMonthCalendarItemsIcon
QString mMonthCalendarItemsIcon
Definition: koprefs_base.h:3245
KOPrefsBase::mMonthCalendarItemsToDosOverdueBackgroundColor
QColor mMonthCalendarItemsToDosOverdueBackgroundColor
Definition: koprefs_base.h:3261
KOPrefsBase::mAgendaCalendarItemsBackgroundColor
QColor mAgendaCalendarItemsBackgroundColor
Definition: koprefs_base.h:3210
KOPrefsBase::mConfirm
bool mConfirm
Definition: koprefs_base.h:3121
KOPrefsBase::mMonthHolidaysBackgroundColor
QColor mMonthHolidaysBackgroundColor
Definition: koprefs_base.h:3266
KOPrefsBase::mAgendaBgColor
QColor mAgendaBgColor
Definition: koprefs_base.h:3173
KOPrefsBase::mWeeklyRecur
bool mWeeklyRecur
Definition: koprefs_base.h:3141
KOPrefsBase::mShowReminderDaemon
bool mShowReminderDaemon
Definition: koprefs_base.h:3125
KOPrefsBase::mMonthCalendarItemsEventsFrameColor
QColor mMonthCalendarItemsEventsFrameColor
Definition: koprefs_base.h:3249
KOPrefsBase::mAgendaCalendarItemsToDosOverdueFrameColor
QColor mAgendaCalendarItemsToDosOverdueFrameColor
Definition: koprefs_base.h:3230
KOPrefsBase::mDestination
int mDestination
Definition: koprefs_base.h:3122
KOPrefsBase::mFullViewMonth
bool mFullViewMonth
Definition: koprefs_base.h:3162
KOPrefsBase::mMonthCalendarItemsToDosOverdueIcon
QString mMonthCalendarItemsToDosOverdueIcon
Definition: koprefs_base.h:3265
KOPrefsBase::mMonthCalendarItemsToDosOverdueBackgroundImage
QString mMonthCalendarItemsToDosOverdueBackgroundImage
Definition: koprefs_base.h:3262
KOPrefsBase::mEnableMonthItemIcons
bool mEnableMonthItemIcons
Definition: koprefs_base.h:3158
KOPrefsBase::mSelectedPlugins
QStringList mSelectedPlugins
Definition: koprefs_base.h:3187
KOPrefsBase::mTimeZoneId
QString mTimeZoneId
Definition: koprefs_base.h:3128
KOPrefsBase::mWorkingHoursColor
QColor mWorkingHoursColor
Definition: koprefs_base.h:3176
KOPrefsBase::mMonthGridHighlightColor
QColor mMonthGridHighlightColor
Definition: koprefs_base.h:3238
KOPrefsBase::mShowJournalsMonthView
bool mShowJournalsMonthView
Definition: koprefs_base.h:3161
KOPrefsBase::mAgendaHolidaysBackgroundImage
QString mAgendaHolidaysBackgroundImage
Definition: koprefs_base.h:3233
KOPrefsBase::mAgendaGridBackgroundColor
QColor mAgendaGridBackgroundColor
Definition: koprefs_base.h:3206
KOPrefsBase::mMonthGridWorkHoursBackgroundImage
QString mMonthGridWorkHoursBackgroundImage
Definition: koprefs_base.h:3240
KOPrefsBase::mWorkingHoursStart
QDateTime mWorkingHoursStart
Definition: koprefs_base.h:3131
KOPrefsBase::mColorBusyDaysEnabled
bool mColorBusyDaysEnabled
Definition: koprefs_base.h:3154
KOPrefsBase::KOPrefsBase
KOPrefsBase()
Definition: koprefs_base.cpp:8
KOPrefsBase::mAgendaMarcusBainsLineFont
QFont mAgendaMarcusBainsLineFont
Definition: koprefs_base.h:3184
KOPrefsBase::mShowTodosAgendaView
bool mShowTodosAgendaView
Definition: koprefs_base.h:3149
KOPrefsBase::mAutoExportInterval
int mAutoExportInterval
Definition: koprefs_base.h:3120
KOPrefsBase::mAutoExport
bool mAutoExport
Definition: koprefs_base.h:3119
KOPrefsBase::mWorkingHoursEnd
QDateTime mWorkingHoursEnd
Definition: koprefs_base.h:3132
KOPrefsBase::mDecorationsAtAgendaViewTop
QStringList mDecorationsAtAgendaViewTop
Definition: koprefs_base.h:3202
KOPrefsBase::mMonthCalendarItemsToDosIcon
QString mMonthCalendarItemsToDosIcon
Definition: koprefs_base.h:3255
KOPrefsBase::mMonthHolidaysBackgroundImage
QString mMonthHolidaysBackgroundImage
Definition: koprefs_base.h:3267
KOPrefsBase::CalendarsMerged
Definition: koprefs_base.h:16
KOPrefsBase::mAgendaCalendarItemsToDosDueTodayIcon
QString mAgendaCalendarItemsToDosDueTodayIcon
Definition: koprefs_base.h:3227
KOPrefsBase::mMarcusBainsEnabled
bool mMarcusBainsEnabled
Definition: koprefs_base.h:3150
KOPrefsBase::mSelectionStartsEditor
bool mSelectionStartsEditor
Definition: koprefs_base.h:3152
KOPrefsBase::mMonthCalendarItemsToDosBackgroundColor
QColor mMonthCalendarItemsToDosBackgroundColor
Definition: koprefs_base.h:3251
koprefs_base.h
KOPrefsBase::mAgendaCalendarItemsToDosFrameColor
QColor mAgendaCalendarItemsToDosFrameColor
Definition: koprefs_base.h:3222
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

korganizer

Skip menu "korganizer"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

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