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 setFilterGroupwareFolders( bool v )
01140 {
01141 if (!self()->isImmutable( QString::fromLatin1( "FilterGroupwareFolders" ) ))
01142 self()->mFilterGroupwareFolders = v;
01143 }
01144
01148 static
01149 bool filterGroupwareFolders()
01150 {
01151 return self()->mFilterGroupwareFolders;
01152 }
01153
01157 ItemBool *filterGroupwareFoldersItem()
01158 {
01159 return mFilterGroupwareFoldersItem;
01160 }
01161
01165 static
01166 void setFilterSourceFolders( const QValueList<int> & v )
01167 {
01168 if (!self()->isImmutable( QString::fromLatin1( "FilterSourceFolders" ) ))
01169 self()->mFilterSourceFolders = v;
01170 }
01171
01175 static
01176 QValueList<int> filterSourceFolders()
01177 {
01178 return self()->mFilterSourceFolders;
01179 }
01180
01184 ItemIntList *filterSourceFoldersItem()
01185 {
01186 return mFilterSourceFoldersItem;
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 setHideLocalInbox( bool v )
01334 {
01335 if (!self()->isImmutable( QString::fromLatin1( "HideLocalInbox" ) ))
01336 self()->mHideLocalInbox = v;
01337 }
01338
01342 static
01343 bool hideLocalInbox()
01344 {
01345 return self()->mHideLocalInbox;
01346 }
01347
01351 ItemBool *hideLocalInboxItem()
01352 {
01353 return mHideLocalInboxItem;
01354 }
01355
01359 static
01360 void setForwardingInlineByDefault( bool v )
01361 {
01362 if (!self()->isImmutable( QString::fromLatin1( "ForwardingInlineByDefault" ) ))
01363 self()->mForwardingInlineByDefault = v;
01364 }
01365
01369 static
01370 bool forwardingInlineByDefault()
01371 {
01372 return self()->mForwardingInlineByDefault;
01373 }
01374
01378 ItemBool *forwardingInlineByDefaultItem()
01379 {
01380 return mForwardingInlineByDefaultItem;
01381 }
01382
01386 static
01387 void setAllowSemicolonAsAddressSeparator( bool v )
01388 {
01389 if (!self()->isImmutable( QString::fromLatin1( "AllowSemicolonAsAddressSeparator" ) ))
01390 self()->mAllowSemicolonAsAddressSeparator = v;
01391 }
01392
01396 static
01397 bool allowSemicolonAsAddressSeparator()
01398 {
01399 return self()->mAllowSemicolonAsAddressSeparator;
01400 }
01401
01405 ItemBool *allowSemicolonAsAddressSeparatorItem()
01406 {
01407 return mAllowSemicolonAsAddressSeparatorItem;
01408 }
01409
01413 static
01414 void setForceReplyCharset( bool v )
01415 {
01416 if (!self()->isImmutable( QString::fromLatin1( "ForceReplyCharset" ) ))
01417 self()->mForceReplyCharset = v;
01418 }
01419
01423 static
01424 bool forceReplyCharset()
01425 {
01426 return self()->mForceReplyCharset;
01427 }
01428
01432 ItemBool *forceReplyCharsetItem()
01433 {
01434 return mForceReplyCharsetItem;
01435 }
01436
01440 static
01441 void setAutoTextSignature( const QString & v )
01442 {
01443 if (!self()->isImmutable( QString::fromLatin1( "AutoTextSignature" ) ))
01444 self()->mAutoTextSignature = v;
01445 }
01446
01450 static
01451 QString autoTextSignature()
01452 {
01453 return self()->mAutoTextSignature;
01454 }
01455
01459 ItemString *autoTextSignatureItem()
01460 {
01461 return mAutoTextSignatureItem;
01462 }
01463
01467 static
01468 void setStickyIdentity( bool v )
01469 {
01470 if (!self()->isImmutable( QString::fromLatin1( "StickyIdentity" ) ))
01471 self()->mStickyIdentity = v;
01472 }
01473
01477 static
01478 bool stickyIdentity()
01479 {
01480 return self()->mStickyIdentity;
01481 }
01482
01486 ItemBool *stickyIdentityItem()
01487 {
01488 return mStickyIdentityItem;
01489 }
01490
01494 static
01495 void setStickyFcc( bool v )
01496 {
01497 if (!self()->isImmutable( QString::fromLatin1( "StickyFcc" ) ))
01498 self()->mStickyFcc = v;
01499 }
01500
01504 static
01505 bool stickyFcc()
01506 {
01507 return self()->mStickyFcc;
01508 }
01509
01513 ItemBool *stickyFccItem()
01514 {
01515 return mStickyFccItem;
01516 }
01517
01521 static
01522 void setStickyTransport( bool v )
01523 {
01524 if (!self()->isImmutable( QString::fromLatin1( "StickyTransport" ) ))
01525 self()->mStickyTransport = v;
01526 }
01527
01531 static
01532 bool stickyTransport()
01533 {
01534 return self()->mStickyTransport;
01535 }
01536
01540 ItemBool *stickyTransportItem()
01541 {
01542 return mStickyTransportItem;
01543 }
01544
01548 static
01549 void setWordWrap( bool v )
01550 {
01551 if (!self()->isImmutable( QString::fromLatin1( "WordWrap" ) ))
01552 self()->mWordWrap = v;
01553 }
01554
01558 static
01559 bool wordWrap()
01560 {
01561 return self()->mWordWrap;
01562 }
01563
01567 ItemBool *wordWrapItem()
01568 {
01569 return mWordWrapItem;
01570 }
01571
01575 static
01576 void setUseFixedFont( bool v )
01577 {
01578 if (!self()->isImmutable( QString::fromLatin1( "UseFixedFont" ) ))
01579 self()->mUseFixedFont = v;
01580 }
01581
01585 static
01586 bool useFixedFont()
01587 {
01588 return self()->mUseFixedFont;
01589 }
01590
01594 ItemBool *useFixedFontItem()
01595 {
01596 return mUseFixedFontItem;
01597 }
01598
01602 static
01603 void setLineWrapWidth( int v )
01604 {
01605 if (v < 30)
01606 {
01607 kdDebug() << "setLineWrapWidth: value " << v << " is less than the minimum value of 30" << endl;
01608 v = 30;
01609 }
01610
01611 if (v > 255)
01612 {
01613 kdDebug() << "setLineWrapWidth: value " << v << " is greater than the maximum value of 255" << endl;
01614 v = 255;
01615 }
01616
01617 if (!self()->isImmutable( QString::fromLatin1( "LineWrapWidth" ) ))
01618 self()->mLineWrapWidth = v;
01619 }
01620
01624 static
01625 int lineWrapWidth()
01626 {
01627 return self()->mLineWrapWidth;
01628 }
01629
01633 ItemInt *lineWrapWidthItem()
01634 {
01635 return mLineWrapWidthItem;
01636 }
01637
01641 static
01642 void setPreviousIdentity( uint v )
01643 {
01644 if (!self()->isImmutable( QString::fromLatin1( "PreviousIdentity" ) ))
01645 self()->mPreviousIdentity = v;
01646 }
01647
01651 static
01652 uint previousIdentity()
01653 {
01654 return self()->mPreviousIdentity;
01655 }
01656
01660 ItemUInt *previousIdentityItem()
01661 {
01662 return mPreviousIdentityItem;
01663 }
01664
01668 static
01669 void setPreviousFcc( const QString & v )
01670 {
01671 if (!self()->isImmutable( QString::fromLatin1( "PreviousFcc" ) ))
01672 self()->mPreviousFcc = v;
01673 }
01674
01678 static
01679 QString previousFcc()
01680 {
01681 return self()->mPreviousFcc;
01682 }
01683
01687 ItemString *previousFccItem()
01688 {
01689 return mPreviousFccItem;
01690 }
01691
01695 static
01696 void setTransportHistory( const QStringList & v )
01697 {
01698 if (!self()->isImmutable( QString::fromLatin1( "TransportHistory" ) ))
01699 self()->mTransportHistory = v;
01700 }
01701
01705 static
01706 QStringList transportHistory()
01707 {
01708 return self()->mTransportHistory;
01709 }
01710
01714 ItemStringList *transportHistoryItem()
01715 {
01716 return mTransportHistoryItem;
01717 }
01718
01722 static
01723 void setCurrentTransport( const QString & v )
01724 {
01725 if (!self()->isImmutable( QString::fromLatin1( "CurrentTransport" ) ))
01726 self()->mCurrentTransport = v;
01727 }
01728
01732 static
01733 QString currentTransport()
01734 {
01735 return self()->mCurrentTransport;
01736 }
01737
01741 ItemString *currentTransportItem()
01742 {
01743 return mCurrentTransportItem;
01744 }
01745
01749 static
01750 void setDefaultTransport( const QString & v )
01751 {
01752 if (!self()->isImmutable( QString::fromLatin1( "DefaultTransport" ) ))
01753 self()->mDefaultTransport = v;
01754 }
01755
01759 static
01760 QString defaultTransport()
01761 {
01762 return self()->mDefaultTransport;
01763 }
01764
01768 ItemString *defaultTransportItem()
01769 {
01770 return mDefaultTransportItem;
01771 }
01772
01776 static
01777 void setMaxTransportEntries( int v )
01778 {
01779 if (!self()->isImmutable( QString::fromLatin1( "MaxTransportEntries" ) ))
01780 self()->mMaxTransportEntries = v;
01781 }
01782
01786 static
01787 int maxTransportEntries()
01788 {
01789 return self()->mMaxTransportEntries;
01790 }
01791
01795 ItemInt *maxTransportEntriesItem()
01796 {
01797 return mMaxTransportEntriesItem;
01798 }
01799
01803 static
01804 void setOutlookCompatibleAttachments( bool v )
01805 {
01806 if (!self()->isImmutable( QString::fromLatin1( "OutlookCompatibleAttachments" ) ))
01807 self()->mOutlookCompatibleAttachments = v;
01808 }
01809
01813 static
01814 bool outlookCompatibleAttachments()
01815 {
01816 return self()->mOutlookCompatibleAttachments;
01817 }
01818
01822 ItemBool *outlookCompatibleAttachmentsItem()
01823 {
01824 return mOutlookCompatibleAttachmentsItem;
01825 }
01826
01830 static
01831 void setUseHtmlMarkup( bool v )
01832 {
01833 if (!self()->isImmutable( QString::fromLatin1( "UseHtmlMarkup" ) ))
01834 self()->mUseHtmlMarkup = v;
01835 }
01836
01840 static
01841 bool useHtmlMarkup()
01842 {
01843 return self()->mUseHtmlMarkup;
01844 }
01845
01849 ItemBool *useHtmlMarkupItem()
01850 {
01851 return mUseHtmlMarkupItem;
01852 }
01853
01857 static
01858 void setPgpAutoSign( bool v )
01859 {
01860 if (!self()->isImmutable( QString::fromLatin1( "PgpAutoSign" ) ))
01861 self()->mPgpAutoSign = v;
01862 }
01863
01867 static
01868 bool pgpAutoSign()
01869 {
01870 return self()->mPgpAutoSign;
01871 }
01872
01876 ItemBool *pgpAutoSignItem()
01877 {
01878 return mPgpAutoSignItem;
01879 }
01880
01884 static
01885 void setPgpAutoEncrypt( bool v )
01886 {
01887 if (!self()->isImmutable( QString::fromLatin1( "PgpAutoEncrypt" ) ))
01888 self()->mPgpAutoEncrypt = v;
01889 }
01890
01894 static
01895 bool pgpAutoEncrypt()
01896 {
01897 return self()->mPgpAutoEncrypt;
01898 }
01899
01903 ItemBool *pgpAutoEncryptItem()
01904 {
01905 return mPgpAutoEncryptItem;
01906 }
01907
01911 static
01912 void setNeverEncryptDrafts( bool v )
01913 {
01914 if (!self()->isImmutable( QString::fromLatin1( "NeverEncryptDrafts" ) ))
01915 self()->mNeverEncryptDrafts = v;
01916 }
01917
01921 static
01922 bool neverEncryptDrafts()
01923 {
01924 return self()->mNeverEncryptDrafts;
01925 }
01926
01930 ItemBool *neverEncryptDraftsItem()
01931 {
01932 return mNeverEncryptDraftsItem;
01933 }
01934
01938 static
01939 void setChiasmusKey( const QString & v )
01940 {
01941 if (!self()->isImmutable( QString::fromLatin1( "ChiasmusKey" ) ))
01942 self()->mChiasmusKey = v;
01943 }
01944
01948 static
01949 QString chiasmusKey()
01950 {
01951 return self()->mChiasmusKey;
01952 }
01953
01957 ItemString *chiasmusKeyItem()
01958 {
01959 return mChiasmusKeyItem;
01960 }
01961
01965 static
01966 void setChiasmusOptions( const QString & v )
01967 {
01968 if (!self()->isImmutable( QString::fromLatin1( "ChiasmusOptions" ) ))
01969 self()->mChiasmusOptions = v;
01970 }
01971
01975 static
01976 QString chiasmusOptions()
01977 {
01978 return self()->mChiasmusOptions;
01979 }
01980
01984 ItemString *chiasmusOptionsItem()
01985 {
01986 return mChiasmusOptionsItem;
01987 }
01988
01992 static
01993 void setConfirmBeforeSend( bool v )
01994 {
01995 if (!self()->isImmutable( QString::fromLatin1( "ConfirmBeforeSend" ) ))
01996 self()->mConfirmBeforeSend = v;
01997 }
01998
02002 static
02003 bool confirmBeforeSend()
02004 {
02005 return self()->mConfirmBeforeSend;
02006 }
02007
02011 ItemBool *confirmBeforeSendItem()
02012 {
02013 return mConfirmBeforeSendItem;
02014 }
02015
02019 static
02020 void setRequestMDN( bool v )
02021 {
02022 if (!self()->isImmutable( QString::fromLatin1( "RequestMDN" ) ))
02023 self()->mRequestMDN = v;
02024 }
02025
02029 static
02030 bool requestMDN()
02031 {
02032 return self()->mRequestMDN;
02033 }
02034
02038 ItemBool *requestMDNItem()
02039 {
02040 return mRequestMDNItem;
02041 }
02042
02046 static
02047 void setShowRecentAddressesInComposer( bool v )
02048 {
02049 if (!self()->isImmutable( QString::fromLatin1( "ShowRecentAddressesInComposer" ) ))
02050 self()->mShowRecentAddressesInComposer = v;
02051 }
02052
02056 static
02057 bool showRecentAddressesInComposer()
02058 {
02059 return self()->mShowRecentAddressesInComposer;
02060 }
02061
02065 ItemBool *showRecentAddressesInComposerItem()
02066 {
02067 return mShowRecentAddressesInComposerItem;
02068 }
02069
02073 static
02074 void setHeaders( int v )
02075 {
02076 if (!self()->isImmutable( QString::fromLatin1( "Headers" ) ))
02077 self()->mHeaders = v;
02078 }
02079
02083 static
02084 int headers()
02085 {
02086 return self()->mHeaders;
02087 }
02088
02092 ItemInt *headersItem()
02093 {
02094 return mHeadersItem;
02095 }
02096
02100 static
02101 void setCompletionMode( int v )
02102 {
02103 if (!self()->isImmutable( QString::fromLatin1( "CompletionMode" ) ))
02104 self()->mCompletionMode = v;
02105 }
02106
02110 static
02111 int completionMode()
02112 {
02113 return self()->mCompletionMode;
02114 }
02115
02119 ItemInt *completionModeItem()
02120 {
02121 return mCompletionModeItem;
02122 }
02123
02127 static
02128 void setAutoSpellChecking( bool v )
02129 {
02130 if (!self()->isImmutable( QString::fromLatin1( "AutoSpellChecking" ) ))
02131 self()->mAutoSpellChecking = v;
02132 }
02133
02137 static
02138 bool autoSpellChecking()
02139 {
02140 return self()->mAutoSpellChecking;
02141 }
02142
02146 ItemBool *autoSpellCheckingItem()
02147 {
02148 return mAutoSpellCheckingItem;
02149 }
02150
02154 static
02155 void setShowForgottenAttachmentWarning( bool v )
02156 {
02157 if (!self()->isImmutable( QString::fromLatin1( "ShowForgottenAttachmentWarning" ) ))
02158 self()->mShowForgottenAttachmentWarning = v;
02159 }
02160
02164 static
02165 bool showForgottenAttachmentWarning()
02166 {
02167 return self()->mShowForgottenAttachmentWarning;
02168 }
02169
02173 ItemBool *showForgottenAttachmentWarningItem()
02174 {
02175 return mShowForgottenAttachmentWarningItem;
02176 }
02177
02181 static
02182 void setAttachmentKeywords( const QStringList & v )
02183 {
02184 if (!self()->isImmutable( QString::fromLatin1( "AttachmentKeywords" ) ))
02185 self()->mAttachmentKeywords = v;
02186 }
02187
02191 static
02192 QStringList attachmentKeywords()
02193 {
02194 return self()->mAttachmentKeywords;
02195 }
02196
02200 ItemStringList *attachmentKeywordsItem()
02201 {
02202 return mAttachmentKeywordsItem;
02203 }
02204
02208 static
02209 void setShowMessagePartDialogOnAttach( bool v )
02210 {
02211 if (!self()->isImmutable( QString::fromLatin1( "ShowMessagePartDialogOnAttach" ) ))
02212 self()->mShowMessagePartDialogOnAttach = v;
02213 }
02214
02218 static
02219 bool showMessagePartDialogOnAttach()
02220 {
02221 return self()->mShowMessagePartDialogOnAttach;
02222 }
02223
02227 ItemBool *showMessagePartDialogOnAttachItem()
02228 {
02229 return mShowMessagePartDialogOnAttachItem;
02230 }
02231
02235 static
02236 void setAutosaveInterval( int v )
02237 {
02238 if (!self()->isImmutable( QString::fromLatin1( "AutosaveInterval" ) ))
02239 self()->mAutosaveInterval = v;
02240 }
02241
02245 static
02246 int autosaveInterval()
02247 {
02248 return self()->mAutosaveInterval;
02249 }
02250
02254 ItemInt *autosaveIntervalItem()
02255 {
02256 return mAutosaveIntervalItem;
02257 }
02258
02262 static
02263 void setPrependSignature( bool v )
02264 {
02265 if (!self()->isImmutable( QString::fromLatin1( "PrependSignature" ) ))
02266 self()->mPrependSignature = v;
02267 }
02268
02272 static
02273 bool prependSignature()
02274 {
02275 return self()->mPrependSignature;
02276 }
02277
02281 ItemBool *prependSignatureItem()
02282 {
02283 return mPrependSignatureItem;
02284 }
02285
02289 static
02290 void setReplyPrefixes( const QStringList & v )
02291 {
02292 if (!self()->isImmutable( QString::fromLatin1( "ReplyPrefixes" ) ))
02293 self()->mReplyPrefixes = v;
02294 }
02295
02299 static
02300 QStringList replyPrefixes()
02301 {
02302 return self()->mReplyPrefixes;
02303 }
02304
02308 ItemStringList *replyPrefixesItem()
02309 {
02310 return mReplyPrefixesItem;
02311 }
02312
02316 static
02317 void setReplaceReplyPrefix( bool v )
02318 {
02319 if (!self()->isImmutable( QString::fromLatin1( "ReplaceReplyPrefix" ) ))
02320 self()->mReplaceReplyPrefix = v;
02321 }
02322
02326 static
02327 bool replaceReplyPrefix()
02328 {
02329 return self()->mReplaceReplyPrefix;
02330 }
02331
02335 ItemBool *replaceReplyPrefixItem()
02336 {
02337 return mReplaceReplyPrefixItem;
02338 }
02339
02343 static
02344 void setForwardPrefixes( const QStringList & v )
02345 {
02346 if (!self()->isImmutable( QString::fromLatin1( "ForwardPrefixes" ) ))
02347 self()->mForwardPrefixes = v;
02348 }
02349
02353 static
02354 QStringList forwardPrefixes()
02355 {
02356 return self()->mForwardPrefixes;
02357 }
02358
02362 ItemStringList *forwardPrefixesItem()
02363 {
02364 return mForwardPrefixesItem;
02365 }
02366
02370 static
02371 void setReplaceForwardPrefix( bool v )
02372 {
02373 if (!self()->isImmutable( QString::fromLatin1( "ReplaceForwardPrefix" ) ))
02374 self()->mReplaceForwardPrefix = v;
02375 }
02376
02380 static
02381 bool replaceForwardPrefix()
02382 {
02383 return self()->mReplaceForwardPrefix;
02384 }
02385
02389 ItemBool *replaceForwardPrefixItem()
02390 {
02391 return mReplaceForwardPrefixItem;
02392 }
02393
02397 static
02398 void setSmartQuote( bool v )
02399 {
02400 if (!self()->isImmutable( QString::fromLatin1( "SmartQuote" ) ))
02401 self()->mSmartQuote = v;
02402 }
02403
02407 static
02408 bool smartQuote()
02409 {
02410 return self()->mSmartQuote;
02411 }
02412
02416 ItemBool *smartQuoteItem()
02417 {
02418 return mSmartQuoteItem;
02419 }
02420
02424 static
02425 void setAddresseeSelectorType( int v )
02426 {
02427 if (!self()->isImmutable( QString::fromLatin1( "AddresseeSelectorType" ) ))
02428 self()->mAddresseeSelectorType = v;
02429 }
02430
02434 static
02435 int addresseeSelectorType()
02436 {
02437 return self()->mAddresseeSelectorType;
02438 }
02439
02443 ItemEnum *addresseeSelectorTypeItem()
02444 {
02445 return mAddresseeSelectorTypeItem;
02446 }
02447
02451 static
02452 void setRecipientsEditorType( int v )
02453 {
02454 if (!self()->isImmutable( QString::fromLatin1( "RecipientsEditorType" ) ))
02455 self()->mRecipientsEditorType = v;
02456 }
02457
02461 static
02462 int recipientsEditorType()
02463 {
02464 return self()->mRecipientsEditorType;
02465 }
02466
02470 ItemEnum *recipientsEditorTypeItem()
02471 {
02472 return mRecipientsEditorTypeItem;
02473 }
02474
02478 static
02479 void setSecondRecipientTypeDefault( int v )
02480 {
02481 if (!self()->isImmutable( QString::fromLatin1( "SecondRecipientTypeDefault" ) ))
02482 self()->mSecondRecipientTypeDefault = v;
02483 }
02484
02488 static
02489 int secondRecipientTypeDefault()
02490 {
02491 return self()->mSecondRecipientTypeDefault;
02492 }
02493
02497 ItemEnum *secondRecipientTypeDefaultItem()
02498 {
02499 return mSecondRecipientTypeDefaultItem;
02500 }
02501
02505 static
02506 void setMaximumRecipients( int v )
02507 {
02508 if (!self()->isImmutable( QString::fromLatin1( "MaximumRecipients" ) ))
02509 self()->mMaximumRecipients = v;
02510 }
02511
02515 static
02516 int maximumRecipients()
02517 {
02518 return self()->mMaximumRecipients;
02519 }
02520
02524 ItemInt *maximumRecipientsItem()
02525 {
02526 return mMaximumRecipientsItem;
02527 }
02528
02532 static
02533 void setCustomTemplates( const QStringList & v )
02534 {
02535 if (!self()->isImmutable( QString::fromLatin1( "CustomTemplates" ) ))
02536 self()->mCustomTemplates = v;
02537 }
02538
02542 static
02543 QStringList customTemplates()
02544 {
02545 return self()->mCustomTemplates;
02546 }
02547
02551 ItemStringList *customTemplatesItem()
02552 {
02553 return mCustomTemplatesItem;
02554 }
02555
02559 static
02560 void setMimetypesToStripWhenInlineForwarding( const QStringList & v )
02561 {
02562 if (!self()->isImmutable( QString::fromLatin1( "MimetypesToStripWhenInlineForwarding" ) ))
02563 self()->mMimetypesToStripWhenInlineForwarding = v;
02564 }
02565
02569 static
02570 QStringList mimetypesToStripWhenInlineForwarding()
02571 {
02572 return self()->mMimetypesToStripWhenInlineForwarding;
02573 }
02574
02578 ItemStringList *mimetypesToStripWhenInlineForwardingItem()
02579 {
02580 return mMimetypesToStripWhenInlineForwardingItem;
02581 }
02582
02586 static
02587 void setMaximumAttachmentSize( int v )
02588 {
02589 if (!self()->isImmutable( QString::fromLatin1( "MaximumAttachmentSize" ) ))
02590 self()->mMaximumAttachmentSize = v;
02591 }
02592
02596 static
02597 int maximumAttachmentSize()
02598 {
02599 return self()->mMaximumAttachmentSize;
02600 }
02601
02605 ItemInt *maximumAttachmentSizeItem()
02606 {
02607 return mMaximumAttachmentSizeItem;
02608 }
02609
02613 static
02614 void setShowSnippetManager( bool v )
02615 {
02616 if (!self()->isImmutable( QString::fromLatin1( "ShowSnippetManager" ) ))
02617 self()->mShowSnippetManager = v;
02618 }
02619
02623 static
02624 bool showSnippetManager()
02625 {
02626 return self()->mShowSnippetManager;
02627 }
02628
02632 ItemBool *showSnippetManagerItem()
02633 {
02634 return mShowSnippetManagerItem;
02635 }
02636
02640 static
02641 void setSnippetSplitterPosition( const QValueList<int> & v )
02642 {
02643 if (!self()->isImmutable( QString::fromLatin1( "SnippetSplitterPosition" ) ))
02644 self()->mSnippetSplitterPosition = v;
02645 }
02646
02650 static
02651 QValueList<int> snippetSplitterPosition()
02652 {
02653 return self()->mSnippetSplitterPosition;
02654 }
02655
02659 ItemIntList *snippetSplitterPositionItem()
02660 {
02661 return mSnippetSplitterPositionItem;
02662 }
02663
02667 static
02668 void setShowGnuPGAuditLogAfterSuccessfulSignEncrypt( bool v )
02669 {
02670 if (!self()->isImmutable( QString::fromLatin1( "ShowGnuPGAuditLogAfterSuccessfulSignEncrypt" ) ))
02671 self()->mShowGnuPGAuditLogAfterSuccessfulSignEncrypt = v;
02672 }
02673
02677 static
02678 bool showGnuPGAuditLogAfterSuccessfulSignEncrypt()
02679 {
02680 return self()->mShowGnuPGAuditLogAfterSuccessfulSignEncrypt;
02681 }
02682
02686 ItemBool *showGnuPGAuditLogAfterSuccessfulSignEncryptItem()
02687 {
02688 return mShowGnuPGAuditLogAfterSuccessfulSignEncryptItem;
02689 }
02690
02694 static
02695 void setUseDefaultFonts( bool v )
02696 {
02697 if (!self()->isImmutable( QString::fromLatin1( "UseDefaultFonts" ) ))
02698 self()->mUseDefaultFonts = v;
02699 }
02700
02704 static
02705 bool useDefaultFonts()
02706 {
02707 return self()->mUseDefaultFonts;
02708 }
02709
02713 ItemBool *useDefaultFontsItem()
02714 {
02715 return mUseDefaultFontsItem;
02716 }
02717
02721 static
02722 void setComposerFont( const QFont & v )
02723 {
02724 if (!self()->isImmutable( QString::fromLatin1( "ComposerFont" ) ))
02725 self()->mComposerFont = v;
02726 }
02727
02731 static
02732 QFont composerFont()
02733 {
02734 return self()->mComposerFont;
02735 }
02736
02740 ItemFont *composerFontItem()
02741 {
02742 return mComposerFontItem;
02743 }
02744
02748 static
02749 void setFixedFont( const QFont & v )
02750 {
02751 if (!self()->isImmutable( QString::fromLatin1( "FixedFont" ) ))
02752 self()->mFixedFont = v;
02753 }
02754
02758 static
02759 QFont fixedFont()
02760 {
02761 return self()->mFixedFont;
02762 }
02763
02767 ItemFont *fixedFontItem()
02768 {
02769 return mFixedFontItem;
02770 }
02771
02775 static
02776 void setComposerSize( const QSize & v )
02777 {
02778 if (!self()->isImmutable( QString::fromLatin1( "ComposerSize" ) ))
02779 self()->mComposerSize = v;
02780 }
02781
02785 static
02786 QSize composerSize()
02787 {
02788 return self()->mComposerSize;
02789 }
02790
02794 ItemSize *composerSizeItem()
02795 {
02796 return mComposerSizeItem;
02797 }
02798
02802 static
02803 void setUseDefaultColors( bool v )
02804 {
02805 if (!self()->isImmutable( QString::fromLatin1( "UseDefaultColors" ) ))
02806 self()->mUseDefaultColors = v;
02807 }
02808
02812 static
02813 bool useDefaultColors()
02814 {
02815 return self()->mUseDefaultColors;
02816 }
02817
02821 ItemBool *useDefaultColorsItem()
02822 {
02823 return mUseDefaultColorsItem;
02824 }
02825
02829 static
02830 void setForegroundColor( const QColor & v )
02831 {
02832 if (!self()->isImmutable( QString::fromLatin1( "ForegroundColor" ) ))
02833 self()->mForegroundColor = v;
02834 }
02835
02839 static
02840 QColor foregroundColor()
02841 {
02842 return self()->mForegroundColor;
02843 }
02844
02848 ItemColor *foregroundColorItem()
02849 {
02850 return mForegroundColorItem;
02851 }
02852
02856 static
02857 void setBackgroundColor( const QColor & v )
02858 {
02859 if (!self()->isImmutable( QString::fromLatin1( "BackgroundColor" ) ))
02860 self()->mBackgroundColor = v;
02861 }
02862
02866 static
02867 QColor backgroundColor()
02868 {
02869 return self()->mBackgroundColor;
02870 }
02871
02875 ItemColor *backgroundColorItem()
02876 {
02877 return mBackgroundColorItem;
02878 }
02879
02883 static
02884 void setFallbackCharacterEncoding( const QString & v )
02885 {
02886 if (!self()->isImmutable( QString::fromLatin1( "FallbackCharacterEncoding" ) ))
02887 self()->mFallbackCharacterEncoding = v;
02888 }
02889
02893 static
02894 QString fallbackCharacterEncoding()
02895 {
02896 return self()->mFallbackCharacterEncoding;
02897 }
02898
02902 ItemString *fallbackCharacterEncodingItem()
02903 {
02904 return mFallbackCharacterEncodingItem;
02905 }
02906
02910 static
02911 void setOverrideCharacterEncoding( const QString & v )
02912 {
02913 if (!self()->isImmutable( QString::fromLatin1( "OverrideCharacterEncoding" ) ))
02914 self()->mOverrideCharacterEncoding = v;
02915 }
02916
02920 static
02921 QString overrideCharacterEncoding()
02922 {
02923 return self()->mOverrideCharacterEncoding;
02924 }
02925
02929 ItemString *overrideCharacterEncodingItem()
02930 {
02931 return mOverrideCharacterEncodingItem;
02932 }
02933
02937 static
02938 void setShowEmoticons( bool v )
02939 {
02940 if (!self()->isImmutable( QString::fromLatin1( "ShowEmoticons" ) ))
02941 self()->mShowEmoticons = v;
02942 }
02943
02947 static
02948 bool showEmoticons()
02949 {
02950 return self()->mShowEmoticons;
02951 }
02952
02956 ItemBool *showEmoticonsItem()
02957 {
02958 return mShowEmoticonsItem;
02959 }
02960
02964 static
02965 void setShowExpandQuotesMark( bool v )
02966 {
02967 if (!self()->isImmutable( QString::fromLatin1( "ShowExpandQuotesMark" ) ))
02968 self()->mShowExpandQuotesMark = v;
02969 }
02970
02974 static
02975 bool showExpandQuotesMark()
02976 {
02977 return self()->mShowExpandQuotesMark;
02978 }
02979
02983 ItemBool *showExpandQuotesMarkItem()
02984 {
02985 return mShowExpandQuotesMarkItem;
02986 }
02987
02991 static
02992 void setCollapseQuoteLevelSpin( int v )
02993 {
02994 if (v < 0)
02995 {
02996 kdDebug() << "setCollapseQuoteLevelSpin: value " << v << " is less than the minimum value of 0" << endl;
02997 v = 0;
02998 }
02999
03000 if (v > 10)
03001 {
03002 kdDebug() << "setCollapseQuoteLevelSpin: value " << v << " is greater than the maximum value of 10" << endl;
03003 v = 10;
03004 }
03005
03006 if (!self()->isImmutable( QString::fromLatin1( "CollapseQuoteLevelSpin" ) ))
03007 self()->mCollapseQuoteLevelSpin = v;
03008 }
03009
03013 static
03014 int collapseQuoteLevelSpin()
03015 {
03016 return self()->mCollapseQuoteLevelSpin;
03017 }
03018
03022 ItemInt *collapseQuoteLevelSpinItem()
03023 {
03024 return mCollapseQuoteLevelSpinItem;
03025 }
03026
03030 static
03031 void setShrinkQuotes( bool v )
03032 {
03033 if (!self()->isImmutable( QString::fromLatin1( "ShrinkQuotes" ) ))
03034 self()->mShrinkQuotes = v;
03035 }
03036
03040 static
03041 bool shrinkQuotes()
03042 {
03043 return self()->mShrinkQuotes;
03044 }
03045
03049 ItemBool *shrinkQuotesItem()
03050 {
03051 return mShrinkQuotesItem;
03052 }
03053
03057 static
03058 void setChiasmusDecryptionKey( const QString & v )
03059 {
03060 if (!self()->isImmutable( QString::fromLatin1( "ChiasmusDecryptionKey" ) ))
03061 self()->mChiasmusDecryptionKey = v;
03062 }
03063
03067 static
03068 QString chiasmusDecryptionKey()
03069 {
03070 return self()->mChiasmusDecryptionKey;
03071 }
03072
03076 ItemString *chiasmusDecryptionKeyItem()
03077 {
03078 return mChiasmusDecryptionKeyItem;
03079 }
03080
03084 static
03085 void setChiasmusDecryptionOptions( const QString & v )
03086 {
03087 if (!self()->isImmutable( QString::fromLatin1( "ChiasmusDecryptionOptions" ) ))
03088 self()->mChiasmusDecryptionOptions = v;
03089 }
03090
03094 static
03095 QString chiasmusDecryptionOptions()
03096 {
03097 return self()->mChiasmusDecryptionOptions;
03098 }
03099
03103 ItemString *chiasmusDecryptionOptionsItem()
03104 {
03105 return mChiasmusDecryptionOptionsItem;
03106 }
03107
03111 static
03112 void setShowUserAgent( bool v )
03113 {
03114 if (!self()->isImmutable( QString::fromLatin1( "ShowUserAgent" ) ))
03115 self()->mShowUserAgent = v;
03116 }
03117
03121 static
03122 bool showUserAgent()
03123 {
03124 return self()->mShowUserAgent;
03125 }
03126
03130 ItemBool *showUserAgentItem()
03131 {
03132 return mShowUserAgentItem;
03133 }
03134
03138 static
03139 void setAllowAttachmentDeletion( bool v )
03140 {
03141 if (!self()->isImmutable( QString::fromLatin1( "AllowAttachmentDeletion" ) ))
03142 self()->mAllowAttachmentDeletion = v;
03143 }
03144
03148 static
03149 bool allowAttachmentDeletion()
03150 {
03151 return self()->mAllowAttachmentDeletion;
03152 }
03153
03157 ItemBool *allowAttachmentDeletionItem()
03158 {
03159 return mAllowAttachmentDeletionItem;
03160 }
03161
03165 static
03166 void setAllowAttachmentEditing( bool v )
03167 {
03168 if (!self()->isImmutable( QString::fromLatin1( "AllowAttachmentEditing" ) ))
03169 self()->mAllowAttachmentEditing = v;
03170 }
03171
03175 static
03176 bool allowAttachmentEditing()
03177 {
03178 return self()->mAllowAttachmentEditing;
03179 }
03180
03184 ItemBool *allowAttachmentEditingItem()
03185 {
03186 return mAllowAttachmentEditingItem;
03187 }
03188
03192 static
03193 void setAlwaysDecrypt( bool v )
03194 {
03195 if (!self()->isImmutable( QString::fromLatin1( "AlwaysDecrypt" ) ))
03196 self()->mAlwaysDecrypt = v;
03197 }
03198
03202 static
03203 bool alwaysDecrypt()
03204 {
03205 return self()->mAlwaysDecrypt;
03206 }
03207
03211 ItemBool *alwaysDecryptItem()
03212 {
03213 return mAlwaysDecryptItem;
03214 }
03215
03219 static
03220 void setAutomaticDecrypt( bool v )
03221 {
03222 if (!self()->isImmutable( QString::fromLatin1( "automaticDecrypt" ) ))
03223 self()->mAutomaticDecrypt = v;
03224 }
03225
03229 static
03230 bool automaticDecrypt()
03231 {
03232 return self()->mAutomaticDecrypt;
03233 }
03234
03238 ItemBool *automaticDecryptItem()
03239 {
03240 return mAutomaticDecryptItem;
03241 }
03242
03246 static
03247 void setSendMDNsWithEmptySender( bool v )
03248 {
03249 if (!self()->isImmutable( QString::fromLatin1( "SendMDNsWithEmptySender" ) ))
03250 self()->mSendMDNsWithEmptySender = v;
03251 }
03252
03256 static
03257 bool sendMDNsWithEmptySender()
03258 {
03259 return self()->mSendMDNsWithEmptySender;
03260 }
03261
03265 ItemBool *sendMDNsWithEmptySenderItem()
03266 {
03267 return mSendMDNsWithEmptySenderItem;
03268 }
03269
03273 static
03274 void setPhrasesConverted( bool v )
03275 {
03276 if (!self()->isImmutable( QString::fromLatin1( "PhrasesConverted" ) ))
03277 self()->mPhrasesConverted = v;
03278 }
03279
03283 static
03284 bool phrasesConverted()
03285 {
03286 return self()->mPhrasesConverted;
03287 }
03288
03292 ItemBool *phrasesConvertedItem()
03293 {
03294 return mPhrasesConvertedItem;
03295 }
03296
03300 static
03301 void setTemplateNewMessage( const QString & v )
03302 {
03303 if (!self()->isImmutable( QString::fromLatin1( "TemplateNewMessage" ) ))
03304 self()->mTemplateNewMessage = v;
03305 }
03306
03310 static
03311 QString templateNewMessage()
03312 {
03313 return self()->mTemplateNewMessage;
03314 }
03315
03319 ItemString *templateNewMessageItem()
03320 {
03321 return mTemplateNewMessageItem;
03322 }
03323
03327 static
03328 void setTemplateReply( const QString & v )
03329 {
03330 if (!self()->isImmutable( QString::fromLatin1( "TemplateReply" ) ))
03331 self()->mTemplateReply = v;
03332 }
03333
03337 static
03338 QString templateReply()
03339 {
03340 return self()->mTemplateReply;
03341 }
03342
03346 ItemString *templateReplyItem()
03347 {
03348 return mTemplateReplyItem;
03349 }
03350
03354 static
03355 void setTemplateReplyAll( const QString & v )
03356 {
03357 if (!self()->isImmutable( QString::fromLatin1( "TemplateReplyAll" ) ))
03358 self()->mTemplateReplyAll = v;
03359 }
03360
03364 static
03365 QString templateReplyAll()
03366 {
03367 return self()->mTemplateReplyAll;
03368 }
03369
03373 ItemString *templateReplyAllItem()
03374 {
03375 return mTemplateReplyAllItem;
03376 }
03377
03381 static
03382 void setTemplateForward( const QString & v )
03383 {
03384 if (!self()->isImmutable( QString::fromLatin1( "TemplateForward" ) ))
03385 self()->mTemplateForward = v;
03386 }
03387
03391 static
03392 QString templateForward()
03393 {
03394 return self()->mTemplateForward;
03395 }
03396
03400 ItemString *templateForwardItem()
03401 {
03402 return mTemplateForwardItem;
03403 }
03404
03408 static
03409 void setQuoteString( const QString & v )
03410 {
03411 if (!self()->isImmutable( QString::fromLatin1( "QuoteString" ) ))
03412 self()->mQuoteString = v;
03413 }
03414
03418 static
03419 QString quoteString()
03420 {
03421 return self()->mQuoteString;
03422 }
03423
03427 ItemString *quoteStringItem()
03428 {
03429 return mQuoteStringItem;
03430 }
03431
03435 static
03436 void setAllowOutOfOfficeSettings( bool v )
03437 {
03438 if (!self()->isImmutable( QString::fromLatin1( "AllowOutOfOfficeSettings" ) ))
03439 self()->mAllowOutOfOfficeSettings = v;
03440 }
03441
03445 static
03446 bool allowOutOfOfficeSettings()
03447 {
03448 return self()->mAllowOutOfOfficeSettings;
03449 }
03450
03454 ItemBool *allowOutOfOfficeSettingsItem()
03455 {
03456 return mAllowOutOfOfficeSettingsItem;
03457 }
03458
03462 static
03463 void setAllowOutOfOfficeUploadButNoSettings( bool v )
03464 {
03465 if (!self()->isImmutable( QString::fromLatin1( "AllowOutOfOfficeUploadButNoSettings" ) ))
03466 self()->mAllowOutOfOfficeUploadButNoSettings = v;
03467 }
03468
03472 static
03473 bool allowOutOfOfficeUploadButNoSettings()
03474 {
03475 return self()->mAllowOutOfOfficeUploadButNoSettings;
03476 }
03477
03481 ItemBool *allowOutOfOfficeUploadButNoSettingsItem()
03482 {
03483 return mAllowOutOfOfficeUploadButNoSettingsItem;
03484 }
03485
03489 static
03490 void setOutOfOfficeDomain( const QString & v )
03491 {
03492 if (!self()->isImmutable( QString::fromLatin1( "OutOfOfficeDomain" ) ))
03493 self()->mOutOfOfficeDomain = v;
03494 }
03495
03499 static
03500 QString outOfOfficeDomain()
03501 {
03502 return self()->mOutOfOfficeDomain;
03503 }
03504
03508 ItemString *outOfOfficeDomainItem()
03509 {
03510 return mOutOfOfficeDomainItem;
03511 }
03512
03516 static
03517 void setOutOfOfficeReactToSpam( bool v )
03518 {
03519 if (!self()->isImmutable( QString::fromLatin1( "OutOfOfficeReactToSpam" ) ))
03520 self()->mOutOfOfficeReactToSpam = v;
03521 }
03522
03526 static
03527 bool outOfOfficeReactToSpam()
03528 {
03529 return self()->mOutOfOfficeReactToSpam;
03530 }
03531
03535 ItemBool *outOfOfficeReactToSpamItem()
03536 {
03537 return mOutOfOfficeReactToSpamItem;
03538 }
03539
03543 static
03544 void setCheckOutOfOfficeOnStartup( bool v )
03545 {
03546 if (!self()->isImmutable( QString::fromLatin1( "CheckOutOfOfficeOnStartup" ) ))
03547 self()->mCheckOutOfOfficeOnStartup = v;
03548 }
03549
03553 static
03554 bool checkOutOfOfficeOnStartup()
03555 {
03556 return self()->mCheckOutOfOfficeOnStartup;
03557 }
03558
03562 ItemBool *checkOutOfOfficeOnStartupItem()
03563 {
03564 return mCheckOutOfOfficeOnStartupItem;
03565 }
03566
03570 static
03571 void setEnableFavoriteFolderView( bool v )
03572 {
03573 if (!self()->isImmutable( QString::fromLatin1( "EnableFavoriteFolderView" ) ))
03574 self()->mEnableFavoriteFolderView = v;
03575 }
03576
03580 static
03581 bool enableFavoriteFolderView()
03582 {
03583 return self()->mEnableFavoriteFolderView;
03584 }
03585
03589 ItemBool *enableFavoriteFolderViewItem()
03590 {
03591 return mEnableFavoriteFolderViewItem;
03592 }
03593
03597 static
03598 void setFolderViewSplitterPosition( const QValueList<int> & v )
03599 {
03600 if (!self()->isImmutable( QString::fromLatin1( "FolderViewSplitterPosition" ) ))
03601 self()->mFolderViewSplitterPosition = v;
03602 }
03603
03607 static
03608 QValueList<int> folderViewSplitterPosition()
03609 {
03610 return self()->mFolderViewSplitterPosition;
03611 }
03612
03616 ItemIntList *folderViewSplitterPositionItem()
03617 {
03618 return mFolderViewSplitterPositionItem;
03619 }
03620
03624 static
03625 void setFavoriteFolderIds( const QValueList<int> & v )
03626 {
03627 if (!self()->isImmutable( QString::fromLatin1( "FavoriteFolderIds" ) ))
03628 self()->mFavoriteFolderIds = v;
03629 }
03630
03634 static
03635 QValueList<int> favoriteFolderIds()
03636 {
03637 return self()->mFavoriteFolderIds;
03638 }
03639
03643 ItemIntList *favoriteFolderIdsItem()
03644 {
03645 return mFavoriteFolderIdsItem;
03646 }
03647
03651 static
03652 void setFavoriteFolderNames( const QStringList & v )
03653 {
03654 if (!self()->isImmutable( QString::fromLatin1( "FavoriteFolderNames" ) ))
03655 self()->mFavoriteFolderNames = v;
03656 }
03657
03661 static
03662 QStringList favoriteFolderNames()
03663 {
03664 return self()->mFavoriteFolderNames;
03665 }
03666
03670 ItemStringList *favoriteFolderNamesItem()
03671 {
03672 return mFavoriteFolderNamesItem;
03673 }
03674
03678 static
03679 void setFavoriteFolderViewSeenInboxes( const QValueList<int> & v )
03680 {
03681 if (!self()->isImmutable( QString::fromLatin1( "FavoriteFolderViewSeenInboxes" ) ))
03682 self()->mFavoriteFolderViewSeenInboxes = v;
03683 }
03684
03688 static
03689 QValueList<int> favoriteFolderViewSeenInboxes()
03690 {
03691 return self()->mFavoriteFolderViewSeenInboxes;
03692 }
03693
03697 ItemIntList *favoriteFolderViewSeenInboxesItem()
03698 {
03699 return mFavoriteFolderViewSeenInboxesItem;
03700 }
03701
03702 static
03703 void writeConfig()
03704 {
03705 static_cast<KConfigSkeleton*>(self())->writeConfig();
03706 }
03707 protected:
03708 GlobalSettingsBase();
03709 static GlobalSettingsBase *mSelf;
03710
03711
03712
03713 bool mDelayedMarkAsRead;
03714 uint mDelayedMarkTime;
03715 int mActionEnterFolder;
03716 int mNetworkState;
03717 int mLoopOnGotoUnread;
03718 bool mShowPopupAfterDnD;
03719 bool mExcludeImportantMailFromExpiry;
03720 int mSendOnCheck;
03721 bool mAutoLostFoundMove;
03722 bool mAllowLocalFlags;
03723
03724
03725 int mMinimumCheckInterval;
03726
03727
03728 QString mLastSelectedFolder;
03729
03730
03731 bool mDisregardUmask;
03732 bool mSystemTrayEnabled;
03733 int mSystemTrayPolicy;
03734 bool mCloseDespiteSystemTray;
03735 bool mVerboseNewMailNotification;
03736 QString mExternalEditor;
03737 bool mUseExternalEditor;
03738 int mCustHeaderCount;
03739 int mReplyCurrentLanguage;
03740 int mReplyLanguagesCount;
03741 int mFolderLoadingTimeout;
03742 int mQuotaUnit;
03743 int mCloseToQuotaThreshold;
03744
03745
03746 bool mGroupwareEnabled;
03747 bool mLegacyMangleFromToHeaders;
03748 bool mLegacyBodyInvites;
03749 bool mExchangeCompatibleInvitations;
03750 bool mAutomaticSending;
03751 int mAskForCommentWhenReactingToInvitation;
03752 bool mDeleteInvitationEmailsAfterSendingReply;
03753
03754
03755 bool mTheIMAPResourceEnabled;
03756 bool mHideGroupwareFolders;
03757 bool mShowOnlyGroupwareFoldersForGroupwareAccount;
03758 int mTheIMAPResourceStorageFormat;
03759 QString mTheIMAPResourceFolderParent;
03760 int mTheIMAPResourceAccount;
03761 int mTheIMAPResourceFolderLanguage;
03762 bool mFilterGroupwareFolders;
03763 QValueList<int> mFilterSourceFolders;
03764 bool mImmediatlySyncDIMAPOnGroupwareChanges;
03765
03766
03767 int mMsgDictSizeHint;
03768 QString mPreviousNewFeaturesMD5;
03769
03770
03771 int mMaxConnectionsPerHost;
03772
03773
03774 bool mQuickSearchActive;
03775 bool mHideLocalInbox;
03776
03777
03778 bool mForwardingInlineByDefault;
03779 bool mAllowSemicolonAsAddressSeparator;
03780 bool mForceReplyCharset;
03781 QString mAutoTextSignature;
03782 bool mStickyIdentity;
03783 bool mStickyFcc;
03784 bool mStickyTransport;
03785 bool mWordWrap;
03786 bool mUseFixedFont;
03787 int mLineWrapWidth;
03788 uint mPreviousIdentity;
03789 QString mPreviousFcc;
03790 QStringList mTransportHistory;
03791 QString mCurrentTransport;
03792 QString mDefaultTransport;
03793 int mMaxTransportEntries;
03794 bool mOutlookCompatibleAttachments;
03795 bool mUseHtmlMarkup;
03796 bool mPgpAutoSign;
03797 bool mPgpAutoEncrypt;
03798 bool mNeverEncryptDrafts;
03799 QString mChiasmusKey;
03800 QString mChiasmusOptions;
03801 bool mConfirmBeforeSend;
03802 bool mRequestMDN;
03803 bool mShowRecentAddressesInComposer;
03804 int mHeaders;
03805 int mCompletionMode;
03806 bool mAutoSpellChecking;
03807 bool mShowForgottenAttachmentWarning;
03808 QStringList mAttachmentKeywords;
03809 bool mShowMessagePartDialogOnAttach;
03810 int mAutosaveInterval;
03811 bool mPrependSignature;
03812 QStringList mReplyPrefixes;
03813 bool mReplaceReplyPrefix;
03814 QStringList mForwardPrefixes;
03815 bool mReplaceForwardPrefix;
03816 bool mSmartQuote;
03817 int mAddresseeSelectorType;
03818 int mRecipientsEditorType;
03819 int mSecondRecipientTypeDefault;
03820 int mMaximumRecipients;
03821 QStringList mCustomTemplates;
03822 QStringList mMimetypesToStripWhenInlineForwarding;
03823 int mMaximumAttachmentSize;
03824 bool mShowSnippetManager;
03825 QValueList<int> mSnippetSplitterPosition;
03826 bool mShowGnuPGAuditLogAfterSuccessfulSignEncrypt;
03827
03828
03829 bool mUseDefaultFonts;
03830 QFont mComposerFont;
03831 QFont mFixedFont;
03832
03833
03834 QSize mComposerSize;
03835
03836
03837 bool mUseDefaultColors;
03838 QColor mForegroundColor;
03839 QColor mBackgroundColor;
03840 QString mFallbackCharacterEncoding;
03841 QString mOverrideCharacterEncoding;
03842 bool mShowEmoticons;
03843 bool mShowExpandQuotesMark;
03844 int mCollapseQuoteLevelSpin;
03845 bool mShrinkQuotes;
03846 QString mChiasmusDecryptionKey;
03847 QString mChiasmusDecryptionOptions;
03848 bool mShowUserAgent;
03849 bool mAllowAttachmentDeletion;
03850 bool mAllowAttachmentEditing;
03851 bool mAlwaysDecrypt;
03852
03853
03854 bool mAutomaticDecrypt;
03855
03856
03857 bool mSendMDNsWithEmptySender;
03858
03859
03860 bool mPhrasesConverted;
03861 QString mTemplateNewMessage;
03862 QString mTemplateReply;
03863 QString mTemplateReplyAll;
03864 QString mTemplateForward;
03865 QString mQuoteString;
03866
03867
03868 bool mAllowOutOfOfficeSettings;
03869 bool mAllowOutOfOfficeUploadButNoSettings;
03870 QString mOutOfOfficeDomain;
03871 bool mOutOfOfficeReactToSpam;
03872 bool mCheckOutOfOfficeOnStartup;
03873
03874
03875 bool mEnableFavoriteFolderView;
03876 QValueList<int> mFolderViewSplitterPosition;
03877 QValueList<int> mFavoriteFolderIds;
03878 QStringList mFavoriteFolderNames;
03879 QValueList<int> mFavoriteFolderViewSeenInboxes;
03880
03881 private:
03882 ItemBool *mDelayedMarkAsReadItem;
03883 ItemUInt *mDelayedMarkTimeItem;
03884 ItemEnum *mActionEnterFolderItem;
03885 ItemEnum *mNetworkStateItem;
03886 ItemEnum *mLoopOnGotoUnreadItem;
03887 ItemBool *mShowPopupAfterDnDItem;
03888 ItemBool *mExcludeImportantMailFromExpiryItem;
03889 ItemEnum *mSendOnCheckItem;
03890 ItemBool *mAutoLostFoundMoveItem;
03891 ItemBool *mAllowLocalFlagsItem;
03892 ItemInt *mMinimumCheckIntervalItem;
03893 ItemString *mLastSelectedFolderItem;
03894 ItemBool *mDisregardUmaskItem;
03895 ItemBool *mSystemTrayEnabledItem;
03896 ItemEnum *mSystemTrayPolicyItem;
03897 ItemBool *mCloseDespiteSystemTrayItem;
03898 ItemBool *mVerboseNewMailNotificationItem;
03899 ItemString *mExternalEditorItem;
03900 ItemBool *mUseExternalEditorItem;
03901 ItemInt *mCustHeaderCountItem;
03902 ItemInt *mReplyCurrentLanguageItem;
03903 ItemInt *mReplyLanguagesCountItem;
03904 ItemInt *mFolderLoadingTimeoutItem;
03905 ItemEnum *mQuotaUnitItem;
03906 ItemInt *mCloseToQuotaThresholdItem;
03907 ItemBool *mGroupwareEnabledItem;
03908 ItemBool *mLegacyMangleFromToHeadersItem;
03909 ItemBool *mLegacyBodyInvitesItem;
03910 ItemBool *mExchangeCompatibleInvitationsItem;
03911 ItemBool *mAutomaticSendingItem;
03912 ItemEnum *mAskForCommentWhenReactingToInvitationItem;
03913 ItemBool *mDeleteInvitationEmailsAfterSendingReplyItem;
03914 ItemBool *mTheIMAPResourceEnabledItem;
03915 ItemBool *mHideGroupwareFoldersItem;
03916 ItemBool *mShowOnlyGroupwareFoldersForGroupwareAccountItem;
03917 ItemEnum *mTheIMAPResourceStorageFormatItem;
03918 ItemString *mTheIMAPResourceFolderParentItem;
03919 ItemInt *mTheIMAPResourceAccountItem;
03920 ItemInt *mTheIMAPResourceFolderLanguageItem;
03921 ItemBool *mFilterGroupwareFoldersItem;
03922 ItemIntList *mFilterSourceFoldersItem;
03923 ItemBool *mImmediatlySyncDIMAPOnGroupwareChangesItem;
03924 ItemInt *mMsgDictSizeHintItem;
03925 ItemString *mPreviousNewFeaturesMD5Item;
03926 ItemInt *mMaxConnectionsPerHostItem;
03927 ItemBool *mQuickSearchActiveItem;
03928 ItemBool *mHideLocalInboxItem;
03929 ItemBool *mForwardingInlineByDefaultItem;
03930 ItemBool *mAllowSemicolonAsAddressSeparatorItem;
03931 ItemBool *mForceReplyCharsetItem;
03932 ItemString *mAutoTextSignatureItem;
03933 ItemBool *mStickyIdentityItem;
03934 ItemBool *mStickyFccItem;
03935 ItemBool *mStickyTransportItem;
03936 ItemBool *mWordWrapItem;
03937 ItemBool *mUseFixedFontItem;
03938 ItemInt *mLineWrapWidthItem;
03939 ItemUInt *mPreviousIdentityItem;
03940 ItemString *mPreviousFccItem;
03941 ItemStringList *mTransportHistoryItem;
03942 ItemString *mCurrentTransportItem;
03943 ItemString *mDefaultTransportItem;
03944 ItemInt *mMaxTransportEntriesItem;
03945 ItemBool *mOutlookCompatibleAttachmentsItem;
03946 ItemBool *mUseHtmlMarkupItem;
03947 ItemBool *mPgpAutoSignItem;
03948 ItemBool *mPgpAutoEncryptItem;
03949 ItemBool *mNeverEncryptDraftsItem;
03950 ItemString *mChiasmusKeyItem;
03951 ItemString *mChiasmusOptionsItem;
03952 ItemBool *mConfirmBeforeSendItem;
03953 ItemBool *mRequestMDNItem;
03954 ItemBool *mShowRecentAddressesInComposerItem;
03955 ItemInt *mHeadersItem;
03956 ItemInt *mCompletionModeItem;
03957 ItemBool *mAutoSpellCheckingItem;
03958 ItemBool *mShowForgottenAttachmentWarningItem;
03959 ItemStringList *mAttachmentKeywordsItem;
03960 ItemBool *mShowMessagePartDialogOnAttachItem;
03961 ItemInt *mAutosaveIntervalItem;
03962 ItemBool *mPrependSignatureItem;
03963 ItemStringList *mReplyPrefixesItem;
03964 ItemBool *mReplaceReplyPrefixItem;
03965 ItemStringList *mForwardPrefixesItem;
03966 ItemBool *mReplaceForwardPrefixItem;
03967 ItemBool *mSmartQuoteItem;
03968 ItemEnum *mAddresseeSelectorTypeItem;
03969 ItemEnum *mRecipientsEditorTypeItem;
03970 ItemEnum *mSecondRecipientTypeDefaultItem;
03971 ItemInt *mMaximumRecipientsItem;
03972 ItemStringList *mCustomTemplatesItem;
03973 ItemStringList *mMimetypesToStripWhenInlineForwardingItem;
03974 ItemInt *mMaximumAttachmentSizeItem;
03975 ItemBool *mShowSnippetManagerItem;
03976 ItemIntList *mSnippetSplitterPositionItem;
03977 ItemBool *mShowGnuPGAuditLogAfterSuccessfulSignEncryptItem;
03978 ItemBool *mUseDefaultFontsItem;
03979 ItemFont *mComposerFontItem;
03980 ItemFont *mFixedFontItem;
03981 ItemSize *mComposerSizeItem;
03982 ItemBool *mUseDefaultColorsItem;
03983 ItemColor *mForegroundColorItem;
03984 ItemColor *mBackgroundColorItem;
03985 ItemString *mFallbackCharacterEncodingItem;
03986 ItemString *mOverrideCharacterEncodingItem;
03987 ItemBool *mShowEmoticonsItem;
03988 ItemBool *mShowExpandQuotesMarkItem;
03989 ItemInt *mCollapseQuoteLevelSpinItem;
03990 ItemBool *mShrinkQuotesItem;
03991 ItemString *mChiasmusDecryptionKeyItem;
03992 ItemString *mChiasmusDecryptionOptionsItem;
03993 ItemBool *mShowUserAgentItem;
03994 ItemBool *mAllowAttachmentDeletionItem;
03995 ItemBool *mAllowAttachmentEditingItem;
03996 ItemBool *mAlwaysDecryptItem;
03997 ItemBool *mAutomaticDecryptItem;
03998 ItemBool *mSendMDNsWithEmptySenderItem;
03999 ItemBool *mPhrasesConvertedItem;
04000 ItemString *mTemplateNewMessageItem;
04001 ItemString *mTemplateReplyItem;
04002 ItemString *mTemplateReplyAllItem;
04003 ItemString *mTemplateForwardItem;
04004 ItemString *mQuoteStringItem;
04005 ItemBool *mAllowOutOfOfficeSettingsItem;
04006 ItemBool *mAllowOutOfOfficeUploadButNoSettingsItem;
04007 ItemString *mOutOfOfficeDomainItem;
04008 ItemBool *mOutOfOfficeReactToSpamItem;
04009 ItemBool *mCheckOutOfOfficeOnStartupItem;
04010 ItemBool *mEnableFavoriteFolderViewItem;
04011 ItemIntList *mFolderViewSplitterPositionItem;
04012 ItemIntList *mFavoriteFolderIdsItem;
04013 ItemStringList *mFavoriteFolderNamesItem;
04014 ItemIntList *mFavoriteFolderViewSeenInboxesItem;
04015 };
04016
04017 #endif
04018
|