kmail
globalsettings_base.h00001
00002
00003 #ifndef GLOBALSETTINGSBASE_H
00004 #define GLOBALSETTINGSBASE_H
00005
00006 #include <templatesconfiguration.h>
00007 #include <kmglobal.h>
00008 #include <templatesconfiguration_base.h>
00009
00010 #include <kconfigskeleton.h>
00011 #include <kdebug.h>
00012
00013 #include <qtextcodec.h>
00014 #include <kapplication.h>
00015 class GlobalSettingsBase : public KConfigSkeleton
00016 {
00017 public:
00018 class EnumActionEnterFolder
00019 {
00020 public:
00021 enum type { SelectFirstNew, SelectFirstUnreadNew, SelectLastSelected, COUNT };
00022 };
00023 class EnumNetworkState
00024 {
00025 public:
00026 enum type { Online, Offline, COUNT };
00027 };
00028 class EnumLoopOnGotoUnread
00029 {
00030 public:
00031 enum type { DontLoop, LoopInCurrentFolder, LoopInAllFolders, COUNT };
00032 };
00033 class EnumSendOnCheck
00034 {
00035 public:
00036 enum type { DontSendOnCheck, SendOnManualChecks, SendOnAllChecks, COUNT };
00037 };
00038 class EnumSystemTrayPolicy
00039 {
00040 public:
00041 enum type { ShowAlways, ShowOnUnread, COUNT };
00042 };
00043 class EnumQuotaUnit
00044 {
00045 public:
00046 enum type { KB, MB, GB, COUNT };
00047 };
00048 class EnumAskForCommentWhenReactingToInvitation
00049 {
00050 public:
00051 enum type { NeverAsk, AskForAllButAcceptance, AlwaysAsk, COUNT };
00052 };
00053 class EnumTheIMAPResourceStorageFormat
00054 {
00055 public:
00056 enum type { IcalVcard, XML, COUNT };
00057 };
00058 class EnumAddresseeSelectorType
00059 {
00060 public:
00061 enum type { New, Old, COUNT };
00062 };
00063 class EnumRecipientsEditorType
00064 {
00065 public:
00066 enum type { Classic, MultiLine, COUNT };
00067 };
00068 class EnumSecondRecipientTypeDefault
00069 {
00070 public:
00071 enum type { To, Cc, COUNT };
00072 };
00073
00074 static GlobalSettingsBase *self();
00075 ~GlobalSettingsBase();
00076
00080 static
00081 void setDelayedMarkAsRead( bool v )
00082 {
00083 if (!self()->isImmutable( QString::fromLatin1( "DelayedMarkAsRead" ) ))
00084 self()->mDelayedMarkAsRead = v;
00085 }
00086
00090 static
00091 bool delayedMarkAsRead()
00092 {
00093 return self()->mDelayedMarkAsRead;
00094 }
00095
00099 ItemBool *delayedMarkAsReadItem()
00100 {
00101 return mDelayedMarkAsReadItem;
00102 }
00103
00107 static
00108 void setDelayedMarkTime( uint v )
00109 {
00110 if (!self()->isImmutable( QString::fromLatin1( "DelayedMarkTime" ) ))
00111 self()->mDelayedMarkTime = v;
00112 }
00113
00117 static
00118 uint delayedMarkTime()
00119 {
00120 return self()->mDelayedMarkTime;
00121 }
00122
00126 ItemUInt *delayedMarkTimeItem()
00127 {
00128 return mDelayedMarkTimeItem;
00129 }
00130
00134 static
00135 void setActionEnterFolder( int v )
00136 {
00137 if (!self()->isImmutable( QString::fromLatin1( "ActionEnterFolder" ) ))
00138 self()->mActionEnterFolder = v;
00139 }
00140
00144 static
00145 int actionEnterFolder()
00146 {
00147 return self()->mActionEnterFolder;
00148 }
00149
00153 ItemEnum *actionEnterFolderItem()
00154 {
00155 return mActionEnterFolderItem;
00156 }
00157
00161 static
00162 void setNetworkState( int v )
00163 {
00164 if (!self()->isImmutable( QString::fromLatin1( "NetworkState" ) ))
00165 self()->mNetworkState = v;
00166 }
00167
00171 static
00172 int networkState()
00173 {
00174 return self()->mNetworkState;
00175 }
00176
00180 ItemEnum *networkStateItem()
00181 {
00182 return mNetworkStateItem;
00183 }
00184
00188 static
00189 void setLoopOnGotoUnread( int v )
00190 {
00191 if (!self()->isImmutable( QString::fromLatin1( "LoopOnGotoUnread" ) ))
00192 self()->mLoopOnGotoUnread = v;
00193 }
00194
00198 static
00199 int loopOnGotoUnread()
00200 {
00201 return self()->mLoopOnGotoUnread;
00202 }
00203
00207 ItemEnum *loopOnGotoUnreadItem()
00208 {
00209 return mLoopOnGotoUnreadItem;
00210 }
00211
00215 static
00216 void setShowPopupAfterDnD( bool v )
00217 {
00218 if (!self()->isImmutable( QString::fromLatin1( "ShowPopupAfterDnD" ) ))
00219 self()->mShowPopupAfterDnD = v;
00220 }
00221
00225 static
00226 bool showPopupAfterDnD()
00227 {
00228 return self()->mShowPopupAfterDnD;
00229 }
00230
00234 ItemBool *showPopupAfterDnDItem()
00235 {
00236 return mShowPopupAfterDnDItem;
00237 }
00238
00242 static
00243 void setExcludeImportantMailFromExpiry( bool v )
00244 {
00245 if (!self()->isImmutable( QString::fromLatin1( "ExcludeImportantMailFromExpiry" ) ))
00246 self()->mExcludeImportantMailFromExpiry = v;
00247 }
00248
00252 static
00253 bool excludeImportantMailFromExpiry()
00254 {
00255 return self()->mExcludeImportantMailFromExpiry;
00256 }
00257
00261 ItemBool *excludeImportantMailFromExpiryItem()
00262 {
00263 return mExcludeImportantMailFromExpiryItem;
00264 }
00265
00269 static
00270 void setSendOnCheck( int v )
00271 {
00272 if (!self()->isImmutable( QString::fromLatin1( "SendOnCheck" ) ))
00273 self()->mSendOnCheck = v;
00274 }
00275
00279 static
00280 int sendOnCheck()
00281 {
00282 return self()->mSendOnCheck;
00283 }
00284
00288 ItemEnum *sendOnCheckItem()
00289 {
00290 return mSendOnCheckItem;
00291 }
00292
00296 static
00297 void setAutoLostFoundMove( bool v )
00298 {
00299 if (!self()->isImmutable( QString::fromLatin1( "AutoLostFoundMove" ) ))
00300 self()->mAutoLostFoundMove = v;
00301 }
00302
00306 static
00307 bool autoLostFoundMove()
00308 {
00309 return self()->mAutoLostFoundMove;
00310 }
00311
00315 ItemBool *autoLostFoundMoveItem()
00316 {
00317 return mAutoLostFoundMoveItem;
00318 }
00319
00323 static
00324 void setAllowLocalFlags( bool v )
00325 {
00326 if (!self()->isImmutable( QString::fromLatin1( "AllowLocalFlags" ) ))
00327 self()->mAllowLocalFlags = v;
00328 }
00329
00333 static
00334 bool allowLocalFlags()
00335 {
00336 return self()->mAllowLocalFlags;
00337 }
00338
00342 ItemBool *allowLocalFlagsItem()
00343 {
00344 return mAllowLocalFlagsItem;
00345 }
00346
00350 static
00351 void setMinimumCheckInterval( int v )
00352 {
00353 if (!self()->isImmutable( QString::fromLatin1( "MinimumCheckInterval" ) ))
00354 self()->mMinimumCheckInterval = v;
00355 }
00356
00360 static
00361 int minimumCheckInterval()
00362 {
00363 return self()->mMinimumCheckInterval;
00364 }
00365
00369 ItemInt *minimumCheckIntervalItem()
00370 {
00371 return mMinimumCheckIntervalItem;
00372 }
00373
00377 static
00378 void setLastSelectedFolder( const QString & v )
00379 {
00380 if (!self()->isImmutable( QString::fromLatin1( "LastSelectedFolder" ) ))
00381 self()->mLastSelectedFolder = v;
00382 }
00383
00387 static
00388 QString lastSelectedFolder()
00389 {
00390 return self()->mLastSelectedFolder;
00391 }
00392
00396 ItemString *lastSelectedFolderItem()
00397 {
00398 return mLastSelectedFolderItem;
00399 }
00400
00404 static
00405 void setDisregardUmask( bool v )
00406 {
00407 if (!self()->isImmutable( QString::fromLatin1( "disregardUmask" ) ))
00408 self()->mDisregardUmask = v;
00409 }
00410
00414 static
00415 bool disregardUmask()
00416 {
00417 return self()->mDisregardUmask;
00418 }
00419
00423 ItemBool *disregardUmaskItem()
00424 {
00425 return mDisregardUmaskItem;
00426 }
00427
00431 static
00432 void setSystemTrayEnabled( bool v )
00433 {
00434 if (!self()->isImmutable( QString::fromLatin1( "SystemTrayEnabled" ) ))
00435 self()->mSystemTrayEnabled = v;
00436 }
00437
00441 static
00442 bool systemTrayEnabled()
00443 {
00444 return self()->mSystemTrayEnabled;
00445 }
00446
00450 ItemBool *systemTrayEnabledItem()
00451 {
00452 return mSystemTrayEnabledItem;
00453 }
00454
00458 static
00459 void setSystemTrayPolicy( int v )
00460 {
00461 if (!self()->isImmutable( QString::fromLatin1( "SystemTrayPolicy" ) ))
00462 self()->mSystemTrayPolicy = v;
00463 }
00464
00468 static
00469 int systemTrayPolicy()
00470 {
00471 return self()->mSystemTrayPolicy;
00472 }
00473
00477 ItemEnum *systemTrayPolicyItem()
00478 {
00479 return mSystemTrayPolicyItem;
00480 }
00481
00485 static
00486 void setCloseDespiteSystemTray( bool v )
00487 {
00488 if (!self()->isImmutable( QString::fromLatin1( "CloseDespiteSystemTray" ) ))
00489 self()->mCloseDespiteSystemTray = v;
00490 }
00491
00495 static
00496 bool closeDespiteSystemTray()
00497 {
00498 return self()->mCloseDespiteSystemTray;
00499 }
00500
00504 ItemBool *closeDespiteSystemTrayItem()
00505 {
00506 return mCloseDespiteSystemTrayItem;
00507 }
00508
00512 static
00513 void setVerboseNewMailNotification( bool v )
00514 {
00515 if (!self()->isImmutable( QString::fromLatin1( "VerboseNewMailNotification" ) ))
00516 self()->mVerboseNewMailNotification = v;
00517 }
00518
00522 static
00523 bool verboseNewMailNotification()
00524 {
00525 return self()->mVerboseNewMailNotification;
00526 }
00527
00531 ItemBool *verboseNewMailNotificationItem()
00532 {
00533 return mVerboseNewMailNotificationItem;
00534 }
00535
00539 static
00540 void setExternalEditor( const QString & v )
00541 {
00542 if (!self()->isImmutable( QString::fromLatin1( "ExternalEditor" ) ))
00543 self()->mExternalEditor = v;
00544 }
00545
00549 static
00550 QString externalEditor()
00551 {
00552 return self()->mExternalEditor;
00553 }
00554
00558 ItemString *externalEditorItem()
00559 {
00560 return mExternalEditorItem;
00561 }
00562
00566 static
00567 void setUseExternalEditor( bool v )
00568 {
00569 if (!self()->isImmutable( QString::fromLatin1( "UseExternalEditor" ) ))
00570 self()->mUseExternalEditor = v;
00571 }
00572
00576 static
00577 bool useExternalEditor()
00578 {
00579 return self()->mUseExternalEditor;
00580 }
00581
00585 ItemBool *useExternalEditorItem()
00586 {
00587 return mUseExternalEditorItem;
00588 }
00589
00593 static
00594 void setCustHeaderCount( int v )
00595 {
00596 if (!self()->isImmutable( QString::fromLatin1( "CustHeaderCount" ) ))
00597 self()->mCustHeaderCount = v;
00598 }
00599
00603 static
00604 int custHeaderCount()
00605 {
00606 return self()->mCustHeaderCount;
00607 }
00608
00612 ItemInt *custHeaderCountItem()
00613 {
00614 return mCustHeaderCountItem;
00615 }
00616
00620 static
00621 void setReplyCurrentLanguage( int v )
00622 {
00623 if (!self()->isImmutable( QString::fromLatin1( "ReplyCurrentLanguage" ) ))
00624 self()->mReplyCurrentLanguage = v;
00625 }
00626
00630 static
00631 int replyCurrentLanguage()
00632 {
00633 return self()->mReplyCurrentLanguage;
00634 }
00635
00639 ItemInt *replyCurrentLanguageItem()
00640 {
00641 return mReplyCurrentLanguageItem;
00642 }
00643
00647 static
00648 void setReplyLanguagesCount( int v )
00649 {
00650 if (v < 0)
00651 {
00652 kdDebug() << "setReplyLanguagesCount: value " << v << " is less than the minimum value of 0" << endl;
00653 v = 0;
00654 }
00655 if (!self()->isImmutable( QString::fromLatin1( "ReplyLanguagesCount" ) ))
00656 self()->mReplyLanguagesCount = v;
00657 }
00658
00662 static
00663 int replyLanguagesCount()
00664 {
00665 return self()->mReplyLanguagesCount;
00666 }
00667
00671 ItemInt *replyLanguagesCountItem()
00672 {
00673 return mReplyLanguagesCountItem;
00674 }
00675
00679 static
00680 void setFolderLoadingTimeout( int v )
00681 {
00682 if (!self()->isImmutable( QString::fromLatin1( "FolderLoadingTimeout" ) ))
00683 self()->mFolderLoadingTimeout = v;
00684 }
00685
00689 static
00690 int folderLoadingTimeout()
00691 {
00692 return self()->mFolderLoadingTimeout;
00693 }
00694
00698 ItemInt *folderLoadingTimeoutItem()
00699 {
00700 return mFolderLoadingTimeoutItem;
00701 }
00702
00706 static
00707 void setQuotaUnit( int v )
00708 {
00709 if (!self()->isImmutable( QString::fromLatin1( "QuotaUnit" ) ))
00710 self()->mQuotaUnit = v;
00711 }
00712
00716 static
00717 int quotaUnit()
00718 {
00719 return self()->mQuotaUnit;
00720 }
00721
00725 ItemEnum *quotaUnitItem()
00726 {
00727 return mQuotaUnitItem;
00728 }
00729
00733 static
00734 void setCloseToQuotaThreshold( int v )
00735 {
00736 if (!self()->isImmutable( QString::fromLatin1( "CloseToQuotaThreshold" ) ))
00737 self()->mCloseToQuotaThreshold = v;
00738 }
00739
00743 static
00744 int closeToQuotaThreshold()
00745 {
00746 return self()->mCloseToQuotaThreshold;
00747 }
00748
00752 ItemInt *closeToQuotaThresholdItem()
00753 {
00754 return mCloseToQuotaThresholdItem;
00755 }
00756
00760 static
00761 void setGroupwareEnabled( bool v )
00762 {
00763 if (!self()->isImmutable( QString::fromLatin1( "GroupwareEnabled" ) ))
00764 self()->mGroupwareEnabled = v;
00765 }
00766
00770 static
00771 bool groupwareEnabled()
00772 {
00773 return self()->mGroupwareEnabled;
00774 }
00775
00779 ItemBool *groupwareEnabledItem()
00780 {
00781 return mGroupwareEnabledItem;
00782 }
00783
00787 static
00788 void setLegacyMangleFromToHeaders( bool v )
00789 {
00790 if (!self()->isImmutable( QString::fromLatin1( "LegacyMangleFromToHeaders" ) ))
00791 self()->mLegacyMangleFromToHeaders = v;
00792 }
00793
00797 static
00798 bool legacyMangleFromToHeaders()
00799 {
00800 return self()->mLegacyMangleFromToHeaders;
00801 }
00802
00806 ItemBool *legacyMangleFromToHeadersItem()
00807 {
00808 return mLegacyMangleFromToHeadersItem;
00809 }
00810
00814 static
00815 void setLegacyBodyInvites( bool v )
00816 {
00817 if (!self()->isImmutable( QString::fromLatin1( "LegacyBodyInvites" ) ))
00818 self()->mLegacyBodyInvites = v;
00819 }
00820
00824 static
00825 bool legacyBodyInvites()
00826 {
00827 return self()->mLegacyBodyInvites;
00828 }
00829
00833 ItemBool *legacyBodyInvitesItem()
00834 {
00835 return mLegacyBodyInvitesItem;
00836 }
00837
00841 static
00842 void setExchangeCompatibleInvitations( bool v )
00843 {
00844 if (!self()->isImmutable( QString::fromLatin1( "ExchangeCompatibleInvitations" ) ))
00845 self()->mExchangeCompatibleInvitations = v;
00846 }
00847
00851 static
00852 bool exchangeCompatibleInvitations()
00853 {
00854 return self()->mExchangeCompatibleInvitations;
00855 }
00856
00860 ItemBool *exchangeCompatibleInvitationsItem()
00861 {
00862 return mExchangeCompatibleInvitationsItem;
00863 }
00864
00868 static
00869 void setAutomaticSending( bool v )
00870 {
00871 if (!self()->isImmutable( QString::fromLatin1( "AutomaticSending" ) ))
00872 self()->mAutomaticSending = v;
00873 }
00874
00878 static
00879 bool automaticSending()
00880 {
00881 return self()->mAutomaticSending;
00882 }
00883
00887 ItemBool *automaticSendingItem()
00888 {
00889 return mAutomaticSendingItem;
00890 }
00891
00895 static
00896 void setAskForCommentWhenReactingToInvitation( int v )
00897 {
00898 if (!self()->isImmutable( QString::fromLatin1( "AskForCommentWhenReactingToInvitation" ) ))
00899 self()->mAskForCommentWhenReactingToInvitation = v;
00900 }
00901
00905 static
00906 int askForCommentWhenReactingToInvitation()
00907 {
00908 return self()->mAskForCommentWhenReactingToInvitation;
00909 }
00910
00914 ItemEnum *askForCommentWhenReactingToInvitationItem()
00915 {
00916 return mAskForCommentWhenReactingToInvitationItem;
00917 }
00918
00922 static
00923 void setDeleteInvitationEmailsAfterSendingReply( bool v )
00924 {
00925 if (!self()->isImmutable( QString::fromLatin1( "DeleteInvitationEmailsAfterSendingReply" ) ))
00926 self()->mDeleteInvitationEmailsAfterSendingReply = v;
00927 }
00928
00932 static
00933 bool deleteInvitationEmailsAfterSendingReply()
00934 {
00935 return self()->mDeleteInvitationEmailsAfterSendingReply;
00936 }
00937
00941 ItemBool *deleteInvitationEmailsAfterSendingReplyItem()
00942 {
00943 return mDeleteInvitationEmailsAfterSendingReplyItem;
00944 }
00945
00949 static
00950 void setTheIMAPResourceEnabled( bool v )
00951 {
00952 if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceEnabled" ) ))
00953 self()->mTheIMAPResourceEnabled = v;
00954 }
00955
00959 static
00960 bool theIMAPResourceEnabled()
00961 {
00962 return self()->mTheIMAPResourceEnabled;
00963 }
00964
00968 ItemBool *theIMAPResourceEnabledItem()
00969 {
00970 return mTheIMAPResourceEnabledItem;
00971 }
00972
00976 static
00977 void setHideGroupwareFolders( bool v )
00978 {
00979 if (!self()->isImmutable( QString::fromLatin1( "HideGroupwareFolders" ) ))
00980 self()->mHideGroupwareFolders = v;
00981 }
00982
00986 static
00987 bool hideGroupwareFolders()
00988 {
00989 return self()->mHideGroupwareFolders;
00990 }
00991
00995 ItemBool *hideGroupwareFoldersItem()
00996 {
00997 return mHideGroupwareFoldersItem;
00998 }
00999
01003 static
01004 void setShowOnlyGroupwareFoldersForGroupwareAccount( bool v )
01005 {
01006 if (!self()->isImmutable( QString::fromLatin1( "ShowOnlyGroupwareFoldersForGroupwareAccount" ) ))
01007 self()->mShowOnlyGroupwareFoldersForGroupwareAccount = v;
01008 }
01009
01013 static
01014 bool showOnlyGroupwareFoldersForGroupwareAccount()
01015 {
01016 return self()->mShowOnlyGroupwareFoldersForGroupwareAccount;
01017 }
01018
01022 ItemBool *showOnlyGroupwareFoldersForGroupwareAccountItem()
01023 {
01024 return mShowOnlyGroupwareFoldersForGroupwareAccountItem;
01025 }
01026
01030 static
01031 void setTheIMAPResourceStorageFormat( int v )
01032 {
01033 if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceStorageFormat" ) ))
01034 self()->mTheIMAPResourceStorageFormat = v;
01035 }
01036
01040 static
01041 int theIMAPResourceStorageFormat()
01042 {
01043 return self()->mTheIMAPResourceStorageFormat;
01044 }
01045
01049 ItemEnum *theIMAPResourceStorageFormatItem()
01050 {
01051 return mTheIMAPResourceStorageFormatItem;
01052 }
01053
01057 static
01058 void setTheIMAPResourceFolderParent( const QString & v )
01059 {
01060 if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceFolderParent" ) ))
01061 self()->mTheIMAPResourceFolderParent = v;
01062 }
01063
01067 static
01068 QString theIMAPResourceFolderParent()
01069 {
01070 return self()->mTheIMAPResourceFolderParent;
01071 }
01072
01076 ItemString *theIMAPResourceFolderParentItem()
01077 {
01078 return mTheIMAPResourceFolderParentItem;
01079 }
01080
01084 static
01085 void setTheIMAPResourceAccount( int v )
01086 {
01087 if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceAccount" ) ))
01088 self()->mTheIMAPResourceAccount = v;
01089 }
01090
01094 static
01095 int theIMAPResourceAccount()
01096 {
01097 return self()->mTheIMAPResourceAccount;
01098 }
01099
01103 ItemInt *theIMAPResourceAccountItem()
01104 {
01105 return mTheIMAPResourceAccountItem;
01106 }
01107
01111 static
01112 void setTheIMAPResourceFolderLanguage( int v )
01113 {
01114 if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceFolderLanguage" ) ))
01115 self()->mTheIMAPResourceFolderLanguage = v;
01116 }
01117
01121 static
01122 int theIMAPResourceFolderLanguage()
01123 {
01124 return self()->mTheIMAPResourceFolderLanguage;
01125 }
01126
01130 ItemInt *theIMAPResourceFolderLanguageItem()
01131 {
01132 return mTheIMAPResourceFolderLanguageItem;
01133 }
01134
01138 static
01139 void setFilterOnlyDIMAPInbox( bool v )
01140 {
01141 if (!self()->isImmutable( QString::fromLatin1( "FilterOnlyDIMAPInbox" ) ))
01142 self()->mFilterOnlyDIMAPInbox = v;
01143 }
01144
01148 static
01149 bool filterOnlyDIMAPInbox()
01150 {
01151 return self()->mFilterOnlyDIMAPInbox;
01152 }
01153
01157 ItemBool *filterOnlyDIMAPInboxItem()
01158 {
01159 return mFilterOnlyDIMAPInboxItem;
01160 }
01161
01165 static
01166 void setFilterGroupwareFolders( bool v )
01167 {
01168 if (!self()->isImmutable( QString::fromLatin1( "FilterGroupwareFolders" ) ))
01169 self()->mFilterGroupwareFolders = v;
01170 }
01171
01175 static
01176 bool filterGroupwareFolders()
01177 {
01178 return self()->mFilterGroupwareFolders;
01179 }
01180
01184 ItemBool *filterGroupwareFoldersItem()
01185 {
01186 return mFilterGroupwareFoldersItem;
01187 }
01188
01192 static
01193 void setImmediatlySyncDIMAPOnGroupwareChanges( bool v )
01194 {
01195 if (!self()->isImmutable( QString::fromLatin1( "ImmediatlySyncDIMAPOnGroupwareChanges" ) ))
01196 self()->mImmediatlySyncDIMAPOnGroupwareChanges = v;
01197 }
01198
01202 static
01203 bool immediatlySyncDIMAPOnGroupwareChanges()
01204 {
01205 return self()->mImmediatlySyncDIMAPOnGroupwareChanges;
01206 }
01207
01211 ItemBool *immediatlySyncDIMAPOnGroupwareChangesItem()
01212 {
01213 return mImmediatlySyncDIMAPOnGroupwareChangesItem;
01214 }
01215
01219 static
01220 void setMsgDictSizeHint( int v )
01221 {
01222 if (!self()->isImmutable( QString::fromLatin1( "MsgDictSizeHint" ) ))
01223 self()->mMsgDictSizeHint = v;
01224 }
01225
01229 static
01230 int msgDictSizeHint()
01231 {
01232 return self()->mMsgDictSizeHint;
01233 }
01234
01238 ItemInt *msgDictSizeHintItem()
01239 {
01240 return mMsgDictSizeHintItem;
01241 }
01242
01246 static
01247 void setPreviousNewFeaturesMD5( const QString & v )
01248 {
01249 if (!self()->isImmutable( QString::fromLatin1( "PreviousNewFeaturesMD5" ) ))
01250 self()->mPreviousNewFeaturesMD5 = v;
01251 }
01252
01256 static
01257 QString previousNewFeaturesMD5()
01258 {
01259 return self()->mPreviousNewFeaturesMD5;
01260 }
01261
01265 ItemString *previousNewFeaturesMD5Item()
01266 {
01267 return mPreviousNewFeaturesMD5Item;
01268 }
01269
01273 static
01274 void setMaxConnectionsPerHost( int v )
01275 {
01276 if (v < 0)
01277 {
01278 kdDebug() << "setMaxConnectionsPerHost: value " << v << " is less than the minimum value of 0" << endl;
01279 v = 0;
01280 }
01281 if (!self()->isImmutable( QString::fromLatin1( "MaxConnectionsPerHost" ) ))
01282 self()->mMaxConnectionsPerHost = v;
01283 }
01284
01288 static
01289 int maxConnectionsPerHost()
01290 {
01291 return self()->mMaxConnectionsPerHost;
01292 }
01293
01297 ItemInt *maxConnectionsPerHostItem()
01298 {
01299 return mMaxConnectionsPerHostItem;
01300 }
01301
01305 static
01306 void setQuickSearchActive( bool v )
01307 {
01308 if (!self()->isImmutable( QString::fromLatin1( "QuickSearchActive" ) ))
01309 self()->mQuickSearchActive = v;
01310 }
01311
01315 static
01316 bool quickSearchActive()
01317 {
01318 return self()->mQuickSearchActive;
01319 }
01320
01324 ItemBool *quickSearchActiveItem()
01325 {
01326 return mQuickSearchActiveItem;
01327 }
01328
01332 static
01333 void setEnableFolderQuickSearch( bool v )
01334 {
01335 if (!self()->isImmutable( QString::fromLatin1( "EnableFolderQuickSearch" ) ))
01336 self()->mEnableFolderQuickSearch = v;
01337 }
01338
01342 static
01343 bool enableFolderQuickSearch()
01344 {
01345 return self()->mEnableFolderQuickSearch;
01346 }
01347
01351 ItemBool *enableFolderQuickSearchItem()
01352 {
01353 return mEnableFolderQuickSearchItem;
01354 }
01355
01359 static
01360 void setHideLocalInbox( bool v )
01361 {
01362 if (!self()->isImmutable( QString::fromLatin1( "HideLocalInbox" ) ))
01363 self()->mHideLocalInbox = v;
01364 }
01365
01369 static
01370 bool hideLocalInbox()
01371 {
01372 return self()->mHideLocalInbox;
01373 }
01374
01378 ItemBool *hideLocalInboxItem()
01379 {
01380 return mHideLocalInboxItem;
01381 }
01382
01386 static
01387 void setForwardingInlineByDefault( bool v )
01388 {
01389 if (!self()->isImmutable( QString::fromLatin1( "ForwardingInlineByDefault" ) ))
01390 self()->mForwardingInlineByDefault = v;
01391 }
01392
01396 static
01397 bool forwardingInlineByDefault()
01398 {
01399 return self()->mForwardingInlineByDefault;
01400 }
01401
01405 ItemBool *forwardingInlineByDefaultItem()
01406 {
01407 return mForwardingInlineByDefaultItem;
01408 }
01409
01413 static
01414 void setAllowSemicolonAsAddressSeparator( bool v )
01415 {
01416 if (!self()->isImmutable( QString::fromLatin1( "AllowSemicolonAsAddressSeparator" ) ))
01417 self()->mAllowSemicolonAsAddressSeparator = v;
01418 }
01419
01423 static
01424 bool allowSemicolonAsAddressSeparator()
01425 {
01426 return self()->mAllowSemicolonAsAddressSeparator;
01427 }
01428
01432 ItemBool *allowSemicolonAsAddressSeparatorItem()
01433 {
01434 return mAllowSemicolonAsAddressSeparatorItem;
01435 }
01436
01440 static
01441 void setForceReplyCharset( bool v )
01442 {
01443 if (!self()->isImmutable( QString::fromLatin1( "ForceReplyCharset" ) ))
01444 self()->mForceReplyCharset = v;
01445 }
01446
01450 static
01451 bool forceReplyCharset()
01452 {
01453 return self()->mForceReplyCharset;
01454 }
01455
01459 ItemBool *forceReplyCharsetItem()
01460 {
01461 return mForceReplyCharsetItem;
01462 }
01463
01467 static
01468 void setAutoTextSignature( const QString & v )
01469 {
01470 if (!self()->isImmutable( QString::fromLatin1( "AutoTextSignature" ) ))
01471 self()->mAutoTextSignature = v;
01472 }
01473
01477 static
01478 QString autoTextSignature()
01479 {
01480 return self()->mAutoTextSignature;
01481 }
01482
01486 ItemString *autoTextSignatureItem()
01487 {
01488 return mAutoTextSignatureItem;
01489 }
01490
01494 static
01495 void setStickyIdentity( bool v )
01496 {
01497 if (!self()->isImmutable( QString::fromLatin1( "StickyIdentity" ) ))
01498 self()->mStickyIdentity = v;
01499 }
01500
01504 static
01505 bool stickyIdentity()
01506 {
01507 return self()->mStickyIdentity;
01508 }
01509
01513 ItemBool *stickyIdentityItem()
01514 {
01515 return mStickyIdentityItem;
01516 }
01517
01521 static
01522 void setStickyFcc( bool v )
01523 {
01524 if (!self()->isImmutable( QString::fromLatin1( "StickyFcc" ) ))
01525 self()->mStickyFcc = v;
01526 }
01527
01531 static
01532 bool stickyFcc()
01533 {
01534 return self()->mStickyFcc;
01535 }
01536
01540 ItemBool *stickyFccItem()
01541 {
01542 return mStickyFccItem;
01543 }
01544
01548 static
01549 void setStickyTransport( bool v )
01550 {
01551 if (!self()->isImmutable( QString::fromLatin1( "StickyTransport" ) ))
01552 self()->mStickyTransport = v;
01553 }
01554
01558 static
01559 bool stickyTransport()
01560 {
01561 return self()->mStickyTransport;
01562 }
01563
01567 ItemBool *stickyTransportItem()
01568 {
01569 return mStickyTransportItem;
01570 }
01571
01575 static
01576 void setWordWrap( bool v )
01577 {
01578 if (!self()->isImmutable( QString::fromLatin1( "WordWrap" ) ))
01579 self()->mWordWrap = v;
01580 }
01581
01585 static
01586 bool wordWrap()
01587 {
01588 return self()->mWordWrap;
01589 }
01590
01594 ItemBool *wordWrapItem()
01595 {
01596 return mWordWrapItem;
01597 }
01598
01602 static
01603 void setUseFixedFont( bool v )
01604 {
01605 if (!self()->isImmutable( QString::fromLatin1( "UseFixedFont" ) ))
01606 self()->mUseFixedFont = v;
01607 }
01608
01612 static
01613 bool useFixedFont()
01614 {
01615 return self()->mUseFixedFont;
01616 }
01617
01621 ItemBool *useFixedFontItem()
01622 {
01623 return mUseFixedFontItem;
01624 }
01625
01629 static
01630 void setLineWrapWidth( int v )
01631 {
01632 if (v < 30)
01633 {
01634 kdDebug() << "setLineWrapWidth: value " << v << " is less than the minimum value of 30" << endl;
01635 v = 30;
01636 }
01637
01638 if (v > 255)
01639 {
01640 kdDebug() << "setLineWrapWidth: value " << v << " is greater than the maximum value of 255" << endl;
01641 v = 255;
01642 }
01643
01644 if (!self()->isImmutable( QString::fromLatin1( "LineWrapWidth" ) ))
01645 self()->mLineWrapWidth = v;
01646 }
01647
01651 static
01652 int lineWrapWidth()
01653 {
01654 return self()->mLineWrapWidth;
01655 }
01656
01660 ItemInt *lineWrapWidthItem()
01661 {
01662 return mLineWrapWidthItem;
01663 }
01664
01668 static
01669 void setPreviousIdentity( uint v )
01670 {
01671 if (!self()->isImmutable( QString::fromLatin1( "PreviousIdentity" ) ))
01672 self()->mPreviousIdentity = v;
01673 }
01674
01678 static
01679 uint previousIdentity()
01680 {
01681 return self()->mPreviousIdentity;
01682 }
01683
01687 ItemUInt *previousIdentityItem()
01688 {
01689 return mPreviousIdentityItem;
01690 }
01691
01695 static
01696 void setPreviousFcc( const QString & v )
01697 {
01698 if (!self()->isImmutable( QString::fromLatin1( "PreviousFcc" ) ))
01699 self()->mPreviousFcc = v;
01700 }
01701
01705 static
01706 QString previousFcc()
01707 {
01708 return self()->mPreviousFcc;
01709 }
01710
01714 ItemString *previousFccItem()
01715 {
01716 return mPreviousFccItem;
01717 }
01718
01722 static
01723 void setTransportHistory( const QStringList & v )
01724 {
01725 if (!self()->isImmutable( QString::fromLatin1( "TransportHistory" ) ))
01726 self()->mTransportHistory = v;
01727 }
01728
01732 static
01733 QStringList transportHistory()
01734 {
01735 return self()->mTransportHistory;
01736 }
01737
01741 ItemStringList *transportHistoryItem()
01742 {
01743 return mTransportHistoryItem;
01744 }
01745
01749 static
01750 void setCurrentTransport( const QString & v )
01751 {
01752 if (!self()->isImmutable( QString::fromLatin1( "CurrentTransport" ) ))
01753 self()->mCurrentTransport = v;
01754 }
01755
01759 static
01760 QString currentTransport()
01761 {
01762 return self()->mCurrentTransport;
01763 }
01764
01768 ItemString *currentTransportItem()
01769 {
01770 return mCurrentTransportItem;
01771 }
01772
01776 static
01777 void setDefaultTransport( const QString & v )
01778 {
01779 if (!self()->isImmutable( QString::fromLatin1( "DefaultTransport" ) ))
01780 self()->mDefaultTransport = v;
01781 }
01782
01786 static
01787 QString defaultTransport()
01788 {
01789 return self()->mDefaultTransport;
01790 }
01791
01795 ItemString *defaultTransportItem()
01796 {
01797 return mDefaultTransportItem;
01798 }
01799
01803 static
01804 void setMaxTransportEntries( int v )
01805 {
01806 if (!self()->isImmutable( QString::fromLatin1( "MaxTransportEntries" ) ))
01807 self()->mMaxTransportEntries = v;
01808 }
01809
01813 static
01814 int maxTransportEntries()
01815 {
01816 return self()->mMaxTransportEntries;
01817 }
01818
01822 ItemInt *maxTransportEntriesItem()
01823 {
01824 return mMaxTransportEntriesItem;
01825 }
01826
01830 static
01831 void setOutlookCompatibleAttachments( bool v )
01832 {
01833 if (!self()->isImmutable( QString::fromLatin1( "OutlookCompatibleAttachments" ) ))
01834 self()->mOutlookCompatibleAttachments = v;
01835 }
01836
01840 static
01841 bool outlookCompatibleAttachments()
01842 {
01843 return self()->mOutlookCompatibleAttachments;
01844 }
01845
01849 ItemBool *outlookCompatibleAttachmentsItem()
01850 {
01851 return mOutlookCompatibleAttachmentsItem;
01852 }
01853
01857 static
01858 void setUseHtmlMarkup( bool v )
01859 {
01860 if (!self()->isImmutable( QString::fromLatin1( "UseHtmlMarkup" ) ))
01861 self()->mUseHtmlMarkup = v;
01862 }
01863
01867 static
01868 bool useHtmlMarkup()
01869 {
01870 return self()->mUseHtmlMarkup;
01871 }
01872
01876 ItemBool *useHtmlMarkupItem()
01877 {
01878 return mUseHtmlMarkupItem;
01879 }
01880
01884 static
01885 void setPgpAutoSign( bool v )
01886 {
01887 if (!self()->isImmutable( QString::fromLatin1( "PgpAutoSign" ) ))
01888 self()->mPgpAutoSign = v;
01889 }
01890
01894 static
01895 bool pgpAutoSign()
01896 {
01897 return self()->mPgpAutoSign;
01898 }
01899
01903 ItemBool *pgpAutoSignItem()
01904 {
01905 return mPgpAutoSignItem;
01906 }
01907
01911 static
01912 void setPgpAutoEncrypt( bool v )
01913 {
01914 if (!self()->isImmutable( QString::fromLatin1( "PgpAutoEncrypt" ) ))
01915 self()->mPgpAutoEncrypt = v;
01916 }
01917
01921 static
01922 bool pgpAutoEncrypt()
01923 {
01924 return self()->mPgpAutoEncrypt;
01925 }
01926
01930 ItemBool *pgpAutoEncryptItem()
01931 {
01932 return mPgpAutoEncryptItem;
01933 }
01934
01938 static
01939 void setNeverEncryptDrafts( bool v )
01940 {
01941 if (!self()->isImmutable( QString::fromLatin1( "NeverEncryptDrafts" ) ))
01942 self()->mNeverEncryptDrafts = v;
01943 }
01944
01948 static
01949 bool neverEncryptDrafts()
01950 {
01951 return self()->mNeverEncryptDrafts;
01952 }
01953
01957 ItemBool *neverEncryptDraftsItem()
01958 {
01959 return mNeverEncryptDraftsItem;
01960 }
01961
01965 static
01966 void setChiasmusKey( const QString & v )
01967 {
01968 if (!self()->isImmutable( QString::fromLatin1( "ChiasmusKey" ) ))
01969 self()->mChiasmusKey = v;
01970 }
01971
01975 static
01976 QString chiasmusKey()
01977 {
01978 return self()->mChiasmusKey;
01979 }
01980
01984 ItemString *chiasmusKeyItem()
01985 {
01986 return mChiasmusKeyItem;
01987 }
01988
01992 static
01993 void setChiasmusOptions( const QString & v )
01994 {
01995 if (!self()->isImmutable( QString::fromLatin1( "ChiasmusOptions" ) ))
01996 self()->mChiasmusOptions = v;
01997 }
01998
02002 static
02003 QString chiasmusOptions()
02004 {
02005 return self()->mChiasmusOptions;
02006 }
02007
02011 ItemString *chiasmusOptionsItem()
02012 {
02013 return mChiasmusOptionsItem;
02014 }
02015
02019 static
02020 void setConfirmBeforeSend( bool v )
02021 {
02022 if (!self()->isImmutable( QString::fromLatin1( "ConfirmBeforeSend" ) ))
02023 self()->mConfirmBeforeSend = v;
02024 }
02025
02029 static
02030 bool confirmBeforeSend()
02031 {
02032 return self()->mConfirmBeforeSend;
02033 }
02034
02038 ItemBool *confirmBeforeSendItem()
02039 {
02040 return mConfirmBeforeSendItem;
02041 }
02042
02046 static
02047 void setRequestMDN( bool v )
02048 {
02049 if (!self()->isImmutable( QString::fromLatin1( "RequestMDN" ) ))
02050 self()->mRequestMDN = v;
02051 }
02052
02056 static
02057 bool requestMDN()
02058 {
02059 return self()->mRequestMDN;
02060 }
02061
02065 ItemBool *requestMDNItem()
02066 {
02067 return mRequestMDNItem;
02068 }
02069
02073 static
02074 void setShowRecentAddressesInComposer( bool v )
02075 {
02076 if (!self()->isImmutable( QString::fromLatin1( "ShowRecentAddressesInComposer" ) ))
02077 self()->mShowRecentAddressesInComposer = v;
02078 }
02079
02083 static
02084 bool showRecentAddressesInComposer()
02085 {
02086 return self()->mShowRecentAddressesInComposer;
02087 }
02088
02092 ItemBool *showRecentAddressesInComposerItem()
02093 {
02094 return mShowRecentAddressesInComposerItem;
02095 }
02096
02100 static
02101 void setHeaders( int v )
02102 {
02103 if (!self()->isImmutable( QString::fromLatin1( "Headers" ) ))
02104 self()->mHeaders = v;
02105 }
02106
02110 static
02111 int headers()
02112 {
02113 return self()->mHeaders;
02114 }
02115
02119 ItemInt *headersItem()
02120 {
02121 return mHeadersItem;
02122 }
02123
02127 static
02128 void setCompletionMode( int v )
02129 {
02130 if (!self()->isImmutable( QString::fromLatin1( "CompletionMode" ) ))
02131 self()->mCompletionMode = v;
02132 }
02133
02137 static
02138 int completionMode()
02139 {
02140 return self()->mCompletionMode;
02141 }
02142
02146 ItemInt *completionModeItem()
02147 {
02148 return mCompletionModeItem;
02149 }
02150
02154 static
02155 void setAutoSpellChecking( bool v )
02156 {
02157 if (!self()->isImmutable( QString::fromLatin1( "AutoSpellChecking" ) ))
02158 self()->mAutoSpellChecking = v;
02159 }
02160
02164 static
02165 bool autoSpellChecking()
02166 {
02167 return self()->mAutoSpellChecking;
02168 }
02169
02173 ItemBool *autoSpellCheckingItem()
02174 {
02175 return mAutoSpellCheckingItem;
02176 }
02177
02181 static
02182 void setShowForgottenAttachmentWarning( bool v )
02183 {
02184 if (!self()->isImmutable( QString::fromLatin1( "ShowForgottenAttachmentWarning" ) ))
02185 self()->mShowForgottenAttachmentWarning = v;
02186 }
02187
02191 static
02192 bool showForgottenAttachmentWarning()
02193 {
02194 return self()->mShowForgottenAttachmentWarning;
02195 }
02196
02200 ItemBool *showForgottenAttachmentWarningItem()
02201 {
02202 return mShowForgottenAttachmentWarningItem;
02203 }
02204
02208 static
02209 void setAttachmentKeywords( const QStringList & v )
02210 {
02211 if (!self()->isImmutable( QString::fromLatin1( "AttachmentKeywords" ) ))
02212 self()->mAttachmentKeywords = v;
02213 }
02214
02218 static
02219 QStringList attachmentKeywords()
02220 {
02221 return self()->mAttachmentKeywords;
02222 }
02223
02227 ItemStringList *attachmentKeywordsItem()
02228 {
02229 return mAttachmentKeywordsItem;
02230 }
02231
02235 static
02236 void setShowMessagePartDialogOnAttach( bool v )
02237 {
02238 if (!self()->isImmutable( QString::fromLatin1( "ShowMessagePartDialogOnAttach" ) ))
02239 self()->mShowMessagePartDialogOnAttach = v;
02240 }
02241
02245 static
02246 bool showMessagePartDialogOnAttach()
02247 {
02248 return self()->mShowMessagePartDialogOnAttach;
02249 }
02250
02254 ItemBool *showMessagePartDialogOnAttachItem()
02255 {
02256 return mShowMessagePartDialogOnAttachItem;
02257 }
02258
02262 static
02263 void setAutosaveInterval( int v )
02264 {
02265 if (!self()->isImmutable( QString::fromLatin1( "AutosaveInterval" ) ))
02266 self()->mAutosaveInterval = v;
02267 }
02268
02272 static
02273 int autosaveInterval()
02274 {
02275 return self()->mAutosaveInterval;
02276 }
02277
02281 ItemInt *autosaveIntervalItem()
02282 {
02283 return mAutosaveIntervalItem;
02284 }
02285
02289 static
02290 void setPrependSignature( bool v )
02291 {
02292 if (!self()->isImmutable( QString::fromLatin1( "PrependSignature" ) ))
02293 self()->mPrependSignature = v;
02294 }
02295
02299 static
02300 bool prependSignature()
02301 {
02302 return self()->mPrependSignature;
02303 }
02304
02308 ItemBool *prependSignatureItem()
02309 {
02310 return mPrependSignatureItem;
02311 }
02312
02316 static
02317 void setReplyPrefixes( const QStringList & v )
02318 {
02319 if (!self()->isImmutable( QString::fromLatin1( "ReplyPrefixes" ) ))
02320 self()->mReplyPrefixes = v;
02321 }
02322
02326 static
02327 QStringList replyPrefixes()
02328 {
02329 return self()->mReplyPrefixes;
02330 }
02331
02335 ItemStringList *replyPrefixesItem()
02336 {
02337 return mReplyPrefixesItem;
02338 }
02339
02343 static
02344 void setReplaceReplyPrefix( bool v )
02345 {
02346 if (!self()->isImmutable( QString::fromLatin1( "ReplaceReplyPrefix" ) ))
02347 self()->mReplaceReplyPrefix = v;
02348 }
02349
02353 static
02354 bool replaceReplyPrefix()
02355 {
02356 return self()->mReplaceReplyPrefix;
02357 }
02358
02362 ItemBool *replaceReplyPrefixItem()
02363 {
02364 return mReplaceReplyPrefixItem;
02365 }
02366
02370 static
02371 void setForwardPrefixes( const QStringList & v )
02372 {
02373 if (!self()->isImmutable( QString::fromLatin1( "ForwardPrefixes" ) ))
02374 self()->mForwardPrefixes = v;
02375 }
02376
02380 static
02381 QStringList forwardPrefixes()
02382 {
02383 return self()->mForwardPrefixes;
02384 }
02385
02389 ItemStringList *forwardPrefixesItem()
02390 {
02391 return mForwardPrefixesItem;
02392 }
02393
02397 static
02398 void setReplaceForwardPrefix( bool v )
02399 {
02400 if (!self()->isImmutable( QString::fromLatin1( "ReplaceForwardPrefix" ) ))
02401 self()->mReplaceForwardPrefix = v;
02402 }
02403
02407 static
02408 bool replaceForwardPrefix()
02409 {
02410 return self()->mReplaceForwardPrefix;
02411 }
02412
02416 ItemBool *replaceForwardPrefixItem()
02417 {
02418 return mReplaceForwardPrefixItem;
02419 }
02420
02424 static
02425 void setSmartQuote( bool v )
02426 {
02427 if (!self()->isImmutable( QString::fromLatin1( "SmartQuote" ) ))
02428 self()->mSmartQuote = v;
02429 }
02430
02434 static
02435 bool smartQuote()
02436 {
02437 return self()->mSmartQuote;
02438 }
02439
02443 ItemBool *smartQuoteItem()
02444 {
02445 return mSmartQuoteItem;
02446 }
02447
02451 static
02452 void setAddresseeSelectorType( int v )
02453 {
02454 if (!self()->isImmutable( QString::fromLatin1( "AddresseeSelectorType" ) ))
02455 self()->mAddresseeSelectorType = v;
02456 }
02457
02461 static
02462 int addresseeSelectorType()
02463 {
02464 return self()->mAddresseeSelectorType;
02465 }
02466
02470 ItemEnum *addresseeSelectorTypeItem()
02471 {
02472 return mAddresseeSelectorTypeItem;
02473 }
02474
02478 static
02479 void setRecipientsEditorType( int v )
02480 {
02481 if (!self()->isImmutable( QString::fromLatin1( "RecipientsEditorType" ) ))
02482 self()->mRecipientsEditorType = v;
02483 }
02484
02488 static
02489 int recipientsEditorType()
02490 {
02491 return self()->mRecipientsEditorType;
02492 }
02493
02497 ItemEnum *recipientsEditorTypeItem()
02498 {
02499 return mRecipientsEditorTypeItem;
02500 }
02501
02505 static
02506 void setSecondRecipientTypeDefault( int v )
02507 {
02508 if (!self()->isImmutable( QString::fromLatin1( "SecondRecipientTypeDefault" ) ))
02509 self()->mSecondRecipientTypeDefault = v;
02510 }
02511
02515 static
02516 int secondRecipientTypeDefault()
02517 {
02518 return self()->mSecondRecipientTypeDefault;
02519 }
02520
02524 ItemEnum *secondRecipientTypeDefaultItem()
02525 {
02526 return mSecondRecipientTypeDefaultItem;
02527 }
02528
02532 static
02533 void setMaximumRecipients( int v )
02534 {
02535 if (!self()->isImmutable( QString::fromLatin1( "MaximumRecipients" ) ))
02536 self()->mMaximumRecipients = v;
02537 }
02538
02542 static
02543 int maximumRecipients()
02544 {
02545 return self()->mMaximumRecipients;
02546 }
02547
02551 ItemInt *maximumRecipientsItem()
02552 {
02553 return mMaximumRecipientsItem;
02554 }
02555
02559 static
02560 void setCustomTemplates( const QStringList & v )
02561 {
02562 if (!self()->isImmutable( QString::fromLatin1( "CustomTemplates" ) ))
02563 self()->mCustomTemplates = v;
02564 }
02565
02569 static
02570 QStringList customTemplates()
02571 {
02572 return self()->mCustomTemplates;
02573 }
02574
02578 ItemStringList *customTemplatesItem()
02579 {
02580 return mCustomTemplatesItem;
02581 }
02582
02586 static
02587 void setMimetypesToStripWhenInlineForwarding( const QStringList & v )
02588 {
02589 if (!self()->isImmutable( QString::fromLatin1( "MimetypesToStripWhenInlineForwarding" ) ))
02590 self()->mMimetypesToStripWhenInlineForwarding = v;
02591 }
02592
02596 static
02597 QStringList mimetypesToStripWhenInlineForwarding()
02598 {
02599 return self()->mMimetypesToStripWhenInlineForwarding;
02600 }
02601
02605 ItemStringList *mimetypesToStripWhenInlineForwardingItem()
02606 {
02607 return mMimetypesToStripWhenInlineForwardingItem;
02608 }
02609
02613 static
02614 void setMaximumAttachmentSize( int v )
02615 {
02616 if (!self()->isImmutable( QString::fromLatin1( "MaximumAttachmentSize" ) ))
02617 self()->mMaximumAttachmentSize = v;
02618 }
02619
02623 static
02624 int maximumAttachmentSize()
02625 {
02626 return self()->mMaximumAttachmentSize;
02627 }
02628
02632 ItemInt *maximumAttachmentSizeItem()
02633 {
02634 return mMaximumAttachmentSizeItem;
02635 }
02636
02640 static
02641 void setShowSnippetManager( bool v )
02642 {
02643 if (!self()->isImmutable( QString::fromLatin1( "ShowSnippetManager" ) ))
02644 self()->mShowSnippetManager = v;
02645 }
02646
02650 static
02651 bool showSnippetManager()
02652 {
02653 return self()->mShowSnippetManager;
02654 }
02655
02659 ItemBool *showSnippetManagerItem()
02660 {
02661 return mShowSnippetManagerItem;
02662 }
02663
02667 static
02668 void setSnippetSplitterPosition( const QValueList<int> & v )
02669 {
02670 if (!self()->isImmutable( QString::fromLatin1( "SnippetSplitterPosition" ) ))
02671 self()->mSnippetSplitterPosition = v;
02672 }
02673
02677 static
02678 QValueList<int> snippetSplitterPosition()
02679 {
02680 return self()->mSnippetSplitterPosition;
02681 }
02682
02686 ItemIntList *snippetSplitterPositionItem()
02687 {
02688 return mSnippetSplitterPositionItem;
02689 }
02690
02694 static
02695 void setShowGnuPGAuditLogAfterSuccessfulSignEncrypt( bool v )
02696 {
02697 if (!self()->isImmutable( QString::fromLatin1( "ShowGnuPGAuditLogAfterSuccessfulSignEncrypt" ) ))
02698 self()->mShowGnuPGAuditLogAfterSuccessfulSignEncrypt = v;
02699 }
02700
02704 static
02705 bool showGnuPGAuditLogAfterSuccessfulSignEncrypt()
02706 {
02707 return self()->mShowGnuPGAuditLogAfterSuccessfulSignEncrypt;
02708 }
02709
02713 ItemBool *showGnuPGAuditLogAfterSuccessfulSignEncryptItem()
02714 {
02715 return mShowGnuPGAuditLogAfterSuccessfulSignEncryptItem;
02716 }
02717
02721 static
02722 void setUseDefaultFonts( bool v )
02723 {
02724 if (!self()->isImmutable( QString::fromLatin1( "UseDefaultFonts" ) ))
02725 self()->mUseDefaultFonts = v;
02726 }
02727
02731 static
02732 bool useDefaultFonts()
02733 {
02734 return self()->mUseDefaultFonts;
02735 }
02736
02740 ItemBool *useDefaultFontsItem()
02741 {
02742 return mUseDefaultFontsItem;
02743 }
02744
02748 static
02749 void setComposerFont( const QFont & v )
02750 {
02751 if (!self()->isImmutable( QString::fromLatin1( "ComposerFont" ) ))
02752 self()->mComposerFont = v;
02753 }
02754
02758 static
02759 QFont composerFont()
02760 {
02761 return self()->mComposerFont;
02762 }
02763
02767 ItemFont *composerFontItem()
02768 {
02769 return mComposerFontItem;
02770 }
02771
02775 static
02776 void setFixedFont( const QFont & v )
02777 {
02778 if (!self()->isImmutable( QString::fromLatin1( "FixedFont" ) ))
02779 self()->mFixedFont = v;
02780 }
02781
02785 static
02786 QFont fixedFont()
02787 {
02788 return self()->mFixedFont;
02789 }
02790
02794 ItemFont *fixedFontItem()
02795 {
02796 return mFixedFontItem;
02797 }
02798
02802 static
02803 void setComposerSize( const QSize & v )
02804 {
02805 if (!self()->isImmutable( QString::fromLatin1( "ComposerSize" ) ))
02806 self()->mComposerSize = v;
02807 }
02808
02812 static
02813 QSize composerSize()
02814 {
02815 return self()->mComposerSize;
02816 }
02817
02821 ItemSize *composerSizeItem()
02822 {
02823 return mComposerSizeItem;
02824 }
02825
02829 static
02830 void setUseDefaultColors( bool v )
02831 {
02832 if (!self()->isImmutable( QString::fromLatin1( "UseDefaultColors" ) ))
02833 self()->mUseDefaultColors = v;
02834 }
02835
02839 static
02840 bool useDefaultColors()
02841 {
02842 return self()->mUseDefaultColors;
02843 }
02844
02848 ItemBool *useDefaultColorsItem()
02849 {
02850 return mUseDefaultColorsItem;
02851 }
02852
02856 static
02857 void setForegroundColor( const QColor & v )
02858 {
02859 if (!self()->isImmutable( QString::fromLatin1( "ForegroundColor" ) ))
02860 self()->mForegroundColor = v;
02861 }
02862
02866 static
02867 QColor foregroundColor()
02868 {
02869 return self()->mForegroundColor;
02870 }
02871
02875 ItemColor *foregroundColorItem()
02876 {
02877 return mForegroundColorItem;
02878 }
02879
02883 static
02884 void setBackgroundColor( const QColor & v )
02885 {
02886 if (!self()->isImmutable( QString::fromLatin1( "BackgroundColor" ) ))
02887 self()->mBackgroundColor = v;
02888 }
02889
02893 static
02894 QColor backgroundColor()
02895 {
02896 return self()->mBackgroundColor;
02897 }
02898
02902 ItemColor *backgroundColorItem()
02903 {
02904 return mBackgroundColorItem;
02905 }
02906
02910 static
02911 void setFallbackCharacterEncoding( const QString & v )
02912 {
02913 if (!self()->isImmutable( QString::fromLatin1( "FallbackCharacterEncoding" ) ))
02914 self()->mFallbackCharacterEncoding = v;
02915 }
02916
02920 static
02921 QString fallbackCharacterEncoding()
02922 {
02923 return self()->mFallbackCharacterEncoding;
02924 }
02925
02929 ItemString *fallbackCharacterEncodingItem()
02930 {
02931 return mFallbackCharacterEncodingItem;
02932 }
02933
02937 static
02938 void setOverrideCharacterEncoding( const QString & v )
02939 {
02940 if (!self()->isImmutable( QString::fromLatin1( "OverrideCharacterEncoding" ) ))
02941 self()->mOverrideCharacterEncoding = v;
02942 }
02943
02947 static
02948 QString overrideCharacterEncoding()
02949 {
02950 return self()->mOverrideCharacterEncoding;
02951 }
02952
02956 ItemString *overrideCharacterEncodingItem()
02957 {
02958 return mOverrideCharacterEncodingItem;
02959 }
02960
02964 static
02965 void setShowEmoticons( bool v )
02966 {
02967 if (!self()->isImmutable( QString::fromLatin1( "ShowEmoticons" ) ))
02968 self()->mShowEmoticons = v;
02969 }
02970
02974 static
02975 bool showEmoticons()
02976 {
02977 return self()->mShowEmoticons;
02978 }
02979
02983 ItemBool *showEmoticonsItem()
02984 {
02985 return mShowEmoticonsItem;
02986 }
02987
02991 static
02992 void setShowExpandQuotesMark( bool v )
02993 {
02994 if (!self()->isImmutable( QString::fromLatin1( "ShowExpandQuotesMark" ) ))
02995 self()->mShowExpandQuotesMark = v;
02996 }
02997
03001 static
03002 bool showExpandQuotesMark()
03003 {
03004 return self()->mShowExpandQuotesMark;
03005 }
03006
03010 ItemBool *showExpandQuotesMarkItem()
03011 {
03012 return mShowExpandQuotesMarkItem;
03013 }
03014
03018 static
03019 void setCollapseQuoteLevelSpin( int v )
03020 {
03021 if (v < 0)
03022 {
03023 kdDebug() << "setCollapseQuoteLevelSpin: value " << v << " is less than the minimum value of 0" << endl;
03024 v = 0;
03025 }
03026
03027 if (v > 10)
03028 {
03029 kdDebug() << "setCollapseQuoteLevelSpin: value " << v << " is greater than the maximum value of 10" << endl;
03030 v = 10;
03031 }
03032
03033 if (!self()->isImmutable( QString::fromLatin1( "CollapseQuoteLevelSpin" ) ))
03034 self()->mCollapseQuoteLevelSpin = v;
03035 }
03036
03040 static
03041 int collapseQuoteLevelSpin()
03042 {
03043 return self()->mCollapseQuoteLevelSpin;
03044 }
03045
03049 ItemInt *collapseQuoteLevelSpinItem()
03050 {
03051 return mCollapseQuoteLevelSpinItem;
03052 }
03053
03057 static
03058 void setShrinkQuotes( bool v )
03059 {
03060 if (!self()->isImmutable( QString::fromLatin1( "ShrinkQuotes" ) ))
03061 self()->mShrinkQuotes = v;
03062 }
03063
03067 static
03068 bool shrinkQuotes()
03069 {
03070 return self()->mShrinkQuotes;
03071 }
03072
03076 ItemBool *shrinkQuotesItem()
03077 {
03078 return mShrinkQuotesItem;
03079 }
03080
03084 static
03085 void setChiasmusDecryptionKey( const QString & v )
03086 {
03087 if (!self()->isImmutable( QString::fromLatin1( "ChiasmusDecryptionKey" ) ))
03088 self()->mChiasmusDecryptionKey = v;
03089 }
03090
03094 static
03095 QString chiasmusDecryptionKey()
03096 {
03097 return self()->mChiasmusDecryptionKey;
03098 }
03099
03103 ItemString *chiasmusDecryptionKeyItem()
03104 {
03105 return mChiasmusDecryptionKeyItem;
03106 }
03107
03111 static
03112 void setChiasmusDecryptionOptions( const QString & v )
03113 {
03114 if (!self()->isImmutable( QString::fromLatin1( "ChiasmusDecryptionOptions" ) ))
03115 self()->mChiasmusDecryptionOptions = v;
03116 }
03117
03121 static
03122 QString chiasmusDecryptionOptions()
03123 {
03124 return self()->mChiasmusDecryptionOptions;
03125 }
03126
03130 ItemString *chiasmusDecryptionOptionsItem()
03131 {
03132 return mChiasmusDecryptionOptionsItem;
03133 }
03134
03138 static
03139 void setShowUserAgent( bool v )
03140 {
03141 if (!self()->isImmutable( QString::fromLatin1( "ShowUserAgent" ) ))
03142 self()->mShowUserAgent = v;
03143 }
03144
03148 static
03149 bool showUserAgent()
03150 {
03151 return self()->mShowUserAgent;
03152 }
03153
03157 ItemBool *showUserAgentItem()
03158 {
03159 return mShowUserAgentItem;
03160 }
03161
03165 static
03166 void setAllowAttachmentDeletion( bool v )
03167 {
03168 if (!self()->isImmutable( QString::fromLatin1( "AllowAttachmentDeletion" ) ))
03169 self()->mAllowAttachmentDeletion = v;
03170 }
03171
03175 static
03176 bool allowAttachmentDeletion()
03177 {
03178 return self()->mAllowAttachmentDeletion;
03179 }
03180
03184 ItemBool *allowAttachmentDeletionItem()
03185 {
03186 return mAllowAttachmentDeletionItem;
03187 }
03188
03192 static
03193 void setAllowAttachmentEditing( bool v )
03194 {
03195 if (!self()->isImmutable( QString::fromLatin1( "AllowAttachmentEditing" ) ))
03196 self()->mAllowAttachmentEditing = v;
03197 }
03198
03202 static
03203 bool allowAttachmentEditing()
03204 {
03205 return self()->mAllowAttachmentEditing;
03206 }
03207
03211 ItemBool *allowAttachmentEditingItem()
03212 {
03213 return mAllowAttachmentEditingItem;
03214 }
03215
03219 static
03220 void setAlwaysDecrypt( bool v )
03221 {
03222 if (!self()->isImmutable( QString::fromLatin1( "AlwaysDecrypt" ) ))
03223 self()->mAlwaysDecrypt = v;
03224 }
03225
03229 static
03230 bool alwaysDecrypt()
03231 {
03232 return self()->mAlwaysDecrypt;
03233 }
03234
03238 ItemBool *alwaysDecryptItem()
03239 {
03240 return mAlwaysDecryptItem;
03241 }
03242
03246 static
03247 void setAutomaticDecrypt( bool v )
03248 {
03249 if (!self()->isImmutable( QString::fromLatin1( "automaticDecrypt" ) ))
03250 self()->mAutomaticDecrypt = v;
03251 }
03252
03256 static
03257 bool automaticDecrypt()
03258 {
03259 return self()->mAutomaticDecrypt;
03260 }
03261
03265 ItemBool *automaticDecryptItem()
03266 {
03267 return mAutomaticDecryptItem;
03268 }
03269
03273 static
03274 void setSendMDNsWithEmptySender( bool v )
03275 {
03276 if (!self()->isImmutable( QString::fromLatin1( "SendMDNsWithEmptySender" ) ))
03277 self()->mSendMDNsWithEmptySender = v;
03278 }
03279
03283 static
03284 bool sendMDNsWithEmptySender()
03285 {
03286 return self()->mSendMDNsWithEmptySender;
03287 }
03288
03292 ItemBool *sendMDNsWithEmptySenderItem()
03293 {
03294 return mSendMDNsWithEmptySenderItem;
03295 }
03296
03300 static
03301 void setPhrasesConverted( bool v )
03302 {
03303 if (!self()->isImmutable( QString::fromLatin1( "PhrasesConverted" ) ))
03304 self()->mPhrasesConverted = v;
03305 }
03306
03310 static
03311 bool phrasesConverted()
03312 {
03313 return self()->mPhrasesConverted;
03314 }
03315
03319 ItemBool *phrasesConvertedItem()
03320 {
03321 return mPhrasesConvertedItem;
03322 }
03323
03327 static
03328 void setTemplateNewMessage( const QString & v )
03329 {
03330 if (!self()->isImmutable( QString::fromLatin1( "TemplateNewMessage" ) ))
03331 self()->mTemplateNewMessage = v;
03332 }
03333
03337 static
03338 QString templateNewMessage()
03339 {
03340 return self()->mTemplateNewMessage;
03341 }
03342
03346 ItemString *templateNewMessageItem()
03347 {
03348 return mTemplateNewMessageItem;
03349 }
03350
03354 static
03355 void setTemplateReply( const QString & v )
03356 {
03357 if (!self()->isImmutable( QString::fromLatin1( "TemplateReply" ) ))
03358 self()->mTemplateReply = v;
03359 }
03360
03364 static
03365 QString templateReply()
03366 {
03367 return self()->mTemplateReply;
03368 }
03369
03373 ItemString *templateReplyItem()
03374 {
03375 return mTemplateReplyItem;
03376 }
03377
03381 static
03382 void setTemplateReplyAll( const QString & v )
03383 {
03384 if (!self()->isImmutable( QString::fromLatin1( "TemplateReplyAll" ) ))
03385 self()->mTemplateReplyAll = v;
03386 }
03387
03391 static
03392 QString templateReplyAll()
03393 {
03394 return self()->mTemplateReplyAll;
03395 }
03396
03400 ItemString *templateReplyAllItem()
03401 {
03402 return mTemplateReplyAllItem;
03403 }
03404
03408 static
03409 void setTemplateForward( const QString & v )
03410 {
03411 if (!self()->isImmutable( QString::fromLatin1( "TemplateForward" ) ))
03412 self()->mTemplateForward = v;
03413 }
03414
03418 static
03419 QString templateForward()
03420 {
03421 return self()->mTemplateForward;
03422 }
03423
03427 ItemString *templateForwardItem()
03428 {
03429 return mTemplateForwardItem;
03430 }
03431
03435 static
03436 void setQuoteString( const QString & v )
03437 {
03438 if (!self()->isImmutable( QString::fromLatin1( "QuoteString" ) ))
03439 self()->mQuoteString = v;
03440 }
03441
03445 static
03446 QString quoteString()
03447 {
03448 return self()->mQuoteString;
03449 }
03450
03454 ItemString *quoteStringItem()
03455 {
03456 return mQuoteStringItem;
03457 }
03458
03462 static
03463 void setAllowOutOfOfficeSettings( bool v )
03464 {
03465 if (!self()->isImmutable( QString::fromLatin1( "AllowOutOfOfficeSettings" ) ))
03466 self()->mAllowOutOfOfficeSettings = v;
03467 }
03468
03472 static
03473 bool allowOutOfOfficeSettings()
03474 {
03475 return self()->mAllowOutOfOfficeSettings;
03476 }
03477
03481 ItemBool *allowOutOfOfficeSettingsItem()
03482 {
03483 return mAllowOutOfOfficeSettingsItem;
03484 }
03485
03489 static
03490 void setAllowOutOfOfficeUploadButNoSettings( bool v )
03491 {
03492 if (!self()->isImmutable( QString::fromLatin1( "AllowOutOfOfficeUploadButNoSettings" ) ))
03493 self()->mAllowOutOfOfficeUploadButNoSettings = v;
03494 }
03495
03499 static
03500 bool allowOutOfOfficeUploadButNoSettings()
03501 {
03502 return self()->mAllowOutOfOfficeUploadButNoSettings;
03503 }
03504
03508 ItemBool *allowOutOfOfficeUploadButNoSettingsItem()
03509 {
03510 return mAllowOutOfOfficeUploadButNoSettingsItem;
03511 }
03512
03516 static
03517 void setOutOfOfficeDomain( const QString & v )
03518 {
03519 if (!self()->isImmutable( QString::fromLatin1( "OutOfOfficeDomain" ) ))
03520 self()->mOutOfOfficeDomain = v;
03521 }
03522
03526 static
03527 QString outOfOfficeDomain()
03528 {
03529 return self()->mOutOfOfficeDomain;
03530 }
03531
03535 ItemString *outOfOfficeDomainItem()
03536 {
03537 return mOutOfOfficeDomainItem;
03538 }
03539
03543 static
03544 void setOutOfOfficeReactToSpam( bool v )
03545 {
03546 if (!self()->isImmutable( QString::fromLatin1( "OutOfOfficeReactToSpam" ) ))
03547 self()->mOutOfOfficeReactToSpam = v;
03548 }
03549
03553 static
03554 bool outOfOfficeReactToSpam()
03555 {
03556 return self()->mOutOfOfficeReactToSpam;
03557 }
03558
03562 ItemBool *outOfOfficeReactToSpamItem()
03563 {
03564 return mOutOfOfficeReactToSpamItem;
03565 }
03566
03570 static
03571 void setCheckOutOfOfficeOnStartup( bool v )
03572 {
03573 if (!self()->isImmutable( QString::fromLatin1( "CheckOutOfOfficeOnStartup" ) ))
03574 self()->mCheckOutOfOfficeOnStartup = v;
03575 }
03576
03580 static
03581 bool checkOutOfOfficeOnStartup()
03582 {
03583 return self()->mCheckOutOfOfficeOnStartup;
03584 }
03585
03589 ItemBool *checkOutOfOfficeOnStartupItem()
03590 {
03591 return mCheckOutOfOfficeOnStartupItem;
03592 }
03593
03597 static
03598 void setEnableFavoriteFolderView( bool v )
03599 {
03600 if (!self()->isImmutable( QString::fromLatin1( "EnableFavoriteFolderView" ) ))
03601 self()->mEnableFavoriteFolderView = v;
03602 }
03603
03607 static
03608 bool enableFavoriteFolderView()
03609 {
03610 return self()->mEnableFavoriteFolderView;
03611 }
03612
03616 ItemBool *enableFavoriteFolderViewItem()
03617 {
03618 return mEnableFavoriteFolderViewItem;
03619 }
03620
03624 static
03625 void setFolderViewSplitterPosition( const QValueList<int> & v )
03626 {
03627 if (!self()->isImmutable( QString::fromLatin1( "FolderViewSplitterPosition" ) ))
03628 self()->mFolderViewSplitterPosition = v;
03629 }
03630
03634 static
03635 QValueList<int> folderViewSplitterPosition()
03636 {
03637 return self()->mFolderViewSplitterPosition;
03638 }
03639
03643 ItemIntList *folderViewSplitterPositionItem()
03644 {
03645 return mFolderViewSplitterPositionItem;
03646 }
03647
03651 static
03652 void setFavoriteFolderIds( const QValueList<int> & v )
03653 {
03654 if (!self()->isImmutable( QString::fromLatin1( "FavoriteFolderIds" ) ))
03655 self()->mFavoriteFolderIds = v;
03656 }
03657
03661 static
03662 QValueList<int> favoriteFolderIds()
03663 {
03664 return self()->mFavoriteFolderIds;
03665 }
03666
03670 ItemIntList *favoriteFolderIdsItem()
03671 {
03672 return mFavoriteFolderIdsItem;
03673 }
03674
03678 static
03679 void setFavoriteFolderNames( const QStringList & v )
03680 {
03681 if (!self()->isImmutable( QString::fromLatin1( "FavoriteFolderNames" ) ))
03682 self()->mFavoriteFolderNames = v;
03683 }
03684
03688 static
03689 QStringList favoriteFolderNames()
03690 {
03691 return self()->mFavoriteFolderNames;
03692 }
03693
03697 ItemStringList *favoriteFolderNamesItem()
03698 {
03699 return mFavoriteFolderNamesItem;
03700 }
03701
03705 static
03706 void setFavoriteFolderViewSeenInboxes( const QValueList<int> & v )
03707 {
03708 if (!self()->isImmutable( QString::fromLatin1( "FavoriteFolderViewSeenInboxes" ) ))
03709 self()->mFavoriteFolderViewSeenInboxes = v;
03710 }
03711
03715 static
03716 QValueList<int> favoriteFolderViewSeenInboxes()
03717 {
03718 return self()->mFavoriteFolderViewSeenInboxes;
03719 }
03720
03724 ItemIntList *favoriteFolderViewSeenInboxesItem()
03725 {
03726 return mFavoriteFolderViewSeenInboxesItem;
03727 }
03728
03729 static
03730 void writeConfig()
03731 {
03732 static_cast<KConfigSkeleton*>(self())->writeConfig();
03733 }
03734 protected:
03735 GlobalSettingsBase();
03736 static GlobalSettingsBase *mSelf;
03737
03738
03739
03740 bool mDelayedMarkAsRead;
03741 uint mDelayedMarkTime;
03742 int mActionEnterFolder;
03743 int mNetworkState;
03744 int mLoopOnGotoUnread;
03745 bool mShowPopupAfterDnD;
03746 bool mExcludeImportantMailFromExpiry;
03747 int mSendOnCheck;
03748 bool mAutoLostFoundMove;
03749 bool mAllowLocalFlags;
03750
03751
03752 int mMinimumCheckInterval;
03753
03754
03755 QString mLastSelectedFolder;
03756
03757
03758 bool mDisregardUmask;
03759 bool mSystemTrayEnabled;
03760 int mSystemTrayPolicy;
03761 bool mCloseDespiteSystemTray;
03762 bool mVerboseNewMailNotification;
03763 QString mExternalEditor;
03764 bool mUseExternalEditor;
03765 int mCustHeaderCount;
03766 int mReplyCurrentLanguage;
03767 int mReplyLanguagesCount;
03768 int mFolderLoadingTimeout;
03769 int mQuotaUnit;
03770 int mCloseToQuotaThreshold;
03771
03772
03773 bool mGroupwareEnabled;
03774 bool mLegacyMangleFromToHeaders;
03775 bool mLegacyBodyInvites;
03776 bool mExchangeCompatibleInvitations;
03777 bool mAutomaticSending;
03778 int mAskForCommentWhenReactingToInvitation;
03779 bool mDeleteInvitationEmailsAfterSendingReply;
03780
03781
03782 bool mTheIMAPResourceEnabled;
03783 bool mHideGroupwareFolders;
03784 bool mShowOnlyGroupwareFoldersForGroupwareAccount;
03785 int mTheIMAPResourceStorageFormat;
03786 QString mTheIMAPResourceFolderParent;
03787 int mTheIMAPResourceAccount;
03788 int mTheIMAPResourceFolderLanguage;
03789 bool mFilterOnlyDIMAPInbox;
03790 bool mFilterGroupwareFolders;
03791 bool mImmediatlySyncDIMAPOnGroupwareChanges;
03792
03793
03794 int mMsgDictSizeHint;
03795 QString mPreviousNewFeaturesMD5;
03796
03797
03798 int mMaxConnectionsPerHost;
03799
03800
03801 bool mQuickSearchActive;
03802 bool mEnableFolderQuickSearch;
03803 bool mHideLocalInbox;
03804
03805
03806 bool mForwardingInlineByDefault;
03807 bool mAllowSemicolonAsAddressSeparator;
03808 bool mForceReplyCharset;
03809 QString mAutoTextSignature;
03810 bool mStickyIdentity;
03811 bool mStickyFcc;
03812 bool mStickyTransport;
03813 bool mWordWrap;
03814 bool mUseFixedFont;
03815 int mLineWrapWidth;
03816 uint mPreviousIdentity;
03817 QString mPreviousFcc;
03818 QStringList mTransportHistory;
03819 QString mCurrentTransport;
03820 QString mDefaultTransport;
03821 int mMaxTransportEntries;
03822 bool mOutlookCompatibleAttachments;
03823 bool mUseHtmlMarkup;
03824 bool mPgpAutoSign;
03825 bool mPgpAutoEncrypt;
03826 bool mNeverEncryptDrafts;
03827 QString mChiasmusKey;
03828 QString mChiasmusOptions;
03829 bool mConfirmBeforeSend;
03830 bool mRequestMDN;
03831 bool mShowRecentAddressesInComposer;
03832 int mHeaders;
03833 int mCompletionMode;
03834 bool mAutoSpellChecking;
03835 bool mShowForgottenAttachmentWarning;
03836 QStringList mAttachmentKeywords;
03837 bool mShowMessagePartDialogOnAttach;
03838 int mAutosaveInterval;
03839 bool mPrependSignature;
03840 QStringList mReplyPrefixes;
03841 bool mReplaceReplyPrefix;
03842 QStringList mForwardPrefixes;
03843 bool mReplaceForwardPrefix;
03844 bool mSmartQuote;
03845 int mAddresseeSelectorType;
03846 int mRecipientsEditorType;
03847 int mSecondRecipientTypeDefault;
03848 int mMaximumRecipients;
03849 QStringList mCustomTemplates;
03850 QStringList mMimetypesToStripWhenInlineForwarding;
03851 int mMaximumAttachmentSize;
03852 bool mShowSnippetManager;
03853 QValueList<int> mSnippetSplitterPosition;
03854 bool mShowGnuPGAuditLogAfterSuccessfulSignEncrypt;
03855
03856
03857 bool mUseDefaultFonts;
03858 QFont mComposerFont;
03859 QFont mFixedFont;
03860
03861
03862 QSize mComposerSize;
03863
03864
03865 bool mUseDefaultColors;
03866 QColor mForegroundColor;
03867 QColor mBackgroundColor;
03868 QString mFallbackCharacterEncoding;
03869 QString mOverrideCharacterEncoding;
03870 bool mShowEmoticons;
03871 bool mShowExpandQuotesMark;
03872 int mCollapseQuoteLevelSpin;
03873 bool mShrinkQuotes;
03874 QString mChiasmusDecryptionKey;
03875 QString mChiasmusDecryptionOptions;
03876 bool mShowUserAgent;
03877 bool mAllowAttachmentDeletion;
03878 bool mAllowAttachmentEditing;
03879 bool mAlwaysDecrypt;
03880
03881
03882 bool mAutomaticDecrypt;
03883
03884
03885 bool mSendMDNsWithEmptySender;
03886
03887
03888 bool mPhrasesConverted;
03889 QString mTemplateNewMessage;
03890 QString mTemplateReply;
03891 QString mTemplateReplyAll;
03892 QString mTemplateForward;
03893 QString mQuoteString;
03894
03895
03896 bool mAllowOutOfOfficeSettings;
03897 bool mAllowOutOfOfficeUploadButNoSettings;
03898 QString mOutOfOfficeDomain;
03899 bool mOutOfOfficeReactToSpam;
03900 bool mCheckOutOfOfficeOnStartup;
03901
03902
03903 bool mEnableFavoriteFolderView;
03904 QValueList<int> mFolderViewSplitterPosition;
03905 QValueList<int> mFavoriteFolderIds;
03906 QStringList mFavoriteFolderNames;
03907 QValueList<int> mFavoriteFolderViewSeenInboxes;
03908
03909 private:
03910 ItemBool *mDelayedMarkAsReadItem;
03911 ItemUInt *mDelayedMarkTimeItem;
03912 ItemEnum *mActionEnterFolderItem;
03913 ItemEnum *mNetworkStateItem;
03914 ItemEnum *mLoopOnGotoUnreadItem;
03915 ItemBool *mShowPopupAfterDnDItem;
03916 ItemBool *mExcludeImportantMailFromExpiryItem;
03917 ItemEnum *mSendOnCheckItem;
03918 ItemBool *mAutoLostFoundMoveItem;
03919 ItemBool *mAllowLocalFlagsItem;
03920 ItemInt *mMinimumCheckIntervalItem;
03921 ItemString *mLastSelectedFolderItem;
03922 ItemBool *mDisregardUmaskItem;
03923 ItemBool *mSystemTrayEnabledItem;
03924 ItemEnum *mSystemTrayPolicyItem;
03925 ItemBool *mCloseDespiteSystemTrayItem;
03926 ItemBool *mVerboseNewMailNotificationItem;
03927 ItemString *mExternalEditorItem;
03928 ItemBool *mUseExternalEditorItem;
03929 ItemInt *mCustHeaderCountItem;
03930 ItemInt *mReplyCurrentLanguageItem;
03931 ItemInt *mReplyLanguagesCountItem;
03932 ItemInt *mFolderLoadingTimeoutItem;
03933 ItemEnum *mQuotaUnitItem;
03934 ItemInt *mCloseToQuotaThresholdItem;
03935 ItemBool *mGroupwareEnabledItem;
03936 ItemBool *mLegacyMangleFromToHeadersItem;
03937 ItemBool *mLegacyBodyInvitesItem;
03938 ItemBool *mExchangeCompatibleInvitationsItem;
03939 ItemBool *mAutomaticSendingItem;
03940 ItemEnum *mAskForCommentWhenReactingToInvitationItem;
03941 ItemBool *mDeleteInvitationEmailsAfterSendingReplyItem;
03942 ItemBool *mTheIMAPResourceEnabledItem;
03943 ItemBool *mHideGroupwareFoldersItem;
03944 ItemBool *mShowOnlyGroupwareFoldersForGroupwareAccountItem;
03945 ItemEnum *mTheIMAPResourceStorageFormatItem;
03946 ItemString *mTheIMAPResourceFolderParentItem;
03947 ItemInt *mTheIMAPResourceAccountItem;
03948 ItemInt *mTheIMAPResourceFolderLanguageItem;
03949 ItemBool *mFilterOnlyDIMAPInboxItem;
03950 ItemBool *mFilterGroupwareFoldersItem;
03951 ItemBool *mImmediatlySyncDIMAPOnGroupwareChangesItem;
03952 ItemInt *mMsgDictSizeHintItem;
03953 ItemString *mPreviousNewFeaturesMD5Item;
03954 ItemInt *mMaxConnectionsPerHostItem;
03955 ItemBool *mQuickSearchActiveItem;
03956 ItemBool *mEnableFolderQuickSearchItem;
03957 ItemBool *mHideLocalInboxItem;
03958 ItemBool *mForwardingInlineByDefaultItem;
03959 ItemBool *mAllowSemicolonAsAddressSeparatorItem;
03960 ItemBool *mForceReplyCharsetItem;
03961 ItemString *mAutoTextSignatureItem;
03962 ItemBool *mStickyIdentityItem;
03963 ItemBool *mStickyFccItem;
03964 ItemBool *mStickyTransportItem;
03965 ItemBool *mWordWrapItem;
03966 ItemBool *mUseFixedFontItem;
03967 ItemInt *mLineWrapWidthItem;
03968 ItemUInt *mPreviousIdentityItem;
03969 ItemString *mPreviousFccItem;
03970 ItemStringList *mTransportHistoryItem;
03971 ItemString *mCurrentTransportItem;
03972 ItemString *mDefaultTransportItem;
03973 ItemInt *mMaxTransportEntriesItem;
03974 ItemBool *mOutlookCompatibleAttachmentsItem;
03975 ItemBool *mUseHtmlMarkupItem;
03976 ItemBool *mPgpAutoSignItem;
03977 ItemBool *mPgpAutoEncryptItem;
03978 ItemBool *mNeverEncryptDraftsItem;
03979 ItemString *mChiasmusKeyItem;
03980 ItemString *mChiasmusOptionsItem;
03981 ItemBool *mConfirmBeforeSendItem;
03982 ItemBool *mRequestMDNItem;
03983 ItemBool *mShowRecentAddressesInComposerItem;
03984 ItemInt *mHeadersItem;
03985 ItemInt *mCompletionModeItem;
03986 ItemBool *mAutoSpellCheckingItem;
03987 ItemBool *mShowForgottenAttachmentWarningItem;
03988 ItemStringList *mAttachmentKeywordsItem;
03989 ItemBool *mShowMessagePartDialogOnAttachItem;
03990 ItemInt *mAutosaveIntervalItem;
03991 ItemBool *mPrependSignatureItem;
03992 ItemStringList *mReplyPrefixesItem;
03993 ItemBool *mReplaceReplyPrefixItem;
03994 ItemStringList *mForwardPrefixesItem;
03995 ItemBool *mReplaceForwardPrefixItem;
03996 ItemBool *mSmartQuoteItem;
03997 ItemEnum *mAddresseeSelectorTypeItem;
03998 ItemEnum *mRecipientsEditorTypeItem;
03999 ItemEnum *mSecondRecipientTypeDefaultItem;
04000 ItemInt *mMaximumRecipientsItem;
04001 ItemStringList *mCustomTemplatesItem;
04002 ItemStringList *mMimetypesToStripWhenInlineForwardingItem;
04003 ItemInt *mMaximumAttachmentSizeItem;
04004 ItemBool *mShowSnippetManagerItem;
04005 ItemIntList *mSnippetSplitterPositionItem;
04006 ItemBool *mShowGnuPGAuditLogAfterSuccessfulSignEncryptItem;
04007 ItemBool *mUseDefaultFontsItem;
04008 ItemFont *mComposerFontItem;
04009 ItemFont *mFixedFontItem;
04010 ItemSize *mComposerSizeItem;
04011 ItemBool *mUseDefaultColorsItem;
04012 ItemColor *mForegroundColorItem;
04013 ItemColor *mBackgroundColorItem;
04014 ItemString *mFallbackCharacterEncodingItem;
04015 ItemString *mOverrideCharacterEncodingItem;
04016 ItemBool *mShowEmoticonsItem;
04017 ItemBool *mShowExpandQuotesMarkItem;
04018 ItemInt *mCollapseQuoteLevelSpinItem;
04019 ItemBool *mShrinkQuotesItem;
04020 ItemString *mChiasmusDecryptionKeyItem;
04021 ItemString *mChiasmusDecryptionOptionsItem;
04022 ItemBool *mShowUserAgentItem;
04023 ItemBool *mAllowAttachmentDeletionItem;
04024 ItemBool *mAllowAttachmentEditingItem;
04025 ItemBool *mAlwaysDecryptItem;
04026 ItemBool *mAutomaticDecryptItem;
04027 ItemBool *mSendMDNsWithEmptySenderItem;
04028 ItemBool *mPhrasesConvertedItem;
04029 ItemString *mTemplateNewMessageItem;
04030 ItemString *mTemplateReplyItem;
04031 ItemString *mTemplateReplyAllItem;
04032 ItemString *mTemplateForwardItem;
04033 ItemString *mQuoteStringItem;
04034 ItemBool *mAllowOutOfOfficeSettingsItem;
04035 ItemBool *mAllowOutOfOfficeUploadButNoSettingsItem;
04036 ItemString *mOutOfOfficeDomainItem;
04037 ItemBool *mOutOfOfficeReactToSpamItem;
04038 ItemBool *mCheckOutOfOfficeOnStartupItem;
04039 ItemBool *mEnableFavoriteFolderViewItem;
04040 ItemIntList *mFolderViewSplitterPositionItem;
04041 ItemIntList *mFavoriteFolderIdsItem;
04042 ItemStringList *mFavoriteFolderNamesItem;
04043 ItemIntList *mFavoriteFolderViewSeenInboxesItem;
04044 };
04045
04046 #endif
04047
|