korganizer
koprefs_base.h
Go to the documentation of this file.00001
00002
00003 #ifndef KOPREFSBASE_H
00004 #define KOPREFSBASE_H
00005
00006 #include <libkdepim/kpimprefs.h>
00007
00008 #include <kglobal.h>
00009 #include <kconfigskeleton.h>
00010 #include <kdebug.h>
00011
00012 #include <klocale.h>
00013 class KOPrefsBase : public KPIM::KPimPrefs
00014 {
00015 public:
00016 enum { actionDelete, actionArchive };
00017 enum { UnitDays, UnitWeeks, UnitMonths };
00018 enum { standardDestination, askDestination };
00019 enum { MailClientKMail, MailClientSendmail };
00020 enum { CategoryInsideResourceOutside, ResourceInsideCategoryOutside, CategoryOnly, ResourceOnly };
00021 enum { CalendarsMerged, CalendarsSideBySide, AllCalendarViews };
00022 enum { IMIPDummy, IMIPKMail };
00023 enum { Ask, Link, InlineFull, InlineBody };
00024 enum { TodoAttachAsk, TodoAttachLink, TodoAttachInlineFull };
00025
00026 KOPrefsBase( );
00027 ~KOPrefsBase();
00028
00032 void setAutoSave( bool v )
00033 {
00034 if (!isImmutable( QString::fromLatin1 ( "AutoSave" ) ))
00035 mAutoSave = v;
00036 }
00037
00041 bool autoSave() const
00042 {
00043 return mAutoSave;
00044 }
00045
00049 ItemBool *autoSaveItem()
00050 {
00051 return mAutoSaveItem;
00052 }
00053
00057 void setAutoSaveInterval( int v )
00058 {
00059 if (v < 1)
00060 {
00061 kDebug() << "setAutoSaveInterval: value " << v << " is less than the minimum value of 1" << endl;
00062 v = 1;
00063 }
00064 if (!isImmutable( QString::fromLatin1 ( "AutoSaveInterval" ) ))
00065 mAutoSaveInterval = v;
00066 }
00067
00071 int autoSaveInterval() const
00072 {
00073 return mAutoSaveInterval;
00074 }
00075
00079 ItemInt *autoSaveIntervalItem()
00080 {
00081 return mAutoSaveIntervalItem;
00082 }
00083
00087 void setConfirm( bool v )
00088 {
00089 if (!isImmutable( QString::fromLatin1 ( "Confirm" ) ))
00090 mConfirm = v;
00091 }
00092
00096 bool confirm() const
00097 {
00098 return mConfirm;
00099 }
00100
00104 ItemBool *confirmItem()
00105 {
00106 return mConfirmItem;
00107 }
00108
00112 void setArchiveEvents( bool v )
00113 {
00114 if (!isImmutable( QString::fromLatin1 ( "ArchiveEvents" ) ))
00115 mArchiveEvents = v;
00116 }
00117
00121 bool archiveEvents() const
00122 {
00123 return mArchiveEvents;
00124 }
00125
00129 ItemBool *archiveEventsItem()
00130 {
00131 return mArchiveEventsItem;
00132 }
00133
00137 void setArchiveTodos( bool v )
00138 {
00139 if (!isImmutable( QString::fromLatin1 ( "ArchiveTodos" ) ))
00140 mArchiveTodos = v;
00141 }
00142
00146 bool archiveTodos() const
00147 {
00148 return mArchiveTodos;
00149 }
00150
00154 ItemBool *archiveTodosItem()
00155 {
00156 return mArchiveTodosItem;
00157 }
00158
00162 void setAutoArchive( bool v )
00163 {
00164 if (!isImmutable( QString::fromLatin1 ( "AutoArchive" ) ))
00165 mAutoArchive = v;
00166 }
00167
00171 bool autoArchive() const
00172 {
00173 return mAutoArchive;
00174 }
00175
00179 ItemBool *autoArchiveItem()
00180 {
00181 return mAutoArchiveItem;
00182 }
00183
00187 void setArchiveAction( int v )
00188 {
00189 if (!isImmutable( QString::fromLatin1 ( "ArchiveAction" ) ))
00190 mArchiveAction = v;
00191 }
00192
00196 int archiveAction() const
00197 {
00198 return mArchiveAction;
00199 }
00200
00204 ItemEnum *archiveActionItem()
00205 {
00206 return mArchiveActionItem;
00207 }
00208
00212 void setExpiryTime( int v )
00213 {
00214 if (!isImmutable( QString::fromLatin1 ( "ExpiryTime" ) ))
00215 mExpiryTime = v;
00216 }
00217
00221 int expiryTime() const
00222 {
00223 return mExpiryTime;
00224 }
00225
00229 ItemInt *expiryTimeItem()
00230 {
00231 return mExpiryTimeItem;
00232 }
00233
00237 void setExpiryUnit( int v )
00238 {
00239 if (!isImmutable( QString::fromLatin1 ( "ExpiryUnit" ) ))
00240 mExpiryUnit = v;
00241 }
00242
00246 int expiryUnit() const
00247 {
00248 return mExpiryUnit;
00249 }
00250
00254 ItemEnum *expiryUnitItem()
00255 {
00256 return mExpiryUnitItem;
00257 }
00258
00262 void setArchiveFile( const QString & v )
00263 {
00264 if (!isImmutable( QString::fromLatin1 ( "ArchiveFile" ) ))
00265 mArchiveFile = v;
00266 }
00267
00271 QString archiveFile() const
00272 {
00273 return mArchiveFile;
00274 }
00275
00279 ItemString *archiveFileItem()
00280 {
00281 return mArchiveFileItem;
00282 }
00283
00287 void setHtmlWithSave( bool v )
00288 {
00289 if (!isImmutable( QString::fromLatin1 ( "HtmlWithSave" ) ))
00290 mHtmlWithSave = v;
00291 }
00292
00296 bool htmlWithSave() const
00297 {
00298 return mHtmlWithSave;
00299 }
00300
00304 ItemBool *htmlWithSaveItem()
00305 {
00306 return mHtmlWithSaveItem;
00307 }
00308
00312 void setDestination( int v )
00313 {
00314 if (!isImmutable( QString::fromLatin1 ( "Destination" ) ))
00315 mDestination = v;
00316 }
00317
00321 int destination() const
00322 {
00323 return mDestination;
00324 }
00325
00329 ItemEnum *destinationItem()
00330 {
00331 return mDestinationItem;
00332 }
00333
00337 void setShowReminderDaemon( bool v )
00338 {
00339 if (!isImmutable( QString::fromLatin1 ( "ShowReminderDaemon" ) ))
00340 mShowReminderDaemon = v;
00341 }
00342
00346 bool showReminderDaemon() const
00347 {
00348 return mShowReminderDaemon;
00349 }
00350
00354 ItemBool *showReminderDaemonItem()
00355 {
00356 return mShowReminderDaemonItem;
00357 }
00358
00362 void setBcc( bool v )
00363 {
00364 if (!isImmutable( QString::fromLatin1 ( "Bcc" ) ))
00365 mBcc = v;
00366 }
00367
00371 bool bcc() const
00372 {
00373 return mBcc;
00374 }
00375
00379 ItemBool *bccItem()
00380 {
00381 return mBccItem;
00382 }
00383
00387 void setEmailControlCenter( bool v )
00388 {
00389 if (!isImmutable( QString::fromLatin1 ( "EmailControlCenter" ) ))
00390 mEmailControlCenter = v;
00391 }
00392
00396 bool emailControlCenter() const
00397 {
00398 return mEmailControlCenter;
00399 }
00400
00404 ItemBool *emailControlCenterItem()
00405 {
00406 return mEmailControlCenterItem;
00407 }
00408
00412 void setUserName( const QString & v )
00413 {
00414 if (!isImmutable( QString::fromLatin1 ( "UserName" ) ))
00415 mUserName = v;
00416 }
00417
00421 QString userName() const
00422 {
00423 return mUserName;
00424 }
00425
00429 ItemString *userNameItem()
00430 {
00431 return mUserNameItem;
00432 }
00433
00437 void setUserEmail( const QString & v )
00438 {
00439 if (!isImmutable( QString::fromLatin1 ( "UserEmail" ) ))
00440 mUserEmail = v;
00441 }
00442
00446 QString userEmail() const
00447 {
00448 return mUserEmail;
00449 }
00450
00454 ItemString *userEmailItem()
00455 {
00456 return mUserEmailItem;
00457 }
00458
00462 void setMailClient( int v )
00463 {
00464 if (!isImmutable( QString::fromLatin1 ( "MailClient" ) ))
00465 mMailClient = v;
00466 }
00467
00471 int mailClient() const
00472 {
00473 return mMailClient;
00474 }
00475
00479 ItemEnum *mailClientItem()
00480 {
00481 return mMailClientItem;
00482 }
00483
00487 void setTimeZoneId( const QString & v )
00488 {
00489 if (!isImmutable( QString::fromLatin1 ( "TimeZoneId" ) ))
00490 mTimeZoneId = v;
00491 }
00492
00496 QString timeZoneId() const
00497 {
00498 return mTimeZoneId;
00499 }
00500
00504 ItemString *timeZoneIdItem()
00505 {
00506 return mTimeZoneIdItem;
00507 }
00508
00512 void setHolidays( const QString & v )
00513 {
00514 if (!isImmutable( QString::fromLatin1 ( "Holidays" ) ))
00515 mHolidays = v;
00516 }
00517
00521 QString holidays() const
00522 {
00523 return mHolidays;
00524 }
00525
00529 ItemString *holidaysItem()
00530 {
00531 return mHolidaysItem;
00532 }
00533
00537 void setStartTime( const QDateTime & v )
00538 {
00539 if (!isImmutable( QString::fromLatin1 ( "StartTime" ) ))
00540 mStartTime = v;
00541 }
00542
00546 QDateTime startTime() const
00547 {
00548 return mStartTime;
00549 }
00550
00554 ItemDateTime *startTimeItem()
00555 {
00556 return mStartTimeItem;
00557 }
00558
00562 void setDefaultDuration( const QDateTime & v )
00563 {
00564 if (!isImmutable( QString::fromLatin1 ( "DefaultDuration" ) ))
00565 mDefaultDuration = v;
00566 }
00567
00571 QDateTime defaultDuration() const
00572 {
00573 return mDefaultDuration;
00574 }
00575
00579 ItemDateTime *defaultDurationItem()
00580 {
00581 return mDefaultDurationItem;
00582 }
00583
00587 void setAlarmTime( int v )
00588 {
00589 if (!isImmutable( QString::fromLatin1 ( "AlarmTime" ) ))
00590 mAlarmTime = v;
00591 }
00592
00596 int alarmTime() const
00597 {
00598 return mAlarmTime;
00599 }
00600
00604 ItemInt *alarmTimeItem()
00605 {
00606 return mAlarmTimeItem;
00607 }
00608
00612 void setHourSize( int v )
00613 {
00614 if (v < 4)
00615 {
00616 kDebug() << "setHourSize: value " << v << " is less than the minimum value of 4" << endl;
00617 v = 4;
00618 }
00619
00620 if (v > 30)
00621 {
00622 kDebug() << "setHourSize: value " << v << " is greater than the maximum value of 30" << endl;
00623 v = 30;
00624 }
00625
00626 if (!isImmutable( QString::fromLatin1 ( "HourSize" ) ))
00627 mHourSize = v;
00628 }
00629
00633 int hourSize() const
00634 {
00635 return mHourSize;
00636 }
00637
00641 ItemInt *hourSizeItem()
00642 {
00643 return mHourSizeItem;
00644 }
00645
00649 void setDailyRecur( bool v )
00650 {
00651 if (!isImmutable( QString::fromLatin1 ( "DailyRecur" ) ))
00652 mDailyRecur = v;
00653 }
00654
00658 bool dailyRecur() const
00659 {
00660 return mDailyRecur;
00661 }
00662
00666 ItemBool *dailyRecurItem()
00667 {
00668 return mDailyRecurItem;
00669 }
00670
00674 void setWeeklyRecur( bool v )
00675 {
00676 if (!isImmutable( QString::fromLatin1 ( "WeeklyRecur" ) ))
00677 mWeeklyRecur = v;
00678 }
00679
00683 bool weeklyRecur() const
00684 {
00685 return mWeeklyRecur;
00686 }
00687
00691 ItemBool *weeklyRecurItem()
00692 {
00693 return mWeeklyRecurItem;
00694 }
00695
00699 void setEnableToolTips( bool v )
00700 {
00701 if (!isImmutable( QString::fromLatin1 ( "EnableToolTips" ) ))
00702 mEnableToolTips = v;
00703 }
00704
00708 bool enableToolTips() const
00709 {
00710 return mEnableToolTips;
00711 }
00712
00716 ItemBool *enableToolTipsItem()
00717 {
00718 return mEnableToolTipsItem;
00719 }
00720
00724 void setShowAllDayTodo( bool v )
00725 {
00726 if (!isImmutable( QString::fromLatin1 ( "ShowAllDayTodo" ) ))
00727 mShowAllDayTodo = v;
00728 }
00729
00733 bool showAllDayTodo() const
00734 {
00735 return mShowAllDayTodo;
00736 }
00737
00741 ItemBool *showAllDayTodoItem()
00742 {
00743 return mShowAllDayTodoItem;
00744 }
00745
00749 void setTodosUseCategoryColors( bool v )
00750 {
00751 if (!isImmutable( QString::fromLatin1 ( "TodosUseCategoryColors" ) ))
00752 mTodosUseCategoryColors = v;
00753 }
00754
00758 bool todosUseCategoryColors() const
00759 {
00760 return mTodosUseCategoryColors;
00761 }
00762
00766 ItemBool *todosUseCategoryColorsItem()
00767 {
00768 return mTodosUseCategoryColorsItem;
00769 }
00770
00774 void setEnableMonthScroll( bool v )
00775 {
00776 if (!isImmutable( QString::fromLatin1 ( "EnableMonthScroll" ) ))
00777 mEnableMonthScroll = v;
00778 }
00779
00783 bool enableMonthScroll() const
00784 {
00785 return mEnableMonthScroll;
00786 }
00787
00791 ItemBool *enableMonthScrollItem()
00792 {
00793 return mEnableMonthScrollItem;
00794 }
00795
00799 void setEnableMonthItemIcons( bool v )
00800 {
00801 if (!isImmutable( QString::fromLatin1 ( "EnableMonthItemIcons" ) ))
00802 mEnableMonthItemIcons = v;
00803 }
00804
00808 bool enableMonthItemIcons() const
00809 {
00810 return mEnableMonthItemIcons;
00811 }
00812
00816 ItemBool *enableMonthItemIconsItem()
00817 {
00818 return mEnableMonthItemIconsItem;
00819 }
00820
00824 void setSelectionStartsEditor( bool v )
00825 {
00826 if (!isImmutable( QString::fromLatin1 ( "SelectionStartsEditor" ) ))
00827 mSelectionStartsEditor = v;
00828 }
00829
00833 bool selectionStartsEditor() const
00834 {
00835 return mSelectionStartsEditor;
00836 }
00837
00841 ItemBool *selectionStartsEditorItem()
00842 {
00843 return mSelectionStartsEditorItem;
00844 }
00845
00849 void setMarcusBainsEnabled( bool v )
00850 {
00851 if (!isImmutable( QString::fromLatin1 ( "MarcusBainsEnabled" ) ))
00852 mMarcusBainsEnabled = v;
00853 }
00854
00858 bool marcusBainsEnabled() const
00859 {
00860 return mMarcusBainsEnabled;
00861 }
00862
00866 ItemBool *marcusBainsEnabledItem()
00867 {
00868 return mMarcusBainsEnabledItem;
00869 }
00870
00874 void setMarcusBainsShowSeconds( bool v )
00875 {
00876 if (!isImmutable( QString::fromLatin1 ( "MarcusBainsShowSeconds" ) ))
00877 mMarcusBainsShowSeconds = v;
00878 }
00879
00883 bool marcusBainsShowSeconds() const
00884 {
00885 return mMarcusBainsShowSeconds;
00886 }
00887
00891 ItemBool *marcusBainsShowSecondsItem()
00892 {
00893 return mMarcusBainsShowSecondsItem;
00894 }
00895
00899 void setAgendaViewColors( int v )
00900 {
00901 if (!isImmutable( QString::fromLatin1 ( "AgendaViewColors" ) ))
00902 mAgendaViewColors = v;
00903 }
00904
00908 int agendaViewColors() const
00909 {
00910 return mAgendaViewColors;
00911 }
00912
00916 ItemEnum *agendaViewColorsItem()
00917 {
00918 return mAgendaViewColorsItem;
00919 }
00920
00924 void setAgendaViewCalendarDisplay( int v )
00925 {
00926 if (!isImmutable( QString::fromLatin1 ( "AgendaViewCalendarDisplay" ) ))
00927 mAgendaViewCalendarDisplay = v;
00928 }
00929
00933 int agendaViewCalendarDisplay() const
00934 {
00935 return mAgendaViewCalendarDisplay;
00936 }
00937
00941 ItemEnum *agendaViewCalendarDisplayItem()
00942 {
00943 return mAgendaViewCalendarDisplayItem;
00944 }
00945
00949 void setDayBegins( const QDateTime & v )
00950 {
00951 if (!isImmutable( QString::fromLatin1 ( "DayBegins" ) ))
00952 mDayBegins = v;
00953 }
00954
00958 QDateTime dayBegins() const
00959 {
00960 return mDayBegins;
00961 }
00962
00966 ItemDateTime *dayBeginsItem()
00967 {
00968 return mDayBeginsItem;
00969 }
00970
00974 void setWorkingHoursStart( const QDateTime & v )
00975 {
00976 if (!isImmutable( QString::fromLatin1 ( "WorkingHoursStart" ) ))
00977 mWorkingHoursStart = v;
00978 }
00979
00983 QDateTime workingHoursStart() const
00984 {
00985 return mWorkingHoursStart;
00986 }
00987
00991 ItemDateTime *workingHoursStartItem()
00992 {
00993 return mWorkingHoursStartItem;
00994 }
00995
00999 void setWorkingHoursEnd( const QDateTime & v )
01000 {
01001 if (!isImmutable( QString::fromLatin1 ( "WorkingHoursEnd" ) ))
01002 mWorkingHoursEnd = v;
01003 }
01004
01008 QDateTime workingHoursEnd() const
01009 {
01010 return mWorkingHoursEnd;
01011 }
01012
01016 ItemDateTime *workingHoursEndItem()
01017 {
01018 return mWorkingHoursEndItem;
01019 }
01020
01024 void setWorkWeekMask( int v )
01025 {
01026 if (!isImmutable( QString::fromLatin1 ( "WorkWeekMask" ) ))
01027 mWorkWeekMask = v;
01028 }
01029
01033 int workWeekMask() const
01034 {
01035 return mWorkWeekMask;
01036 }
01037
01041 ItemInt *workWeekMaskItem()
01042 {
01043 return mWorkWeekMaskItem;
01044 }
01045
01049 void setExcludeHolidays( bool v )
01050 {
01051 if (!isImmutable( QString::fromLatin1 ( "ExcludeHolidays" ) ))
01052 mExcludeHolidays = v;
01053 }
01054
01058 bool excludeHolidays() const
01059 {
01060 return mExcludeHolidays;
01061 }
01062
01066 ItemBool *excludeHolidaysItem()
01067 {
01068 return mExcludeHolidaysItem;
01069 }
01070
01074 void setMonthViewUsesCategoryColor( bool v )
01075 {
01076 if (!isImmutable( QString::fromLatin1 ( "MonthViewUsesCategoryColor" ) ))
01077 mMonthViewUsesCategoryColor = v;
01078 }
01079
01083 bool monthViewUsesCategoryColor() const
01084 {
01085 return mMonthViewUsesCategoryColor;
01086 }
01087
01091 ItemBool *monthViewUsesCategoryColorItem()
01092 {
01093 return mMonthViewUsesCategoryColorItem;
01094 }
01095
01099 void setMonthViewUsesResourceColor( bool v )
01100 {
01101 if (!isImmutable( QString::fromLatin1 ( "MonthViewUsesResourceColor" ) ))
01102 mMonthViewUsesResourceColor = v;
01103 }
01104
01108 bool monthViewUsesResourceColor() const
01109 {
01110 return mMonthViewUsesResourceColor;
01111 }
01112
01116 ItemBool *monthViewUsesResourceColorItem()
01117 {
01118 return mMonthViewUsesResourceColorItem;
01119 }
01120
01124 void setFullViewMonth( bool v )
01125 {
01126 if (!isImmutable( QString::fromLatin1 ( "FullViewMonth" ) ))
01127 mFullViewMonth = v;
01128 }
01129
01133 bool fullViewMonth() const
01134 {
01135 return mFullViewMonth;
01136 }
01137
01141 ItemBool *fullViewMonthItem()
01142 {
01143 return mFullViewMonthItem;
01144 }
01145
01149 void setFullViewTodo( bool v )
01150 {
01151 if (!isImmutable( QString::fromLatin1 ( "FullViewTodo" ) ))
01152 mFullViewTodo = v;
01153 }
01154
01158 bool fullViewTodo() const
01159 {
01160 return mFullViewTodo;
01161 }
01162
01166 ItemBool *fullViewTodoItem()
01167 {
01168 return mFullViewTodoItem;
01169 }
01170
01174 void setRecordTodosInJournals( bool v )
01175 {
01176 if (!isImmutable( QString::fromLatin1 ( "RecordTodosInJournals" ) ))
01177 mRecordTodosInJournals = v;
01178 }
01179
01183 bool recordTodosInJournals() const
01184 {
01185 return mRecordTodosInJournals;
01186 }
01187
01191 ItemBool *recordTodosInJournalsItem()
01192 {
01193 return mRecordTodosInJournalsItem;
01194 }
01195
01199 void setSortCompletedTodosSeparately( bool v )
01200 {
01201 if (!isImmutable( QString::fromLatin1 ( "SortCompletedTodosSeparately" ) ))
01202 mSortCompletedTodosSeparately = v;
01203 }
01204
01208 bool sortCompletedTodosSeparately() const
01209 {
01210 return mSortCompletedTodosSeparately;
01211 }
01212
01216 ItemBool *sortCompletedTodosSeparatelyItem()
01217 {
01218 return mSortCompletedTodosSeparatelyItem;
01219 }
01220
01224 void setEnableQuickTodo( bool v )
01225 {
01226 if (!isImmutable( QString::fromLatin1 ( "EnableQuickTodo" ) ))
01227 mEnableQuickTodo = v;
01228 }
01229
01233 bool enableQuickTodo() const
01234 {
01235 return mEnableQuickTodo;
01236 }
01237
01241 ItemBool *enableQuickTodoItem()
01242 {
01243 return mEnableQuickTodoItem;
01244 }
01245
01249 void setEnableTodoQuickSearch( bool v )
01250 {
01251 if (!isImmutable( QString::fromLatin1 ( "EnableTodoQuickSearch" ) ))
01252 mEnableTodoQuickSearch = v;
01253 }
01254
01258 bool enableTodoQuickSearch() const
01259 {
01260 return mEnableTodoQuickSearch;
01261 }
01262
01266 ItemBool *enableTodoQuickSearchItem()
01267 {
01268 return mEnableTodoQuickSearchItem;
01269 }
01270
01274 void setNextXDays( int v )
01275 {
01276 if (!isImmutable( QString::fromLatin1 ( "NextXDays" ) ))
01277 mNextXDays = v;
01278 }
01279
01283 int nextXDays() const
01284 {
01285 return mNextXDays;
01286 }
01287
01291 ItemInt *nextXDaysItem()
01292 {
01293 return mNextXDaysItem;
01294 }
01295
01299 void setCompactDialogs( bool v )
01300 {
01301 if (!isImmutable( QString::fromLatin1 ( "CompactDialogs" ) ))
01302 mCompactDialogs = v;
01303 }
01304
01308 bool compactDialogs() const
01309 {
01310 return mCompactDialogs;
01311 }
01312
01316 ItemBool *compactDialogsItem()
01317 {
01318 return mCompactDialogsItem;
01319 }
01320
01324 void setVerticalScreen( bool v )
01325 {
01326 if (!isImmutable( QString::fromLatin1 ( "VerticalScreen" ) ))
01327 mVerticalScreen = v;
01328 }
01329
01333 bool verticalScreen() const
01334 {
01335 return mVerticalScreen;
01336 }
01337
01341 ItemBool *verticalScreenItem()
01342 {
01343 return mVerticalScreenItem;
01344 }
01345
01349 void setSelectedPlugins( const QStringList & v )
01350 {
01351 if (!isImmutable( QString::fromLatin1 ( "SelectedPlugins" ) ))
01352 mSelectedPlugins = v;
01353 }
01354
01358 QStringList selectedPlugins() const
01359 {
01360 return mSelectedPlugins;
01361 }
01362
01366 ItemStringList *selectedPluginsItem()
01367 {
01368 return mSelectedPluginsItem;
01369 }
01370
01374 void setEventTemplates( const QStringList & v )
01375 {
01376 if (!isImmutable( QString::fromLatin1 ( "EventTemplates" ) ))
01377 mEventTemplates = v;
01378 }
01379
01383 QStringList eventTemplates() const
01384 {
01385 return mEventTemplates;
01386 }
01387
01391 ItemStringList *eventTemplatesItem()
01392 {
01393 return mEventTemplatesItem;
01394 }
01395
01399 void setTodoTemplates( const QStringList & v )
01400 {
01401 if (!isImmutable( QString::fromLatin1 ( "TodoTemplates" ) ))
01402 mTodoTemplates = v;
01403 }
01404
01408 QStringList todoTemplates() const
01409 {
01410 return mTodoTemplates;
01411 }
01412
01416 ItemStringList *todoTemplatesItem()
01417 {
01418 return mTodoTemplatesItem;
01419 }
01420
01424 void setJournalTemplates( const QStringList & v )
01425 {
01426 if (!isImmutable( QString::fromLatin1 ( "JournalTemplates" ) ))
01427 mJournalTemplates = v;
01428 }
01429
01433 QStringList journalTemplates() const
01434 {
01435 return mJournalTemplates;
01436 }
01437
01441 ItemStringList *journalTemplatesItem()
01442 {
01443 return mJournalTemplatesItem;
01444 }
01445
01449 void setActiveDesignerFields( const QStringList & v )
01450 {
01451 if (!isImmutable( QString::fromLatin1 ( "ActiveDesignerFields" ) ))
01452 mActiveDesignerFields = v;
01453 }
01454
01458 QStringList activeDesignerFields() const
01459 {
01460 return mActiveDesignerFields;
01461 }
01462
01466 ItemStringList *activeDesignerFieldsItem()
01467 {
01468 return mActiveDesignerFieldsItem;
01469 }
01470
01474 void setIMIPScheduler( int v )
01475 {
01476 if (!isImmutable( QString::fromLatin1 ( "IMIPScheduler" ) ))
01477 mIMIPScheduler = v;
01478 }
01479
01483 int iMIPScheduler() const
01484 {
01485 return mIMIPScheduler;
01486 }
01487
01491 ItemEnum *iMIPSchedulerItem()
01492 {
01493 return mIMIPSchedulerItem;
01494 }
01495
01499 void setUseGroupwareCommunication( bool v )
01500 {
01501 if (!isImmutable( QString::fromLatin1 ( "UseGroupwareCommunication" ) ))
01502 mUseGroupwareCommunication = v;
01503 }
01504
01508 bool useGroupwareCommunication() const
01509 {
01510 return mUseGroupwareCommunication;
01511 }
01512
01516 ItemBool *useGroupwareCommunicationItem()
01517 {
01518 return mUseGroupwareCommunicationItem;
01519 }
01520
01524 void setAdditionalMails( const QStringList & v )
01525 {
01526 if (!isImmutable( QString::fromLatin1 ( "AdditionalMails" ) ))
01527 mAdditionalMails = v;
01528 }