00001
00002
00003
#ifndef KOPREFSBASE_H
00004
#define KOPREFSBASE_H
00005
00006
#include <libkdepim/kpimprefs.h>
00007
00008
#include <kconfigskeleton.h>
00009
00010
class KOPrefsBase :
public KPimPrefs
00011 {
00012
public:
00013
enum { actionDelete, actionArchive };
00014
enum { UnitDays, UnitWeeks, UnitMonths };
00015
enum { standardDestination, askDestination };
00016
enum { MailClientKMail, MailClientSendmail };
00017
enum { IMIPDummy, IMIPKMail };
00018
enum { IMIPOutbox, IMIPdirectsend };
00019
enum { neverAuto, addressbookAuto, selectedAuto };
00020
00021 KOPrefsBase( );
00022 ~KOPrefsBase();
00023
00027
void setAutoSave(
bool v )
00028 {
00029
if (!isImmutable(
"AutoSave" ))
00030 mAutoSave = v;
00031 }
00032
00036
bool autoSave()
const
00037
{
00038
return mAutoSave;
00039 }
00040
00044 ItemBool *autoSaveItem()
00045 {
00046
return mAutoSaveItem;
00047 }
00048
00052
void setAutoSaveInterval(
int v )
00053 {
00054
if (!isImmutable(
"AutoSaveInterval" ))
00055 mAutoSaveInterval = v;
00056 }
00057
00061
int autoSaveInterval()
const
00062
{
00063
return mAutoSaveInterval;
00064 }
00065
00069 ItemInt *autoSaveIntervalItem()
00070 {
00071
return mAutoSaveIntervalItem;
00072 }
00073
00077
void setConfirm(
bool v )
00078 {
00079
if (!isImmutable(
"Confirm" ))
00080 mConfirm = v;
00081 }
00082
00086
bool confirm()
const
00087
{
00088
return mConfirm;
00089 }
00090
00094 ItemBool *confirmItem()
00095 {
00096
return mConfirmItem;
00097 }
00098
00102
void setAutoArchive(
bool v )
00103 {
00104
if (!isImmutable(
"AutoArchive" ))
00105 mAutoArchive = v;
00106 }
00107
00111
bool autoArchive()
const
00112
{
00113
return mAutoArchive;
00114 }
00115
00119 ItemBool *autoArchiveItem()
00120 {
00121
return mAutoArchiveItem;
00122 }
00123
00127
void setArchiveAction(
int v )
00128 {
00129
if (!isImmutable(
"ArchiveAction" ))
00130 mArchiveAction = v;
00131 }
00132
00136
int archiveAction()
const
00137
{
00138
return mArchiveAction;
00139 }
00140
00144 ItemEnum *archiveActionItem()
00145 {
00146
return mArchiveActionItem;
00147 }
00148
00152
void setExpiryTime(
int v )
00153 {
00154
if (!isImmutable(
"ExpiryTime" ))
00155 mExpiryTime = v;
00156 }
00157
00161
int expiryTime()
const
00162
{
00163
return mExpiryTime;
00164 }
00165
00169 ItemInt *expiryTimeItem()
00170 {
00171
return mExpiryTimeItem;
00172 }
00173
00177
void setExpiryUnit(
int v )
00178 {
00179
if (!isImmutable(
"ExpiryUnit" ))
00180 mExpiryUnit = v;
00181 }
00182
00186
int expiryUnit()
const
00187
{
00188
return mExpiryUnit;
00189 }
00190
00194 ItemEnum *expiryUnitItem()
00195 {
00196
return mExpiryUnitItem;
00197 }
00198
00202
void setArchiveFile(
const QString & v )
00203 {
00204
if (!isImmutable(
"ArchiveFile" ))
00205 mArchiveFile = v;
00206 }
00207
00211
QString archiveFile()
const
00212
{
00213
return mArchiveFile;
00214 }
00215
00219 ItemString *archiveFileItem()
00220 {
00221
return mArchiveFileItem;
00222 }
00223
00227
void setHtmlWithSave(
bool v )
00228 {
00229
if (!isImmutable(
"HtmlWithSave" ))
00230 mHtmlWithSave = v;
00231 }
00232
00236
bool htmlWithSave()
const
00237
{
00238
return mHtmlWithSave;
00239 }
00240
00244 ItemBool *htmlWithSaveItem()
00245 {
00246
return mHtmlWithSaveItem;
00247 }
00248
00252
void setDestination(
int v )
00253 {
00254
if (!isImmutable(
"Destination" ))
00255 mDestination = v;
00256 }
00257
00261
int destination()
const
00262
{
00263
return mDestination;
00264 }
00265
00269 ItemEnum *destinationItem()
00270 {
00271
return mDestinationItem;
00272 }
00273
00277
void setBcc(
bool v )
00278 {
00279
if (!isImmutable(
"Bcc" ))
00280 mBcc = v;
00281 }
00282
00286
bool bcc()
const
00287
{
00288
return mBcc;
00289 }
00290
00294 ItemBool *bccItem()
00295 {
00296
return mBccItem;
00297 }
00298
00302
void setEmailControlCenter(
bool v )
00303 {
00304
if (!isImmutable(
"EmailControlCenter" ))
00305 mEmailControlCenter = v;
00306 }
00307
00311
bool emailControlCenter()
const
00312
{
00313
return mEmailControlCenter;
00314 }
00315
00319 ItemBool *emailControlCenterItem()
00320 {
00321
return mEmailControlCenterItem;
00322 }
00323
00327
void setMailClient(
int v )
00328 {
00329
if (!isImmutable(
"MailClient" ))
00330 mMailClient = v;
00331 }
00332
00336
int mailClient()
const
00337
{
00338
return mMailClient;
00339 }
00340
00344 ItemEnum *mailClientItem()
00345 {
00346
return mMailClientItem;
00347 }
00348
00352
void setTimeZoneId(
const QString & v )
00353 {
00354
if (!isImmutable(
"TimeZoneId" ))
00355 mTimeZoneId = v;
00356 }
00357
00361
QString timeZoneId()
const
00362
{
00363
return mTimeZoneId;
00364 }
00365
00369 ItemString *timeZoneIdItem()
00370 {
00371
return mTimeZoneIdItem;
00372 }
00373
00377
void setStartTime(
const QDateTime & v )
00378 {
00379
if (!isImmutable(
"StartTime" ))
00380 mStartTime = v;
00381 }
00382
00386
QDateTime startTime()
const
00387
{
00388
return mStartTime;
00389 }
00390
00394 ItemDateTime *startTimeItem()
00395 {
00396
return mStartTimeItem;
00397 }
00398
00402
void setDefaultDuration(
const QDateTime & v )
00403 {
00404
if (!isImmutable(
"DefaultDuration" ))
00405 mDefaultDuration = v;
00406 }
00407
00411
QDateTime defaultDuration()
const
00412
{
00413
return mDefaultDuration;
00414 }
00415
00419 ItemDateTime *defaultDurationItem()
00420 {
00421
return mDefaultDurationItem;
00422 }
00423
00427
void setAlarmTime(
int v )
00428 {
00429
if (!isImmutable(
"AlarmTime" ))
00430 mAlarmTime = v;
00431 }
00432
00436
int alarmTime()
const
00437
{
00438
return mAlarmTime;
00439 }
00440
00444 ItemInt *alarmTimeItem()
00445 {
00446
return mAlarmTimeItem;
00447 }
00448
00452
void setHourSize(
int v )
00453 {
00454
if (!isImmutable(
"HourSize" ))
00455 mHourSize = v;
00456 }
00457
00461
int hourSize()
const
00462
{
00463
return mHourSize;
00464 }
00465
00469 ItemInt *hourSizeItem()
00470 {
00471
return mHourSizeItem;
00472 }
00473
00477
void setDailyRecur(
bool v )
00478 {
00479
if (!isImmutable(
"DailyRecur" ))
00480 mDailyRecur = v;
00481 }
00482
00486
bool dailyRecur()
const
00487
{
00488
return mDailyRecur;
00489 }
00490
00494 ItemBool *dailyRecurItem()
00495 {
00496
return mDailyRecurItem;
00497 }
00498
00502
void setWeeklyRecur(
bool v )
00503 {
00504
if (!isImmutable(
"WeeklyRecur" ))
00505 mWeeklyRecur = v;
00506 }
00507
00511
bool weeklyRecur()
const
00512
{
00513
return mWeeklyRecur;
00514 }
00515
00519 ItemBool *weeklyRecurItem()
00520 {
00521
return mWeeklyRecurItem;
00522 }
00523
00527
void setEnableToolTips(
bool v )
00528 {
00529
if (!isImmutable(
"EnableToolTips" ))
00530 mEnableToolTips = v;
00531 }
00532
00536
bool enableToolTips()
const
00537
{
00538
return mEnableToolTips;
00539 }
00540
00544 ItemBool *enableToolTipsItem()
00545 {
00546
return mEnableToolTipsItem;
00547 }
00548
00552
void setShowAllDayTodo(
bool v )
00553 {
00554
if (!isImmutable(
"ShowAllDayTodo" ))
00555 mShowAllDayTodo = v;
00556 }
00557
00561
bool showAllDayTodo()
const
00562
{
00563
return mShowAllDayTodo;
00564 }
00565
00569 ItemBool *showAllDayTodoItem()
00570 {
00571
return mShowAllDayTodoItem;
00572 }
00573
00577
void setEnableMonthScroll(
bool v )
00578 {
00579
if (!isImmutable(
"EnableMonthScroll" ))
00580 mEnableMonthScroll = v;
00581 }
00582
00586
bool enableMonthScroll()
const
00587
{
00588
return mEnableMonthScroll;
00589 }
00590
00594 ItemBool *enableMonthScrollItem()
00595 {
00596
return mEnableMonthScrollItem;
00597 }
00598
00602
void setSelectionStartsEditor(
bool v )
00603 {
00604
if (!isImmutable(
"SelectionStartsEditor" ))
00605 mSelectionStartsEditor = v;
00606 }
00607
00611
bool selectionStartsEditor()
const
00612
{
00613
return mSelectionStartsEditor;
00614 }
00615
00619 ItemBool *selectionStartsEditorItem()
00620 {
00621
return mSelectionStartsEditorItem;
00622 }
00623
00627
void setMarcusBainsShowSeconds(
bool v )
00628 {
00629
if (!isImmutable(
"MarcusBainsShowSeconds" ))
00630 mMarcusBainsShowSeconds = v;
00631 }
00632
00636
bool marcusBainsShowSeconds()
const
00637
{
00638
return mMarcusBainsShowSeconds;
00639 }
00640
00644 ItemBool *marcusBainsShowSecondsItem()
00645 {
00646
return mMarcusBainsShowSecondsItem;
00647 }
00648
00652
void setMarcusBainsEnabled(
bool v )
00653 {
00654
if (!isImmutable(
"MarcusBainsEnabled" ))
00655 mMarcusBainsEnabled = v;
00656 }
00657
00661
bool marcusBainsEnabled()
const
00662
{
00663
return mMarcusBainsEnabled;
00664 }
00665
00669 ItemBool *marcusBainsEnabledItem()
00670 {
00671
return mMarcusBainsEnabledItem;
00672 }
00673
00677
void setDayBegins(
const QDateTime & v )
00678 {
00679
if (!isImmutable(
"DayBegins" ))
00680 mDayBegins = v;
00681 }
00682
00686
QDateTime dayBegins()
const
00687
{
00688
return mDayBegins;
00689 }
00690
00694 ItemDateTime *dayBeginsItem()
00695 {
00696
return mDayBeginsItem;
00697 }
00698
00702
void setWorkingHoursStart(
const QDateTime & v )
00703 {
00704
if (!isImmutable(
"WorkingHoursStart" ))
00705 mWorkingHoursStart = v;
00706 }
00707
00711
QDateTime workingHoursStart()
const
00712
{
00713
return mWorkingHoursStart;
00714 }
00715
00719 ItemDateTime *workingHoursStartItem()
00720 {
00721
return mWorkingHoursStartItem;
00722 }
00723
00727
void setWorkingHoursEnd(
const QDateTime & v )
00728 {
00729
if (!isImmutable(
"WorkingHoursEnd" ))
00730 mWorkingHoursEnd = v;
00731 }
00732
00736
QDateTime workingHoursEnd()
const
00737
{
00738
return mWorkingHoursEnd;
00739 }
00740
00744 ItemDateTime *workingHoursEndItem()
00745 {
00746
return mWorkingHoursEndItem;
00747 }
00748
00752
void setWorkWeekMask(
int v )
00753 {
00754
if (!isImmutable(
"WorkWeekMask" ))
00755 mWorkWeekMask = v;
00756 }
00757
00761
int workWeekMask()
const
00762
{
00763
return mWorkWeekMask;
00764 }
00765
00769 ItemInt *workWeekMaskItem()
00770 {
00771
return mWorkWeekMaskItem;
00772 }
00773
00777
void setExcludeHolidays(
bool v )
00778 {
00779
if (!isImmutable(
"ExcludeHolidays" ))
00780 mExcludeHolidays = v;
00781 }
00782
00786
bool excludeHolidays()
const
00787
{
00788
return mExcludeHolidays;
00789 }
00790
00794 ItemBool *excludeHolidaysItem()
00795 {
00796
return mExcludeHolidaysItem;
00797 }
00798
00802
void setMonthViewUsesCategoryColor(
bool v )
00803 {
00804
if (!isImmutable(
"MonthViewUsesCategoryColor" ))
00805 mMonthViewUsesCategoryColor = v;
00806 }
00807
00811
bool monthViewUsesCategoryColor()
const
00812
{
00813
return mMonthViewUsesCategoryColor;
00814 }
00815
00819 ItemBool *monthViewUsesCategoryColorItem()
00820 {
00821
return mMonthViewUsesCategoryColorItem;
00822 }
00823
00827
void setFullViewMonth(
bool v )
00828 {
00829
if (!isImmutable(
"FullViewMonth" ))
00830 mFullViewMonth = v;
00831 }
00832
00836
bool fullViewMonth()
const
00837
{
00838
return mFullViewMonth;
00839 }
00840
00844 ItemBool *fullViewMonthItem()
00845 {
00846
return mFullViewMonthItem;
00847 }
00848
00852
void setFullViewTodo(
bool v )
00853 {
00854
if (!isImmutable(
"FullViewTodo" ))
00855 mFullViewTodo = v;
00856 }
00857
00861
bool fullViewTodo()
const
00862
{
00863
return mFullViewTodo;
00864 }
00865
00869 ItemBool *fullViewTodoItem()
00870 {
00871
return mFullViewTodoItem;
00872 }
00873
00877
void setEnableQuickTodo(
bool v )
00878 {
00879
if (!isImmutable(
"EnableQuickTodo" ))
00880 mEnableQuickTodo = v;
00881 }
00882
00886
bool enableQuickTodo()
const
00887
{
00888
return mEnableQuickTodo;
00889 }
00890
00894 ItemBool *enableQuickTodoItem()
00895 {
00896
return mEnableQuickTodoItem;
00897 }
00898
00902
void setNextXDays(
int v )
00903 {
00904
if (!isImmutable(
"NextXDays" ))
00905 mNextXDays = v;
00906 }
00907
00911
int nextXDays()
const
00912
{
00913
return mNextXDays;
00914 }
00915
00919 ItemInt *nextXDaysItem()
00920 {
00921
return mNextXDaysItem;
00922 }
00923
00927
void setCompactDialogs(
bool v )
00928 {
00929
if (!isImmutable(
"CompactDialogs" ))
00930 mCompactDialogs = v;
00931 }
00932
00936
bool compactDialogs()
const
00937
{
00938
return mCompactDialogs;
00939 }
00940
00944 ItemBool *compactDialogsItem()
00945 {
00946
return mCompactDialogsItem;
00947 }
00948
00952
void setVerticalScreen(
bool v )
00953 {
00954
if (!isImmutable(
"VerticalScreen" ))
00955 mVerticalScreen = v;
00956 }
00957
00961
bool verticalScreen()
const
00962
{
00963
return mVerticalScreen;
00964 }
00965
00969 ItemBool *verticalScreenItem()
00970 {
00971
return mVerticalScreenItem;
00972 }
00973
00977
void setSelectedPlugins(
const QStringList & v )
00978 {
00979
if (!isImmutable(
"SelectedPlugins" ))
00980 mSelectedPlugins = v;
00981 }
00982
00986
QStringList selectedPlugins()
const
00987
{
00988
return mSelectedPlugins;
00989 }
00990
00994 ItemStringList *selectedPluginsItem()
00995 {
00996
return mSelectedPluginsItem;
00997 }
00998
01002
void setEventTemplates(
const QStringList & v )
01003 {
01004
if (!isImmutable(
"EventTemplates" ))
01005 mEventTemplates = v;
01006 }
01007
01011
QStringList eventTemplates()
const
01012
{
01013
return mEventTemplates;
01014 }
01015
01019 ItemStringList *eventTemplatesItem()
01020 {
01021
return mEventTemplatesItem;
01022 }
01023
01027
void setTodoTemplates(
const QStringList & v )
01028 {
01029
if (!isImmutable(
"TodoTemplates" ))
01030 mTodoTemplates = v;
01031 }
01032
01036
QStringList todoTemplates()
const
01037
{
01038
return mTodoTemplates;
01039 }
01040
01044 ItemStringList *todoTemplatesItem()
01045 {
01046
return mTodoTemplatesItem;
01047 }
01048
01052
void setJournalTemplates(
const QStringList & v )
01053 {
01054
if (!isImmutable(
"JournalTemplates" ))
01055 mJournalTemplates = v;
01056 }
01057
01061
QStringList journalTemplates()
const
01062
{
01063
return mJournalTemplates;
01064 }
01065
01069 ItemStringList *journalTemplatesItem()
01070 {
01071
return mJournalTemplatesItem;
01072 }
01073
01077
void setIMIPScheduler(
int v )
01078 {
01079
if (!isImmutable(
"IMIPScheduler" ))
01080 mIMIPScheduler = v;
01081 }
01082
01086
int iMIPScheduler()
const
01087
{
01088
return mIMIPScheduler;
01089 }
01090
01094 ItemEnum *iMIPSchedulerItem()
01095 {
01096
return mIMIPSchedulerItem;
01097 }
01098
01102
void setUseGroupwareCommunication(
bool v )
01103 {
01104
if (!isImmutable(
"UseGroupwareCommunication" ))
01105 mUseGroupwareCommunication = v;
01106 }
01107
01111
bool useGroupwareCommunication()
const
01112
{
01113
return mUseGroupwareCommunication;
01114 }
01115
01119 ItemBool *useGroupwareCommunicationItem()
01120 {
01121
return mUseGroupwareCommunicationItem;
01122 }
01123
01127
void setAdditionalMails(
const QStringList & v )
01128 {
01129
if (!isImmutable(
"AdditionalMails" ))
01130 mAdditionalMails = v;
01131 }
01132
01136
QStringList additionalMails()
const
01137
{
01138
return mAdditionalMails;
01139 }
01140
01144 ItemStringList *additionalMailsItem()
01145 {
01146
return mAdditionalMailsItem;
01147 }
01148
01152
void setIMIPSend(
int v )
01153 {
01154
if (!isImmutable(
"IMIPSend" ))
01155 mIMIPSend = v;
01156 }
01157
01161
int iMIPSend()
const
01162
{
01163
return mIMIPSend;
01164 }
01165
01169 ItemEnum *iMIPSendItem()
01170 {
01171
return mIMIPSendItem;
01172 }
01173
01177
void setIMIPAutoRefresh(
int v )
01178 {
01179
if (!isImmutable(
"IMIPAutoRefresh" ))
01180 mIMIPAutoRefresh = v;
01181 }
01182
01186
int iMIPAutoRefresh()
const
01187
{
01188
return mIMIPAutoRefresh;
01189 }
01190
01194 ItemEnum *iMIPAutoRefreshItem()
01195 {
01196
return mIMIPAutoRefreshItem;
01197 }
01198
01202
void setIMIPAutoInsertRequest(
int v )
01203 {
01204
if (!isImmutable(
"IMIPAutoInsertRequest" ))
01205 mIMIPAutoInsertRequest = v;
01206 }
01207
01211
int iMIPAutoInsertRequest()
const
01212
{
01213
return mIMIPAutoInsertRequest;
01214 }
01215
01219 ItemEnum *iMIPAutoInsertRequestItem()
01220 {
01221
return mIMIPAutoInsertRequestItem;
01222 }
01223
01227
void setIMIPAutoInsertReply(
int v )
01228 {
01229
if (!isImmutable(
"IMIPAutoInsertReply" ))
01230 mIMIPAutoInsertReply = v;
01231 }
01232
01236
int iMIPAutoInsertReply()
const
01237
{
01238
return mIMIPAutoInsertReply;
01239 }
01240
01244 ItemEnum *iMIPAutoInsertReplyItem()
01245 {
01246
return mIMIPAutoInsertReplyItem;
01247 }
01248
01252
void setIMIPAutoFreeBusy(
int v )
01253 {
01254
if (!isImmutable(
"IMIPAutoFreeBusy" ))
01255 mIMIPAutoFreeBusy = v;
01256 }
01257
01261
int iMIPAutoFreeBusy()
const
01262
{
01263
return mIMIPAutoFreeBusy;
01264 }
01265
01269 ItemEnum *iMIPAutoFreeBusyItem()
01270 {
01271
return mIMIPAutoFreeBusyItem;
01272 }
01273
01277
void setIMIPAutoFreeBusyReply(
int v )
01278 {
01279
if (!isImmutable(
"IMIPAutoFreeBusyReply" ))
01280 mIMIPAutoFreeBusyReply = v;
01281 }
01282
01286
int iMIPAutoFreeBusyReply()
const
01287
{
01288
return mIMIPAutoFreeBusyReply;
01289 }
01290
01294 ItemEnum *iMIPAutoFreeBusyReplyItem()
01295 {
01296
return mIMIPAutoFreeBusyReplyItem;
01297 }
01298
01302
void setHolidayColor(
const QColor & v )
01303 {
01304
if (!isImmutable(
"HolidayColor" ))
01305 mHolidayColor = v;
01306 }
01307
01311
QColor holidayColor()
const
01312
{
01313
return mHolidayColor;
01314 }
01315
01319 ItemColor *holidayColorItem()
01320 {
01321
return mHolidayColorItem;
01322 }
01323
01327
void setHighlightColor(
const QColor & v )
01328 {
01329
if (!isImmutable(
"HighlightColor" ))
01330 mHighlightColor = v;
01331 }
01332
01336
QColor highlightColor()
const
01337
{
01338
return mHighlightColor;
01339 }
01340
01344 ItemColor *highlightColorItem()
01345 {
01346
return mHighlightColorItem;
01347 }
01348
01352
void setAgendaBgColor(
const QColor & v )
01353 {
01354
if (!isImmutable(
"AgendaBgColor" ))
01355 mAgendaBgColor = v;
01356 }
01357
01361
QColor agendaBgColor()
const
01362
{
01363
return mAgendaBgColor;
01364 }
01365
01369 ItemColor *agendaBgColorItem()
01370 {
01371
return mAgendaBgColorItem;
01372 }
01373
01377
void setWorkingHoursColor(
const QColor & v )
01378 {
01379
if (!isImmutable(
"WorkingHoursColor" ))
01380 mWorkingHoursColor = v;
01381 }
01382
01386
QColor workingHoursColor()
const
01387
{
01388
return mWorkingHoursColor;
01389 }
01390
01394 ItemColor *workingHoursColorItem()
01395 {
01396
return mWorkingHoursColorItem;
01397 }
01398
01402
void setTodoDueTodayColor(
const QColor & v )
01403 {
01404
if (!isImmutable(
"TodoDueTodayColor" ))
01405 mTodoDueTodayColor = v;
01406 }
01407
01411
QColor todoDueTodayColor()
const
01412
{
01413
return mTodoDueTodayColor;
01414 }
01415
01419 ItemColor *todoDueTodayColorItem()
01420 {
01421
return mTodoDueTodayColorItem;
01422 }
01423
01427
void setTodoOverdueColor(
const QColor & v )
01428 {
01429
if (!isImmutable(
"TodoOverdueColor" ))
01430 mTodoOverdueColor = v;
01431 }
01432
01436
QColor todoOverdueColor()
const
01437
{
01438
return mTodoOverdueColor;
01439 }
01440
01444 ItemColor *todoOverdueColorItem()
01445 {
01446
return mTodoOverdueColorItem;
01447 }
01448
01452
void setEventColor(
const QColor & v )
01453 {
01454
if (!isImmutable(
"EventColor" ))
01455 mEventColor = v;
01456 }
01457
01461
QColor eventColor()
const
01462
{
01463
return mEventColor;
01464 }
01465
01469 ItemColor *eventColorItem()
01470 {
01471
return mEventColorItem;
01472 }
01473
01477
void setTimeBarFont(
const QFont & v )
01478 {
01479
if (!isImmutable(
"TimeBarFont" ))
01480 mTimeBarFont = v;
01481 }
01482
01486
QFont timeBarFont()
const
01487
{
01488
return mTimeBarFont;
01489 }
01490
01494 ItemFont *timeBarFontItem()
01495 {
01496
return mTimeBarFontItem;
01497 }
01498
01502
void setAgendaViewFont(
const QFont & v )
01503 {
01504
if (!isImmutable(
"AgendaViewFont" ))
01505 mAgendaViewFont = v;
01506 }
01507
01511
QFont agendaViewFont()
const
01512
{
01513
return mAgendaViewFont;
01514 }
01515
01519 ItemFont *agendaViewFontItem()
01520 {
01521
return mAgendaViewFontItem;
01522 }
01523
01527
void setMarcusBainsFont(
const QFont & v )
01528 {
01529
if (!isImmutable(
"MarcusBainsFont" ))
01530 mMarcusBainsFont = v;
01531 }
01532
01536
QFont marcusBainsFont()
const
01537
{
01538
return mMarcusBainsFont;
01539 }
01540
01544 ItemFont *marcusBainsFontItem()
01545 {
01546
return mMarcusBainsFontItem;
01547 }
01548
01552
void setMonthViewFont(
const QFont & v )
01553 {
01554
if (!isImmutable(
"MonthViewFont" ))
01555 mMonthViewFont = v;
01556 }
01557
01561
QFont monthViewFont()
const
01562
{
01563
return mMonthViewFont;
01564 }
01565
01569 ItemFont *monthViewFontItem()
01570 {
01571
return mMonthViewFontItem;
01572 }
01573
01577
void setFreeBusyPublishAuto(
bool v )
01578 {
01579
if (!isImmutable(
"FreeBusyPublishAuto" ))
01580 mFreeBusyPublishAuto = v;
01581 }
01582
01586
bool freeBusyPublishAuto()
const
01587
{
01588
return mFreeBusyPublishAuto;
01589 }
01590
01594 ItemBool *freeBusyPublishAutoItem()
01595 {
01596
return mFreeBusyPublishAutoItem;
01597 }
01598
01602
void setFreeBusyPublishDelay(
int v )
01603 {
01604
if (!isImmutable(
"FreeBusyPublishDelay" ))
01605 mFreeBusyPublishDelay = v;
01606 }
01607
01611
int freeBusyPublishDelay()
const
01612
{
01613
return mFreeBusyPublishDelay;
01614 }
01615
01619 ItemInt *freeBusyPublishDelayItem()
01620 {
01621
return mFreeBusyPublishDelayItem;
01622 }
01623
01627
void setFreeBusyPublishDays(
int v )
01628 {
01629
if (!isImmutable(
"FreeBusyPublishDays" ))
01630 mFreeBusyPublishDays = v;
01631 }
01632
01636
int freeBusyPublishDays()
const
01637
{
01638
return mFreeBusyPublishDays;
01639 }
01640
01644 ItemInt *freeBusyPublishDaysItem()
01645 {
01646
return mFreeBusyPublishDaysItem;
01647 }
01648
01652
void setFreeBusyPublishUrl(
const QString & v )
01653 {
01654
if (!isImmutable(
"FreeBusyPublishUrl" ))
01655 mFreeBusyPublishUrl = v;
01656 }
01657
01661
QString freeBusyPublishUrl()
const
01662
{
01663
return mFreeBusyPublishUrl;
01664 }
01665
01669 ItemString *freeBusyPublishUrlItem()
01670 {
01671
return mFreeBusyPublishUrlItem;
01672 }
01673
01677
void setFreeBusyPublishUser(
const QString & v )
01678 {
01679
if (!isImmutable(
"FreeBusyPublishUser" ))
01680 mFreeBusyPublishUser = v;
01681 }
01682
01686
QString freeBusyPublishUser()
const
01687
{
01688
return mFreeBusyPublishUser;
01689 }
01690
01694 ItemString *freeBusyPublishUserItem()
01695 {
01696
return mFreeBusyPublishUserItem;
01697 }
01698
01702
void setFreeBusyPublishPassword(
const QString & v )
01703 {
01704
if (!isImmutable(
"FreeBusyPublishPassword" ))
01705 mFreeBusyPublishPassword = v;
01706 }
01707
01711
QString freeBusyPublishPassword()
const
01712
{
01713
return mFreeBusyPublishPassword;
01714 }
01715
01719 ItemPassword *freeBusyPublishPasswordItem()
01720 {
01721
return mFreeBusyPublishPasswordItem;
01722 }
01723
01727
void setFreeBusyPublishSavePassword(
bool v )
01728 {
01729
if (!isImmutable(
"FreeBusyPublishSavePassword" ))
01730 mFreeBusyPublishSavePassword = v;
01731 }
01732
01736
bool freeBusyPublishSavePassword()
const
01737
{
01738
return mFreeBusyPublishSavePassword;
01739 }
01740
01744 ItemBool *freeBusyPublishSavePasswordItem()
01745 {
01746
return mFreeBusyPublishSavePasswordItem;
01747 }
01748
01752
void setFreeBusyRetrieveAuto(
bool v )
01753 {
01754
if (!isImmutable(
"FreeBusyRetrieveAuto" ))
01755 mFreeBusyRetrieveAuto = v;
01756 }
01757
01761
bool freeBusyRetrieveAuto()
const
01762
{
01763
return mFreeBusyRetrieveAuto;
01764 }
01765
01769 ItemBool *freeBusyRetrieveAutoItem()
01770 {
01771
return mFreeBusyRetrieveAutoItem;
01772 }
01773
01777
void setFreeBusyFullDomainRetrieval(
bool v )
01778 {
01779
if (!isImmutable(
"FreeBusyFullDomainRetrieval" ))
01780 mFreeBusyFullDomainRetrieval = v;
01781 }
01782
01786
bool freeBusyFullDomainRetrieval()
const
01787
{
01788
return mFreeBusyFullDomainRetrieval;
01789 }
01790
01794 ItemBool *freeBusyFullDomainRetrievalItem()
01795 {
01796
return mFreeBusyFullDomainRetrievalItem;
01797 }
01798
01802
void setFreeBusyRetrieveUrl(
const QString & v )
01803 {
01804
if (!isImmutable(
"FreeBusyRetrieveUrl" ))
01805 mFreeBusyRetrieveUrl = v;
01806 }
01807
01811
QString freeBusyRetrieveUrl()
const
01812
{
01813
return mFreeBusyRetrieveUrl;
01814 }
01815
01819 ItemString *freeBusyRetrieveUrlItem()
01820 {
01821
return mFreeBusyRetrieveUrlItem;
01822 }
01823
01827
void setFreeBusyRetrieveUser(
const QString & v )
01828 {
01829
if (!isImmutable(
"FreeBusyRetrieveUser" ))
01830 mFreeBusyRetrieveUser = v;
01831 }
01832
01836
QString freeBusyRetrieveUser()
const
01837
{
01838
return mFreeBusyRetrieveUser;
01839 }
01840
01844 ItemString *freeBusyRetrieveUserItem()
01845 {
01846
return mFreeBusyRetrieveUserItem;
01847 }
01848
01852
void setFreeBusyRetrievePassword(
const QString & v )
01853 {
01854
if (!isImmutable(
"FreeBusyRetrievePassword" ))
01855 mFreeBusyRetrievePassword = v;
01856 }
01857
01861
QString freeBusyRetrievePassword()
const
01862
{
01863
return mFreeBusyRetrievePassword;
01864 }
01865
01869 ItemPassword *freeBusyRetrievePasswordItem()
01870 {
01871
return mFreeBusyRetrievePasswordItem;
01872 }
01873
01877
void setFreeBusyRetrieveSavePassword(
bool v )
01878 {
01879
if (!isImmutable(
"FreeBusyRetrieveSavePassword" ))
01880 mFreeBusyRetrieveSavePassword = v;
01881 }
01882
01886
bool freeBusyRetrieveSavePassword()
const
01887
{
01888
return mFreeBusyRetrieveSavePassword;
01889 }
01890
01894 ItemBool *freeBusyRetrieveSavePasswordItem()
01895 {
01896
return mFreeBusyRetrieveSavePasswordItem;
01897 }
01898
01899
protected:
01900
public:
01901
01902
01903
bool mAutoSave;
01904
int mAutoSaveInterval;
01905
bool mConfirm;
01906
bool mAutoArchive;
01907
int mArchiveAction;
01908
int mExpiryTime;
01909
int mExpiryUnit;
01910
QString mArchiveFile;
01911
bool mHtmlWithSave;
01912
int mDestination;
01913
01914
01915
bool mBcc;
01916
bool mEmailControlCenter;
01917
int mMailClient;
01918
01919
01920
QString mTimeZoneId;
01921
QDateTime mStartTime;
01922
QDateTime mDefaultDuration;
01923
int mAlarmTime;
01924
01925
01926
int mHourSize;
01927
bool mDailyRecur;
01928
bool mWeeklyRecur;
01929
bool mEnableToolTips;
01930
bool mShowAllDayTodo;
01931
bool mEnableMonthScroll;
01932
bool mSelectionStartsEditor;
01933
bool mMarcusBainsShowSeconds;
01934
bool mMarcusBainsEnabled;
01935
QDateTime mDayBegins;
01936
QDateTime mWorkingHoursStart;
01937
QDateTime mWorkingHoursEnd;
01938
int mWorkWeekMask;
01939
bool mExcludeHolidays;
01940
bool mMonthViewUsesCategoryColor;
01941
bool mFullViewMonth;
01942
bool mFullViewTodo;
01943
bool mEnableQuickTodo;
01944
int mNextXDays;
01945
01946
01947
bool mCompactDialogs;
01948
bool mVerticalScreen;
01949
01950
01951
QStringList mSelectedPlugins;
01952
01953
01954
QStringList mEventTemplates;
01955
QStringList mTodoTemplates;
01956
QStringList mJournalTemplates;
01957
01958
01959
int mIMIPScheduler;
01960
bool mUseGroupwareCommunication;
01961
QStringList mAdditionalMails;
01962
int mIMIPSend;
01963
int mIMIPAutoRefresh;
01964
int mIMIPAutoInsertRequest;
01965
int mIMIPAutoInsertReply;
01966
int mIMIPAutoFreeBusy;
01967
int mIMIPAutoFreeBusyReply;
01968
01969
01970
QColor mHolidayColor;
01971
QColor mHighlightColor;
01972
QColor mAgendaBgColor;
01973
QColor mWorkingHoursColor;
01974
QColor mTodoDueTodayColor;
01975
QColor mTodoOverdueColor;
01976
QColor mEventColor;
01977
01978
01979
QFont mTimeBarFont;
01980
QFont mAgendaViewFont;
01981
QFont mMarcusBainsFont;
01982
QFont mMonthViewFont;
01983
01984
01985
bool mFreeBusyPublishAuto;
01986
int mFreeBusyPublishDelay;
01987
int mFreeBusyPublishDays;
01988
QString mFreeBusyPublishUrl;
01989
QString mFreeBusyPublishUser;
01990
QString mFreeBusyPublishPassword;
01991
bool mFreeBusyPublishSavePassword;
01992
bool mFreeBusyRetrieveAuto;
01993
bool mFreeBusyFullDomainRetrieval;
01994
QString mFreeBusyRetrieveUrl;
01995
QString mFreeBusyRetrieveUser;
01996
QString mFreeBusyRetrievePassword;
01997
bool mFreeBusyRetrieveSavePassword;
01998
01999
private:
02000 ItemBool *mAutoSaveItem;
02001 ItemInt *mAutoSaveIntervalItem;
02002 ItemBool *mConfirmItem;
02003 ItemBool *mAutoArchiveItem;
02004 ItemEnum *mArchiveActionItem;
02005 ItemInt *mExpiryTimeItem;
02006 ItemEnum *mExpiryUnitItem;
02007 ItemString *mArchiveFileItem;
02008 ItemBool *mHtmlWithSaveItem;
02009 ItemEnum *mDestinationItem;
02010 ItemBool *mBccItem;
02011 ItemBool *mEmailControlCenterItem;
02012 ItemEnum *mMailClientItem;
02013 ItemString *mTimeZoneIdItem;
02014 ItemDateTime *mStartTimeItem;
02015 ItemDateTime *mDefaultDurationItem;
02016 ItemInt *mAlarmTimeItem;
02017 ItemInt *mHourSizeItem;
02018 ItemBool *mDailyRecurItem;
02019 ItemBool *mWeeklyRecurItem;
02020 ItemBool *mEnableToolTipsItem;
02021 ItemBool *mShowAllDayTodoItem;
02022 ItemBool *mEnableMonthScrollItem;
02023 ItemBool *mSelectionStartsEditorItem;
02024 ItemBool *mMarcusBainsShowSecondsItem;
02025 ItemBool *mMarcusBainsEnabledItem;
02026 ItemDateTime *mDayBeginsItem;
02027 ItemDateTime *mWorkingHoursStartItem;
02028 ItemDateTime *mWorkingHoursEndItem;
02029 ItemInt *mWorkWeekMaskItem;
02030 ItemBool *mExcludeHolidaysItem;
02031 ItemBool *mMonthViewUsesCategoryColorItem;
02032 ItemBool *mFullViewMonthItem;
02033 ItemBool *mFullViewTodoItem;
02034 ItemBool *mEnableQuickTodoItem;
02035 ItemInt *mNextXDaysItem;
02036 ItemBool *mCompactDialogsItem;
02037 ItemBool *mVerticalScreenItem;
02038 ItemStringList *mSelectedPluginsItem;
02039 ItemStringList *mEventTemplatesItem;
02040 ItemStringList *mTodoTemplatesItem;
02041 ItemStringList *mJournalTemplatesItem;
02042 ItemEnum *mIMIPSchedulerItem;
02043 ItemBool *mUseGroupwareCommunicationItem;
02044 ItemStringList *mAdditionalMailsItem;
02045 ItemEnum *mIMIPSendItem;
02046 ItemEnum *mIMIPAutoRefreshItem;
02047 ItemEnum *mIMIPAutoInsertRequestItem;
02048 ItemEnum *mIMIPAutoInsertReplyItem;
02049 ItemEnum *mIMIPAutoFreeBusyItem;
02050 ItemEnum *mIMIPAutoFreeBusyReplyItem;
02051 ItemColor *mHolidayColorItem;
02052 ItemColor *mHighlightColorItem;
02053 ItemColor *mAgendaBgColorItem;
02054 ItemColor *mWorkingHoursColorItem;
02055 ItemColor *mTodoDueTodayColorItem;
02056 ItemColor *mTodoOverdueColorItem;
02057 ItemColor *mEventColorItem;
02058 ItemFont *mTimeBarFontItem;
02059 ItemFont *mAgendaViewFontItem;
02060 ItemFont *mMarcusBainsFontItem;
02061 ItemFont *mMonthViewFontItem;
02062 ItemBool *mFreeBusyPublishAutoItem;
02063 ItemInt *mFreeBusyPublishDelayItem;
02064 ItemInt *mFreeBusyPublishDaysItem;
02065 ItemString *mFreeBusyPublishUrlItem;
02066 ItemString *mFreeBusyPublishUserItem;
02067 ItemPassword *mFreeBusyPublishPasswordItem;
02068 ItemBool *mFreeBusyPublishSavePasswordItem;
02069 ItemBool *mFreeBusyRetrieveAutoItem;
02070 ItemBool *mFreeBusyFullDomainRetrievalItem;
02071 ItemString *mFreeBusyRetrieveUrlItem;
02072 ItemString *mFreeBusyRetrieveUserItem;
02073 ItemPassword *mFreeBusyRetrievePasswordItem;
02074 ItemBool *mFreeBusyRetrieveSavePasswordItem;
02075 };
02076
02077
#endif
02078