korganizer

koprefs_base.h

00001 // This file is generated by kconfig_compiler from korganizer.kcfg.
00002 // All changes you do to this file will be lost.
00003 #ifndef KOPREFSBASE_H
00004 #define KOPREFSBASE_H
00005 
00006 #include <libkdepim/kpimprefs.h>
00007 
00008 #include <kconfigskeleton.h>
00009 #include <kdebug.h>
00010 
00011 #include <klocale.h>
00012 class KOPrefsBase : public KPimPrefs
00013 {
00014   public:
00015     enum { actionDelete, actionArchive };
00016     enum { UnitDays, UnitWeeks, UnitMonths };
00017     enum { standardDestination, askDestination };
00018     enum { MailClientKMail, MailClientSendmail };
00019     enum { IMIPDummy, IMIPKMail };
00020 
00021     KOPrefsBase( );
00022     ~KOPrefsBase();
00023 
00027     void setAutoSave( bool v )
00028     {
00029       if (!isImmutable( QString::fromLatin1( "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 (v < 1)
00055       {
00056         kdDebug() << "setAutoSaveInterval: value " << v << " is less than the minimum value of 1" << endl;
00057         v = 1;
00058       }
00059       if (!isImmutable( QString::fromLatin1( "AutoSaveInterval" ) ))
00060         mAutoSaveInterval = v;
00061     }
00062 
00066     int autoSaveInterval() const
00067     {
00068       return mAutoSaveInterval;
00069     }
00070 
00074     ItemInt *autoSaveIntervalItem()
00075     {
00076       return mAutoSaveIntervalItem;
00077     }
00078 
00082     void setConfirm( bool v )
00083     {
00084       if (!isImmutable( QString::fromLatin1( "Confirm" ) ))
00085         mConfirm = v;
00086     }
00087 
00091     bool confirm() const
00092     {
00093       return mConfirm;
00094     }
00095 
00099     ItemBool *confirmItem()
00100     {
00101       return mConfirmItem;
00102     }
00103 
00107     void setArchiveEvents( bool v )
00108     {
00109       if (!isImmutable( QString::fromLatin1( "ArchiveEvents" ) ))
00110         mArchiveEvents = v;
00111     }
00112 
00116     bool archiveEvents() const
00117     {
00118       return mArchiveEvents;
00119     }
00120 
00124     ItemBool *archiveEventsItem()
00125     {
00126       return mArchiveEventsItem;
00127     }
00128 
00132     void setArchiveTodos( bool v )
00133     {
00134       if (!isImmutable( QString::fromLatin1( "ArchiveTodos" ) ))
00135         mArchiveTodos = v;
00136     }
00137 
00141     bool archiveTodos() const
00142     {
00143       return mArchiveTodos;
00144     }
00145 
00149     ItemBool *archiveTodosItem()
00150     {
00151       return mArchiveTodosItem;
00152     }
00153 
00157     void setAutoArchive( bool v )
00158     {
00159       if (!isImmutable( QString::fromLatin1( "AutoArchive" ) ))
00160         mAutoArchive = v;
00161     }
00162 
00166     bool autoArchive() const
00167     {
00168       return mAutoArchive;
00169     }
00170 
00174     ItemBool *autoArchiveItem()
00175     {
00176       return mAutoArchiveItem;
00177     }
00178 
00182     void setArchiveAction( int v )
00183     {
00184       if (!isImmutable( QString::fromLatin1( "ArchiveAction" ) ))
00185         mArchiveAction = v;
00186     }
00187 
00191     int archiveAction() const
00192     {
00193       return mArchiveAction;
00194     }
00195 
00199     ItemEnum *archiveActionItem()
00200     {
00201       return mArchiveActionItem;
00202     }
00203 
00207     void setExpiryTime( int v )
00208     {
00209       if (!isImmutable( QString::fromLatin1( "ExpiryTime" ) ))
00210         mExpiryTime = v;
00211     }
00212 
00216     int expiryTime() const
00217     {
00218       return mExpiryTime;
00219     }
00220 
00224     ItemInt *expiryTimeItem()
00225     {
00226       return mExpiryTimeItem;
00227     }
00228 
00232     void setExpiryUnit( int v )
00233     {
00234       if (!isImmutable( QString::fromLatin1( "ExpiryUnit" ) ))
00235         mExpiryUnit = v;
00236     }
00237 
00241     int expiryUnit() const
00242     {
00243       return mExpiryUnit;
00244     }
00245 
00249     ItemEnum *expiryUnitItem()
00250     {
00251       return mExpiryUnitItem;
00252     }
00253 
00257     void setArchiveFile( const QString & v )
00258     {
00259       if (!isImmutable( QString::fromLatin1( "ArchiveFile" ) ))
00260         mArchiveFile = v;
00261     }
00262 
00266     QString archiveFile() const
00267     {
00268       return mArchiveFile;
00269     }
00270 
00274     ItemString *archiveFileItem()
00275     {
00276       return mArchiveFileItem;
00277     }
00278 
00282     void setHtmlWithSave( bool v )
00283     {
00284       if (!isImmutable( QString::fromLatin1( "HtmlWithSave" ) ))
00285         mHtmlWithSave = v;
00286     }
00287 
00291     bool htmlWithSave() const
00292     {
00293       return mHtmlWithSave;
00294     }
00295 
00299     ItemBool *htmlWithSaveItem()
00300     {
00301       return mHtmlWithSaveItem;
00302     }
00303 
00307     void setDestination( int v )
00308     {
00309       if (!isImmutable( QString::fromLatin1( "Destination" ) ))
00310         mDestination = v;
00311     }
00312 
00316     int destination() const
00317     {
00318       return mDestination;
00319     }
00320 
00324     ItemEnum *destinationItem()
00325     {
00326       return mDestinationItem;
00327     }
00328 
00332     void setBcc( bool v )
00333     {
00334       if (!isImmutable( QString::fromLatin1( "Bcc" ) ))
00335         mBcc = v;
00336     }
00337 
00341     bool bcc() const
00342     {
00343       return mBcc;
00344     }
00345 
00349     ItemBool *bccItem()
00350     {
00351       return mBccItem;
00352     }
00353 
00357     void setEmailControlCenter( bool v )
00358     {
00359       if (!isImmutable( QString::fromLatin1( "EmailControlCenter" ) ))
00360         mEmailControlCenter = v;
00361     }
00362 
00366     bool emailControlCenter() const
00367     {
00368       return mEmailControlCenter;
00369     }
00370 
00374     ItemBool *emailControlCenterItem()
00375     {
00376       return mEmailControlCenterItem;
00377     }
00378 
00382     void setUserName( const QString & v )
00383     {
00384       if (!isImmutable( QString::fromLatin1( "UserName" ) ))
00385         mUserName = v;
00386     }
00387 
00391     QString userName() const
00392     {
00393       return mUserName;
00394     }
00395 
00399     ItemString *userNameItem()
00400     {
00401       return mUserNameItem;
00402     }
00403 
00407     void setUserEmail( const QString & v )
00408     {
00409       if (!isImmutable( QString::fromLatin1( "UserEmail" ) ))
00410         mUserEmail = v;
00411     }
00412 
00416     QString userEmail() const
00417     {
00418       return mUserEmail;
00419     }
00420 
00424     ItemString *userEmailItem()
00425     {
00426       return mUserEmailItem;
00427     }
00428 
00432     void setMailClient( int v )
00433     {
00434       if (!isImmutable( QString::fromLatin1( "MailClient" ) ))
00435         mMailClient = v;
00436     }
00437 
00441     int mailClient() const
00442     {
00443       return mMailClient;
00444     }
00445 
00449     ItemEnum *mailClientItem()
00450     {
00451       return mMailClientItem;
00452     }
00453 
00457     void setTimeZoneId( const QString & v )
00458     {
00459       if (!isImmutable( QString::fromLatin1( "TimeZoneId" ) ))
00460         mTimeZoneId = v;
00461     }
00462 
00466     QString timeZoneId() const
00467     {
00468       return mTimeZoneId;
00469     }
00470 
00474     ItemString *timeZoneIdItem()
00475     {
00476       return mTimeZoneIdItem;
00477     }
00478 
00482     void setHolidays( const QString & v )
00483     {
00484       if (!isImmutable( QString::fromLatin1( "Holidays" ) ))
00485         mHolidays = v;
00486     }
00487 
00491     QString holidays() const
00492     {
00493       return mHolidays;
00494     }
00495 
00499     ItemString *holidaysItem()
00500     {
00501       return mHolidaysItem;
00502     }
00503 
00507     void setStartTime( const QDateTime & v )
00508     {
00509       if (!isImmutable( QString::fromLatin1( "StartTime" ) ))
00510         mStartTime = v;
00511     }
00512 
00516     QDateTime startTime() const
00517     {
00518       return mStartTime;
00519     }
00520 
00524     ItemDateTime *startTimeItem()
00525     {
00526       return mStartTimeItem;
00527     }
00528 
00532     void setDefaultDuration( const QDateTime & v )
00533     {
00534       if (!isImmutable( QString::fromLatin1( "DefaultDuration" ) ))
00535         mDefaultDuration = v;
00536     }
00537 
00541     QDateTime defaultDuration() const
00542     {
00543       return mDefaultDuration;
00544     }
00545 
00549     ItemDateTime *defaultDurationItem()
00550     {
00551       return mDefaultDurationItem;
00552     }
00553 
00557     void setAlarmTime( int v )
00558     {
00559       if (!isImmutable( QString::fromLatin1( "AlarmTime" ) ))
00560         mAlarmTime = v;
00561     }
00562 
00566     int alarmTime() const
00567     {
00568       return mAlarmTime;
00569     }
00570 
00574     ItemInt *alarmTimeItem()
00575     {
00576       return mAlarmTimeItem;
00577     }
00578 
00582     void setHourSize( int v )
00583     {
00584       if (v < 4)
00585       {
00586         kdDebug() << "setHourSize: value " << v << " is less than the minimum value of 4" << endl;
00587         v = 4;
00588       }
00589 
00590       if (v > 30)
00591       {
00592         kdDebug() << "setHourSize: value " << v << " is greater than the maximum value of 30" << endl;
00593         v = 30;
00594       }
00595 
00596       if (!isImmutable( QString::fromLatin1( "HourSize" ) ))
00597         mHourSize = v;
00598     }
00599 
00603     int hourSize() const
00604     {
00605       return mHourSize;
00606     }
00607 
00611     ItemInt *hourSizeItem()
00612     {
00613       return mHourSizeItem;
00614     }
00615 
00619     void setDailyRecur( bool v )
00620     {
00621       if (!isImmutable( QString::fromLatin1( "DailyRecur" ) ))
00622         mDailyRecur = v;
00623     }
00624 
00628     bool dailyRecur() const
00629     {
00630       return mDailyRecur;
00631     }
00632 
00636     ItemBool *dailyRecurItem()
00637     {
00638       return mDailyRecurItem;
00639     }
00640 
00644     void setWeeklyRecur( bool v )
00645     {
00646       if (!isImmutable( QString::fromLatin1( "WeeklyRecur" ) ))
00647         mWeeklyRecur = v;
00648     }
00649 
00653     bool weeklyRecur() const
00654     {
00655       return mWeeklyRecur;
00656     }
00657 
00661     ItemBool *weeklyRecurItem()
00662     {
00663       return mWeeklyRecurItem;
00664     }
00665 
00669     void setEnableToolTips( bool v )
00670     {
00671       if (!isImmutable( QString::fromLatin1( "EnableToolTips" ) ))
00672         mEnableToolTips = v;
00673     }
00674 
00678     bool enableToolTips() const
00679     {
00680       return mEnableToolTips;
00681     }
00682 
00686     ItemBool *enableToolTipsItem()
00687     {
00688       return mEnableToolTipsItem;
00689     }
00690 
00694     void setShowAllDayTodo( bool v )
00695     {
00696       if (!isImmutable( QString::fromLatin1( "ShowAllDayTodo" ) ))
00697         mShowAllDayTodo = v;
00698     }
00699 
00703     bool showAllDayTodo() const
00704     {
00705       return mShowAllDayTodo;
00706     }
00707 
00711     ItemBool *showAllDayTodoItem()
00712     {
00713       return mShowAllDayTodoItem;
00714     }
00715 
00719     void setEnableMonthScroll( bool v )
00720     {
00721       if (!isImmutable( QString::fromLatin1( "EnableMonthScroll" ) ))
00722         mEnableMonthScroll = v;
00723     }
00724 
00728     bool enableMonthScroll() const
00729     {
00730       return mEnableMonthScroll;
00731     }
00732 
00736     ItemBool *enableMonthScrollItem()
00737     {
00738       return mEnableMonthScrollItem;
00739     }
00740 
00744     void setSelectionStartsEditor( bool v )
00745     {
00746       if (!isImmutable( QString::fromLatin1( "SelectionStartsEditor" ) ))
00747         mSelectionStartsEditor = v;
00748     }
00749 
00753     bool selectionStartsEditor() const
00754     {
00755       return mSelectionStartsEditor;
00756     }
00757 
00761     ItemBool *selectionStartsEditorItem()
00762     {
00763       return mSelectionStartsEditorItem;
00764     }
00765 
00769     void setMarcusBainsEnabled( bool v )
00770     {
00771       if (!isImmutable( QString::fromLatin1( "MarcusBainsEnabled" ) ))
00772         mMarcusBainsEnabled = v;
00773     }
00774 
00778     bool marcusBainsEnabled() const
00779     {
00780       return mMarcusBainsEnabled;
00781     }
00782 
00786     ItemBool *marcusBainsEnabledItem()
00787     {
00788       return mMarcusBainsEnabledItem;
00789     }
00790 
00794     void setMarcusBainsShowSeconds( bool v )
00795     {
00796       if (!isImmutable( QString::fromLatin1( "MarcusBainsShowSeconds" ) ))
00797         mMarcusBainsShowSeconds = v;
00798     }
00799 
00803     bool marcusBainsShowSeconds() const
00804     {
00805       return mMarcusBainsShowSeconds;
00806     }
00807 
00811     ItemBool *marcusBainsShowSecondsItem()
00812     {
00813       return mMarcusBainsShowSecondsItem;
00814     }
00815 
00819     void setAgendaViewUsesResourceColor( bool v )
00820     {
00821       if (!isImmutable( QString::fromLatin1( "AgendaViewUsesResourceColor" ) ))
00822         mAgendaViewUsesResourceColor = v;
00823     }
00824 
00828     bool agendaViewUsesResourceColor() const
00829     {
00830       return mAgendaViewUsesResourceColor;
00831     }
00832 
00836     ItemBool *agendaViewUsesResourceColorItem()
00837     {
00838       return mAgendaViewUsesResourceColorItem;
00839     }
00840 
00844     void setDayBegins( const QDateTime & v )
00845     {
00846       if (!isImmutable( QString::fromLatin1( "DayBegins" ) ))
00847         mDayBegins = v;
00848     }
00849 
00853     QDateTime dayBegins() const
00854     {
00855       return mDayBegins;
00856     }
00857 
00861     ItemDateTime *dayBeginsItem()
00862     {
00863       return mDayBeginsItem;
00864     }
00865 
00869     void setWorkingHoursStart( const QDateTime & v )
00870     {
00871       if (!isImmutable( QString::fromLatin1( "WorkingHoursStart" ) ))
00872         mWorkingHoursStart = v;
00873     }
00874 
00878     QDateTime workingHoursStart() const
00879     {
00880       return mWorkingHoursStart;
00881     }
00882 
00886     ItemDateTime *workingHoursStartItem()
00887     {
00888       return mWorkingHoursStartItem;
00889     }
00890 
00894     void setWorkingHoursEnd( const QDateTime & v )
00895     {
00896       if (!isImmutable( QString::fromLatin1( "WorkingHoursEnd" ) ))
00897         mWorkingHoursEnd = v;
00898     }
00899 
00903     QDateTime workingHoursEnd() const
00904     {
00905       return mWorkingHoursEnd;
00906     }
00907 
00911     ItemDateTime *workingHoursEndItem()
00912     {
00913       return mWorkingHoursEndItem;
00914     }
00915 
00919     void setWorkWeekMask( int v )
00920     {
00921       if (!isImmutable( QString::fromLatin1( "WorkWeekMask" ) ))
00922         mWorkWeekMask = v;
00923     }
00924 
00928     int workWeekMask() const
00929     {
00930       return mWorkWeekMask;
00931     }
00932 
00936     ItemInt *workWeekMaskItem()
00937     {
00938       return mWorkWeekMaskItem;
00939     }
00940 
00944     void setExcludeHolidays( bool v )
00945     {
00946       if (!isImmutable( QString::fromLatin1( "ExcludeHolidays" ) ))
00947         mExcludeHolidays = v;
00948     }
00949 
00953     bool excludeHolidays() const
00954     {
00955       return mExcludeHolidays;
00956     }
00957 
00961     ItemBool *excludeHolidaysItem()
00962     {
00963       return mExcludeHolidaysItem;
00964     }
00965 
00969     void setMonthViewUsesCategoryColor( bool v )
00970     {
00971       if (!isImmutable( QString::fromLatin1( "MonthViewUsesCategoryColor" ) ))
00972         mMonthViewUsesCategoryColor = v;
00973     }
00974 
00978     bool monthViewUsesCategoryColor() const
00979     {
00980       return mMonthViewUsesCategoryColor;
00981     }
00982 
00986     ItemBool *monthViewUsesCategoryColorItem()
00987     {
00988       return mMonthViewUsesCategoryColorItem;
00989     }
00990 
00994     void setMonthViewUsesResourceColor( bool v )
00995     {
00996       if (!isImmutable( QString::fromLatin1( "MonthViewUsesResourceColor" ) ))
00997         mMonthViewUsesResourceColor = v;
00998     }
00999 
01003     bool monthViewUsesResourceColor() const
01004     {
01005       return mMonthViewUsesResourceColor;
01006     }
01007 
01011     ItemBool *monthViewUsesResourceColorItem()
01012     {
01013       return mMonthViewUsesResourceColorItem;
01014     }
01015 
01019     void setFullViewMonth( bool v )
01020     {
01021       if (!isImmutable( QString::fromLatin1( "FullViewMonth" ) ))
01022         mFullViewMonth = v;
01023     }
01024 
01028     bool fullViewMonth() const
01029     {
01030       return mFullViewMonth;
01031     }
01032 
01036     ItemBool *fullViewMonthItem()
01037     {
01038       return mFullViewMonthItem;
01039     }
01040 
01044     void setFullViewTodo( bool v )
01045     {
01046       if (!isImmutable( QString::fromLatin1( "FullViewTodo" ) ))
01047         mFullViewTodo = v;
01048     }
01049 
01053     bool fullViewTodo() const
01054     {
01055       return mFullViewTodo;
01056     }
01057 
01061     ItemBool *fullViewTodoItem()
01062     {
01063       return mFullViewTodoItem;
01064     }
01065 
01069     void setRecordTodosInJournals( bool v )
01070     {
01071       if (!isImmutable( QString::fromLatin1( "RecordTodosInJournals" ) ))
01072         mRecordTodosInJournals = v;
01073     }
01074 
01078     bool recordTodosInJournals() const
01079     {
01080       return mRecordTodosInJournals;
01081     }
01082 
01086     ItemBool *recordTodosInJournalsItem()
01087     {
01088       return mRecordTodosInJournalsItem;
01089     }
01090 
01094     void setEnableQuickTodo( bool v )
01095     {
01096       if (!isImmutable( QString::fromLatin1( "EnableQuickTodo" ) ))
01097         mEnableQuickTodo = v;
01098     }
01099 
01103     bool enableQuickTodo() const
01104     {
01105       return mEnableQuickTodo;
01106     }
01107 
01111     ItemBool *enableQuickTodoItem()
01112     {
01113       return mEnableQuickTodoItem;
01114     }
01115 
01119     void setNextXDays( int v )
01120     {
01121       if (!isImmutable( QString::fromLatin1( "NextXDays" ) ))
01122         mNextXDays = v;
01123     }
01124 
01128     int nextXDays() const
01129     {
01130       return mNextXDays;
01131     }
01132 
01136     ItemInt *nextXDaysItem()
01137     {
01138       return mNextXDaysItem;
01139     }
01140 
01144     void setCompactDialogs( bool v )
01145     {
01146       if (!isImmutable( QString::fromLatin1( "CompactDialogs" ) ))
01147         mCompactDialogs = v;
01148     }
01149 
01153     bool compactDialogs() const
01154     {
01155       return mCompactDialogs;
01156     }
01157 
01161     ItemBool *compactDialogsItem()
01162     {
01163       return mCompactDialogsItem;
01164     }
01165 
01169     void setVerticalScreen( bool v )
01170     {
01171       if (!isImmutable( QString::fromLatin1( "VerticalScreen" ) ))
01172         mVerticalScreen = v;
01173     }
01174 
01178     bool verticalScreen() const
01179     {
01180       return mVerticalScreen;
01181     }
01182 
01186     ItemBool *verticalScreenItem()
01187     {
01188       return mVerticalScreenItem;
01189     }
01190 
01194     void setSelectedPlugins( const QStringList & v )
01195     {
01196       if (!isImmutable( QString::fromLatin1( "SelectedPlugins" ) ))
01197         mSelectedPlugins = v;
01198     }
01199 
01203     QStringList selectedPlugins() const
01204     {
01205       return mSelectedPlugins;
01206     }
01207 
01211     ItemStringList *selectedPluginsItem()
01212     {
01213       return mSelectedPluginsItem;
01214     }
01215 
01219     void setEventTemplates( const QStringList & v )
01220     {
01221       if (!isImmutable( QString::fromLatin1( "EventTemplates" ) ))
01222         mEventTemplates = v;
01223     }
01224 
01228     QStringList eventTemplates() const
01229     {
01230       return mEventTemplates;
01231     }
01232 
01236     ItemStringList *eventTemplatesItem()
01237     {
01238       return mEventTemplatesItem;
01239     }
01240 
01244     void setTodoTemplates( const QStringList & v )
01245     {
01246       if (!isImmutable( QString::fromLatin1( "TodoTemplates" ) ))
01247         mTodoTemplates = v;
01248     }
01249 
01253     QStringList todoTemplates() const
01254     {
01255       return mTodoTemplates;
01256     }
01257 
01261     ItemStringList *todoTemplatesItem()
01262     {
01263       return mTodoTemplatesItem;
01264     }
01265 
01269     void setJournalTemplates( const QStringList & v )
01270     {
01271       if (!isImmutable( QString::fromLatin1( "JournalTemplates" ) ))
01272         mJournalTemplates = v;
01273     }
01274 
01278     QStringList journalTemplates() const
01279     {
01280       return mJournalTemplates;
01281     }
01282 
01286     ItemStringList *journalTemplatesItem()
01287     {
01288       return mJournalTemplatesItem;
01289     }
01290 
01294     void setActiveDesignerFields( const QStringList & v )
01295     {
01296       if (!isImmutable( QString::fromLatin1( "ActiveDesignerFields" ) ))
01297         mActiveDesignerFields = v;
01298     }
01299 
01303     QStringList activeDesignerFields() const
01304     {
01305       return mActiveDesignerFields;
01306     }
01307 
01311     ItemStringList *activeDesignerFieldsItem()
01312     {
01313       return mActiveDesignerFieldsItem;
01314     }
01315 
01319     void setIMIPScheduler( int v )
01320     {
01321       if (!isImmutable( QString::fromLatin1( "IMIPScheduler" ) ))
01322         mIMIPScheduler = v;
01323     }
01324 
01328     int iMIPScheduler() const
01329     {
01330       return mIMIPScheduler;
01331     }
01332 
01336     ItemEnum *iMIPSchedulerItem()
01337     {
01338       return mIMIPSchedulerItem;
01339     }
01340 
01344     void setUseGroupwareCommunication( bool v )
01345     {
01346       if (!isImmutable( QString::fromLatin1( "UseGroupwareCommunication" ) ))
01347         mUseGroupwareCommunication = v;
01348     }
01349 
01353     bool useGroupwareCommunication() const
01354     {
01355       return mUseGroupwareCommunication;
01356     }
01357 
01361     ItemBool *useGroupwareCommunicationItem()
01362     {
01363       return mUseGroupwareCommunicationItem;
01364     }
01365 
01369     void setAdditionalMails( const QStringList & v )
01370     {
01371       if (!isImmutable( QString::fromLatin1( "AdditionalMails" ) ))
01372         mAdditionalMails = v;
01373     }
01374 
01378     QStringList additionalMails() const
01379     {
01380       return mAdditionalMails;
01381     }
01382 
01386     ItemStringList *additionalMailsItem()
01387     {
01388       return mAdditionalMailsItem;
01389     }
01390 
01394     void setHolidayColor( const QColor & v )
01395     {
01396       if (!isImmutable( QString::fromLatin1( "HolidayColor" ) ))
01397         mHolidayColor = v;
01398     }
01399 
01403     QColor holidayColor() const
01404     {
01405       return mHolidayColor;
01406     }
01407 
01411     ItemColor *holidayColorItem()
01412     {
01413       return mHolidayColorItem;
01414     }
01415 
01419     void setHighlightColor( const QColor & v )
01420     {
01421       if (!isImmutable( QString::fromLatin1( "HighlightColor" ) ))
01422         mHighlightColor = v;
01423     }
01424 
01428     QColor highlightColor() const
01429     {
01430       return mHighlightColor;
01431     }
01432 
01436     ItemColor *highlightColorItem()
01437     {
01438       return mHighlightColorItem;
01439     }
01440 
01444     void setAgendaBgColor( const QColor & v )
01445     {
01446       if (!isImmutable( QString::fromLatin1( "AgendaBgColor" ) ))
01447         mAgendaBgColor = v;
01448     }
01449 
01453     QColor agendaBgColor() const
01454     {
01455       return mAgendaBgColor;
01456     }
01457 
01461     ItemColor *agendaBgColorItem()
01462     {
01463       return mAgendaBgColorItem;
01464     }
01465 
01469     void setWorkingHoursColor( const QColor & v )
01470     {
01471       if (!isImmutable( QString::fromLatin1( "WorkingHoursColor" ) ))
01472         mWorkingHoursColor = v;
01473     }
01474 
01478     QColor workingHoursColor() const
01479     {
01480       return mWorkingHoursColor;
01481     }
01482 
01486     ItemColor *workingHoursColorItem()
01487     {
01488       return mWorkingHoursColorItem;
01489     }
01490 
01494     void setTodoDueTodayColor( const QColor & v )
01495     {
01496       if (!isImmutable( QString::fromLatin1( "TodoDueTodayColor" ) ))
01497         mTodoDueTodayColor = v;
01498     }
01499 
01503     QColor todoDueTodayColor() const
01504     {
01505       return mTodoDueTodayColor;
01506     }
01507 
01511     ItemColor *todoDueTodayColorItem()
01512     {
01513       return mTodoDueTodayColorItem;
01514     }
01515 
01519     void setTodoOverdueColor( const QColor & v )
01520     {
01521       if (!isImmutable( QString::fromLatin1( "TodoOverdueColor" ) ))
01522         mTodoOverdueColor = v;
01523     }
01524 
01528     QColor todoOverdueColor() const
01529     {
01530       return mTodoOverdueColor;
01531     }
01532 
01536     ItemColor *todoOverdueColorItem()
01537     {
01538       return mTodoOverdueColorItem;
01539     }
01540 
01544     void setEventColor( const QColor & v )
01545     {
01546       if (!isImmutable( QString::fromLatin1( "EventColor" ) ))
01547         mEventColor = v;
01548     }
01549 
01553     QColor eventColor() const
01554     {
01555       return mEventColor;
01556     }
01557 
01561     ItemColor *eventColorItem()
01562     {
01563       return mEventColorItem;
01564     }
01565 
01569     void setTimeBarFont( const QFont & v )
01570     {
01571       if (!isImmutable( QString::fromLatin1( "TimeBarFont" ) ))
01572         mTimeBarFont = v;
01573     }
01574 
01578     QFont timeBarFont() const
01579     {
01580       return mTimeBarFont;
01581     }
01582 
01586     ItemFont *timeBarFontItem()
01587     {
01588       return mTimeBarFontItem;
01589     }
01590 
01594     void setAgendaViewFont( const QFont & v )
01595     {
01596       if (!isImmutable( QString::fromLatin1( "AgendaViewFont" ) ))
01597         mAgendaViewFont = v;
01598     }
01599 
01603     QFont agendaViewFont() const
01604     {
01605       return mAgendaViewFont;
01606     }
01607 
01611     ItemFont *agendaViewFontItem()
01612     {
01613       return mAgendaViewFontItem;
01614     }
01615 
01619     void setMarcusBainsFont( const QFont & v )
01620     {
01621       if (!isImmutable( QString::fromLatin1( "MarcusBainsFont" ) ))
01622         mMarcusBainsFont = v;
01623     }
01624 
01628     QFont marcusBainsFont() const
01629     {
01630       return mMarcusBainsFont;
01631     }
01632 
01636     ItemFont *marcusBainsFontItem()
01637     {
01638       return mMarcusBainsFontItem;
01639     }
01640 
01644     void setMonthViewFont( const QFont & v )
01645     {
01646       if (!isImmutable( QString::fromLatin1( "MonthViewFont" ) ))
01647         mMonthViewFont = v;
01648     }
01649 
01653     QFont monthViewFont() const
01654     {
01655       return mMonthViewFont;
01656     }
01657 
01661     ItemFont *monthViewFontItem()
01662     {
01663       return mMonthViewFontItem;
01664     }
01665 
01669     void setFreeBusyPublishAuto( bool v )
01670     {
01671       if (!isImmutable( QString::fromLatin1( "FreeBusyPublishAuto" ) ))
01672         mFreeBusyPublishAuto = v;
01673     }
01674 
01678     bool freeBusyPublishAuto() const
01679     {
01680       return mFreeBusyPublishAuto;
01681     }
01682 
01686     ItemBool *freeBusyPublishAutoItem()
01687     {
01688       return mFreeBusyPublishAutoItem;
01689     }
01690 
01694     void setFreeBusyPublishDelay( int v )
01695     {
01696       if (!isImmutable( QString::fromLatin1( "FreeBusyPublishDelay" ) ))
01697         mFreeBusyPublishDelay = v;
01698     }
01699 
01703     int freeBusyPublishDelay() const
01704     {
01705       return mFreeBusyPublishDelay;
01706     }
01707 
01711     ItemInt *freeBusyPublishDelayItem()
01712     {
01713       return mFreeBusyPublishDelayItem;
01714     }
01715 
01719     void setFreeBusyPublishDays( int v )
01720     {
01721       if (!isImmutable( QString::fromLatin1( "FreeBusyPublishDays" ) ))
01722         mFreeBusyPublishDays = v;
01723     }
01724 
01728     int freeBusyPublishDays() const
01729     {
01730       return mFreeBusyPublishDays;
01731     }
01732 
01736     ItemInt *freeBusyPublishDaysItem()
01737     {
01738       return mFreeBusyPublishDaysItem;
01739     }
01740 
01744     void setFreeBusyPublishUrl( const QString & v )
01745     {
01746       if (!isImmutable( QString::fromLatin1( "FreeBusyPublishUrl" ) ))
01747         mFreeBusyPublishUrl = v;
01748     }
01749 
01753     QString freeBusyPublishUrl() const
01754     {
01755       return mFreeBusyPublishUrl;
01756     }
01757 
01761     ItemString *freeBusyPublishUrlItem()
01762     {
01763       return mFreeBusyPublishUrlItem;
01764     }
01765 
01769     void setFreeBusyPublishUser( const QString & v )
01770     {
01771       if (!isImmutable( QString::fromLatin1( "FreeBusyPublishUser" ) ))
01772         mFreeBusyPublishUser = v;
01773     }
01774 
01778     QString freeBusyPublishUser() const
01779     {
01780       return mFreeBusyPublishUser;
01781     }
01782 
01786     ItemString *freeBusyPublishUserItem()
01787     {
01788       return mFreeBusyPublishUserItem;
01789     }
01790 
01794     void setFreeBusyPublishPassword( const QString & v )
01795     {
01796       if (!isImmutable( QString::fromLatin1( "FreeBusyPublishPassword" ) ))
01797         mFreeBusyPublishPassword = v;
01798     }
01799 
01803     QString freeBusyPublishPassword() const
01804     {
01805       return mFreeBusyPublishPassword;
01806     }
01807 
01811     ItemPassword *freeBusyPublishPasswordItem()
01812     {
01813       return mFreeBusyPublishPasswordItem;
01814     }
01815 
01819     void setFreeBusyPublishSavePassword( bool v )
01820     {
01821       if (!isImmutable( QString::fromLatin1( "FreeBusyPublishSavePassword" ) ))
01822         mFreeBusyPublishSavePassword = v;
01823     }
01824 
01828     bool freeBusyPublishSavePassword() const
01829     {
01830       return mFreeBusyPublishSavePassword;
01831     }
01832 
01836     ItemBool *freeBusyPublishSavePasswordItem()
01837     {
01838       return mFreeBusyPublishSavePasswordItem;
01839     }
01840 
01844     void setFreeBusyRetrieveAuto( bool v )
01845     {
01846       if (!isImmutable( QString::fromLatin1( "FreeBusyRetrieveAuto" ) ))
01847         mFreeBusyRetrieveAuto = v;
01848     }
01849 
01853     bool freeBusyRetrieveAuto() const
01854     {
01855       return mFreeBusyRetrieveAuto;
01856     }
01857 
01861     ItemBool *freeBusyRetrieveAutoItem()
01862     {
01863       return mFreeBusyRetrieveAutoItem;
01864     }
01865 
01869     void setFreeBusyFullDomainRetrieval( bool v )
01870     {
01871       if (!isImmutable( QString::fromLatin1( "FreeBusyFullDomainRetrieval" ) ))
01872         mFreeBusyFullDomainRetrieval = v;
01873     }
01874 
01878     bool freeBusyFullDomainRetrieval() const
01879     {
01880       return mFreeBusyFullDomainRetrieval;
01881     }
01882 
01886     ItemBool *freeBusyFullDomainRetrievalItem()
01887     {
01888       return mFreeBusyFullDomainRetrievalItem;
01889     }
01890 
01894     void setFreeBusyRetrieveUrl( const QString & v )
01895     {
01896       if (!isImmutable( QString::fromLatin1( "FreeBusyRetrieveUrl" ) ))
01897         mFreeBusyRetrieveUrl = v;
01898     }
01899 
01903     QString freeBusyRetrieveUrl() const
01904     {
01905       return mFreeBusyRetrieveUrl;
01906     }
01907 
01911     ItemString *freeBusyRetrieveUrlItem()
01912     {
01913       return mFreeBusyRetrieveUrlItem;
01914     }
01915 
01919     void setFreeBusyRetrieveUser( const QString & v )
01920     {
01921       if (!isImmutable( QString::fromLatin1( "FreeBusyRetrieveUser" ) ))
01922         mFreeBusyRetrieveUser = v;
01923     }
01924 
01928     QString freeBusyRetrieveUser() const
01929     {
01930       return mFreeBusyRetrieveUser;
01931     }
01932 
01936     ItemString *freeBusyRetrieveUserItem()
01937     {
01938       return mFreeBusyRetrieveUserItem;
01939     }
01940 
01944     void setFreeBusyRetrievePassword( const QString & v )
01945     {
01946       if (!isImmutable( QString::fromLatin1( "FreeBusyRetrievePassword" ) ))
01947         mFreeBusyRetrievePassword = v;
01948     }
01949 
01953     QString freeBusyRetrievePassword() const
01954     {
01955       return mFreeBusyRetrievePassword;
01956     }
01957 
01961     ItemPassword *freeBusyRetrievePasswordItem()
01962     {
01963       return mFreeBusyRetrievePasswordItem;
01964     }
01965 
01969     void setFreeBusyRetrieveSavePassword( bool v )
01970     {
01971       if (!isImmutable( QString::fromLatin1( "FreeBusyRetrieveSavePassword" ) ))
01972         mFreeBusyRetrieveSavePassword = v;
01973     }
01974 
01978     bool freeBusyRetrieveSavePassword() const
01979     {
01980       return mFreeBusyRetrieveSavePassword;
01981     }
01982 
01986     ItemBool *freeBusyRetrieveSavePasswordItem()
01987     {
01988       return mFreeBusyRetrieveSavePasswordItem;
01989     }
01990 
01991   protected:
01992   public:
01993 
01994     // General
01995     bool mAutoSave;
01996     int mAutoSaveInterval;
01997     bool mConfirm;
01998     bool mArchiveEvents;
01999     bool mArchiveTodos;
02000     bool mAutoArchive;
02001     int mArchiveAction;
02002     int mExpiryTime;
02003     int mExpiryUnit;
02004     QString mArchiveFile;
02005     bool mHtmlWithSave;
02006     int mDestination;
02007 
02008     // Personal Settings
02009     bool mBcc;
02010     bool mEmailControlCenter;
02011     QString mUserName;
02012     QString mUserEmail;
02013     int mMailClient;
02014 
02015     // Time & Date
02016     QString mTimeZoneId;
02017     QString mHolidays;
02018     QDateTime mStartTime;
02019     QDateTime mDefaultDuration;
02020     int mAlarmTime;
02021 
02022     // Views
02023     int mHourSize;
02024     bool mDailyRecur;
02025     bool mWeeklyRecur;
02026     bool mEnableToolTips;
02027     bool mShowAllDayTodo;
02028     bool mEnableMonthScroll;
02029     bool mSelectionStartsEditor;
02030     bool mMarcusBainsEnabled;
02031     bool mMarcusBainsShowSeconds;
02032     bool mAgendaViewUsesResourceColor;
02033     QDateTime mDayBegins;
02034     QDateTime mWorkingHoursStart;
02035     QDateTime mWorkingHoursEnd;
02036     int mWorkWeekMask;
02037     bool mExcludeHolidays;
02038     bool mMonthViewUsesCategoryColor;
02039     bool mMonthViewUsesResourceColor;
02040     bool mFullViewMonth;
02041     bool mFullViewTodo;
02042     bool mRecordTodosInJournals;
02043     bool mEnableQuickTodo;
02044     int mNextXDays;
02045 
02046     // Layout
02047     bool mCompactDialogs;
02048     bool mVerticalScreen;
02049 
02050     // KOrganizer Plugins
02051     QStringList mSelectedPlugins;
02052 
02053     // Editors
02054     QStringList mEventTemplates;
02055     QStringList mTodoTemplates;
02056     QStringList mJournalTemplates;
02057     QStringList mActiveDesignerFields;
02058 
02059     // Group Scheduling
02060     int mIMIPScheduler;
02061     bool mUseGroupwareCommunication;
02062     QStringList mAdditionalMails;
02063 
02064     // Colors
02065     QColor mHolidayColor;
02066     QColor mHighlightColor;
02067     QColor mAgendaBgColor;
02068     QColor mWorkingHoursColor;
02069     QColor mTodoDueTodayColor;
02070     QColor mTodoOverdueColor;
02071     QColor mEventColor;
02072 
02073     // Fonts
02074     QFont mTimeBarFont;
02075     QFont mAgendaViewFont;
02076     QFont mMarcusBainsFont;
02077     QFont mMonthViewFont;
02078 
02079     // FreeBusy
02080     bool mFreeBusyPublishAuto;
02081     int mFreeBusyPublishDelay;
02082     int mFreeBusyPublishDays;
02083     QString mFreeBusyPublishUrl;
02084     QString mFreeBusyPublishUser;
02085     QString mFreeBusyPublishPassword;
02086     bool mFreeBusyPublishSavePassword;
02087     bool mFreeBusyRetrieveAuto;
02088     bool mFreeBusyFullDomainRetrieval;
02089     QString mFreeBusyRetrieveUrl;
02090     QString mFreeBusyRetrieveUser;
02091     QString mFreeBusyRetrievePassword;
02092     bool mFreeBusyRetrieveSavePassword;
02093 
02094   private:
02095     ItemBool *mAutoSaveItem;
02096     ItemInt *mAutoSaveIntervalItem;
02097     ItemBool *mConfirmItem;
02098     ItemBool *mArchiveEventsItem;
02099     ItemBool *mArchiveTodosItem;
02100     ItemBool *mAutoArchiveItem;
02101     ItemEnum *mArchiveActionItem;
02102     ItemInt *mExpiryTimeItem;
02103     ItemEnum *mExpiryUnitItem;
02104     ItemString *mArchiveFileItem;
02105     ItemBool *mHtmlWithSaveItem;
02106     ItemEnum *mDestinationItem;
02107     ItemBool *mBccItem;
02108     ItemBool *mEmailControlCenterItem;
02109     ItemString *mUserNameItem;
02110     ItemString *mUserEmailItem;
02111     ItemEnum *mMailClientItem;
02112     ItemString *mTimeZoneIdItem;
02113     ItemString *mHolidaysItem;
02114     ItemDateTime *mStartTimeItem;
02115     ItemDateTime *mDefaultDurationItem;
02116     ItemInt *mAlarmTimeItem;
02117     ItemInt *mHourSizeItem;
02118     ItemBool *mDailyRecurItem;
02119     ItemBool *mWeeklyRecurItem;
02120     ItemBool *mEnableToolTipsItem;
02121     ItemBool *mShowAllDayTodoItem;
02122     ItemBool *mEnableMonthScrollItem;
02123     ItemBool *mSelectionStartsEditorItem;
02124     ItemBool *mMarcusBainsEnabledItem;
02125     ItemBool *mMarcusBainsShowSecondsItem;
02126     ItemBool *mAgendaViewUsesResourceColorItem;
02127     ItemDateTime *mDayBeginsItem;
02128     ItemDateTime *mWorkingHoursStartItem;
02129     ItemDateTime *mWorkingHoursEndItem;
02130     ItemInt *mWorkWeekMaskItem;
02131     ItemBool *mExcludeHolidaysItem;
02132     ItemBool *mMonthViewUsesCategoryColorItem;
02133     ItemBool *mMonthViewUsesResourceColorItem;
02134     ItemBool *mFullViewMonthItem;
02135     ItemBool *mFullViewTodoItem;
02136     ItemBool *mRecordTodosInJournalsItem;
02137     ItemBool *mEnableQuickTodoItem;
02138     ItemInt *mNextXDaysItem;
02139     ItemBool *mCompactDialogsItem;
02140     ItemBool *mVerticalScreenItem;
02141     ItemStringList *mSelectedPluginsItem;
02142     ItemStringList *mEventTemplatesItem;
02143     ItemStringList *mTodoTemplatesItem;
02144     ItemStringList *mJournalTemplatesItem;
02145     ItemStringList *mActiveDesignerFieldsItem;
02146     ItemEnum *mIMIPSchedulerItem;
02147     ItemBool *mUseGroupwareCommunicationItem;
02148     ItemStringList *mAdditionalMailsItem;
02149     ItemColor *mHolidayColorItem;
02150     ItemColor *mHighlightColorItem;
02151     ItemColor *mAgendaBgColorItem;
02152     ItemColor *mWorkingHoursColorItem;
02153     ItemColor *mTodoDueTodayColorItem;
02154     ItemColor *mTodoOverdueColorItem;
02155     ItemColor *mEventColorItem;
02156     ItemFont *mTimeBarFontItem;
02157     ItemFont *mAgendaViewFontItem;
02158     ItemFont *mMarcusBainsFontItem;
02159     ItemFont *mMonthViewFontItem;
02160     ItemBool *mFreeBusyPublishAutoItem;
02161     ItemInt *mFreeBusyPublishDelayItem;
02162     ItemInt *mFreeBusyPublishDaysItem;
02163     ItemString *mFreeBusyPublishUrlItem;
02164     ItemString *mFreeBusyPublishUserItem;
02165     ItemPassword *mFreeBusyPublishPasswordItem;
02166     ItemBool *mFreeBusyPublishSavePasswordItem;
02167     ItemBool *mFreeBusyRetrieveAutoItem;
02168     ItemBool *mFreeBusyFullDomainRetrievalItem;
02169     ItemString *mFreeBusyRetrieveUrlItem;
02170     ItemString *mFreeBusyRetrieveUserItem;
02171     ItemPassword *mFreeBusyRetrievePasswordItem;
02172     ItemBool *mFreeBusyRetrieveSavePasswordItem;
02173 };
02174 
02175 #endif
02176 
KDE Home | KDE Accessibility Home | Description of Access Keys