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 #include <objecttreeparser.h>
00010
00011 #include <kconfigskeleton.h>
00012 #include <kdebug.h>
00013
00014 #include <qtextcodec.h>
00015 #include <kapplication.h>
00016 class GlobalSettingsBase : public KConfigSkeleton
00017 {
00018 public:
00019 class EnumActionEnterFolder
00020 {
00021 public:
00022 enum type { SelectFirstNew, SelectFirstUnreadNew, SelectLastSelected, SelectNewest, SelectOldest, COUNT };
00023 };
00024 class EnumNetworkState
00025 {
00026 public:
00027 enum type { Online, Offline, COUNT };
00028 };
00029 class EnumLoopOnGotoUnread
00030 {
00031 public:
00032 enum type { DontLoop, LoopInCurrentFolder, LoopInAllFolders, COUNT };
00033 };
00034 class EnumSendOnCheck
00035 {
00036 public:
00037 enum type { DontSendOnCheck, SendOnManualChecks, SendOnAllChecks, COUNT };
00038 };
00039 class EnumSystemTrayPolicy
00040 {
00041 public:
00042 enum type { ShowAlways, ShowOnUnread, COUNT };
00043 };
00044 class EnumQuotaUnit
00045 {
00046 public:
00047 enum type { KB, MB, GB, COUNT };
00048 };
00049 class EnumAskForCommentWhenReactingToInvitation
00050 {
00051 public:
00052 enum type { NeverAsk, AskForAllButAcceptance, AlwaysAsk, COUNT };
00053 };
00054 class EnumTheIMAPResourceStorageFormat
00055 {
00056 public:
00057 enum type { IcalVcard, XML, COUNT };
00058 };
00059 class EnumAddresseeSelectorType
00060 {
00061 public:
00062 enum type { New, Old, COUNT };
00063 };
00064 class EnumRecipientsEditorType
00065 {
00066 public:
00067 enum type { Classic, MultiLine, COUNT };
00068 };
00069 class EnumSecondRecipientTypeDefault
00070 {
00071 public:
00072 enum type { To, Cc, COUNT };
00073 };
00074
00075 static GlobalSettingsBase *self();
00076 ~GlobalSettingsBase();
00077
00081 static
00082 void setDelayedMarkAsRead( bool v )
00083 {
00084 if (!self()->isImmutable( QString::fromLatin1( "DelayedMarkAsRead" ) ))
00085 self()->mDelayedMarkAsRead = v;
00086 }
00087
00091 static
00092 bool delayedMarkAsRead()
00093 {
00094 return self()->mDelayedMarkAsRead;
00095 }
00096
00100 ItemBool *delayedMarkAsReadItem()
00101 {
00102 return mDelayedMarkAsReadItem;
00103 }
00104
00108 static
00109 void setDelayedMarkTime( uint v )
00110 {
00111 if (!self()->isImmutable( QString::fromLatin1( "DelayedMarkTime" ) ))
00112 self()->mDelayedMarkTime = v;
00113 }
00114
00118 static
00119 uint delayedMarkTime()
00120 {
00121 return self()->mDelayedMarkTime;
00122 }
00123
00127 ItemUInt *delayedMarkTimeItem()
00128 {
00129 return mDelayedMarkTimeItem;
00130 }
00131
00135 static
00136 void setActionEnterFolder( int v )
00137 {
00138 if (!self()->isImmutable( QString::fromLatin1( "ActionEnterFolder" ) ))
00139 self()->mActionEnterFolder = v;
00140 }
00141
00145 static
00146 int actionEnterFolder()
00147 {
00148 return self()->mActionEnterFolder;
00149 }
00150
00154 ItemEnum *actionEnterFolderItem()
00155 {
00156 return mActionEnterFolderItem;
00157 }
00158
00162 static
00163 void setNetworkState( int v )
00164 {
00165 if (!self()->isImmutable( QString::fromLatin1( "NetworkState" ) ))
00166 self()->mNetworkState = v;
00167 }
00168
00172 static
00173 int networkState()
00174 {
00175 return self()->mNetworkState;
00176 }
00177
00181 ItemEnum *networkStateItem()
00182 {
00183 return mNetworkStateItem;
00184 }
00185
00189 static
00190 void setLoopOnGotoUnread( int v )
00191 {
00192 if (!self()->isImmutable( QString::fromLatin1( "LoopOnGotoUnread" ) ))
00193 self()->mLoopOnGotoUnread = v;
00194 }
00195
00199 static
00200 int loopOnGotoUnread()
00201 {
00202 return self()->mLoopOnGotoUnread;
00203 }
00204
00208 ItemEnum *loopOnGotoUnreadItem()
00209 {
00210 return mLoopOnGotoUnreadItem;
00211 }
00212
00216 static
00217 void setShowPopupAfterDnD( bool v )
00218 {
00219 if (!self()->isImmutable( QString::fromLatin1( "ShowPopupAfterDnD" ) ))
00220 self()->mShowPopupAfterDnD = v;
00221 }
00222
00226 static
00227 bool showPopupAfterDnD()
00228 {
00229 return self()->mShowPopupAfterDnD;
00230 }
00231
00235 ItemBool *showPopupAfterDnDItem()
00236 {
00237 return mShowPopupAfterDnDItem;
00238 }
00239
00243 static
00244 void setExcludeImportantMailFromExpiry( bool v )
00245 {
00246 if (!self()->isImmutable( QString::fromLatin1( "ExcludeImportantMailFromExpiry" ) ))
00247 self()->mExcludeImportantMailFromExpiry = v;
00248 }
00249
00253 static
00254 bool excludeImportantMailFromExpiry()
00255 {
00256 return self()->mExcludeImportantMailFromExpiry;
00257 }
00258
00262 ItemBool *excludeImportantMailFromExpiryItem()
00263 {
00264 return mExcludeImportantMailFromExpiryItem;
00265 }
00266
00270 static
00271 void setSendOnCheck( int v )
00272 {
00273 if (!self()->isImmutable( QString::fromLatin1( "SendOnCheck" ) ))
00274 self()->mSendOnCheck = v;
00275 }
00276
00280 static
00281 int sendOnCheck()
00282 {
00283 return self()->mSendOnCheck;
00284 }
00285
00289 ItemEnum *sendOnCheckItem()
00290 {
00291 return mSendOnCheckItem;
00292 }
00293
00297 static
00298 void setAutoLostFoundMove( bool v )
00299 {
00300 if (!self()->isImmutable( QString::fromLatin1( "AutoLostFoundMove" ) ))
00301 self()->mAutoLostFoundMove = v;
00302 }
00303
00307 static
00308 bool autoLostFoundMove()
00309 {
00310 return self()->mAutoLostFoundMove;
00311 }
00312
00316 ItemBool *autoLostFoundMoveItem()
00317 {
00318 return mAutoLostFoundMoveItem;
00319 }
00320
00324 static
00325 void setAllowLocalFlags( bool v )
00326 {
00327 if (!self()->isImmutable( QString::fromLatin1( "AllowLocalFlags" ) ))
00328 self()->mAllowLocalFlags = v;
00329 }
00330
00334 static
00335 bool allowLocalFlags()
00336 {
00337 return self()->mAllowLocalFlags;
00338 }
00339
00343 ItemBool *allowLocalFlagsItem()
00344 {
00345 return mAllowLocalFlagsItem;
00346 }
00347
00351 static
00352 void setMinimumCheckInterval( int v )
00353 {
00354 if (!self()->isImmutable( QString::fromLatin1( "MinimumCheckInterval" ) ))
00355 self()->mMinimumCheckInterval = v;
00356 }
00357
00361 static
00362 int minimumCheckInterval()
00363 {
00364 return self()->mMinimumCheckInterval;
00365 }
00366
00370 ItemInt *minimumCheckIntervalItem()
00371 {
00372 return mMinimumCheckIntervalItem;
00373 }
00374
00378 static
00379 void setLastSelectedFolder( const QString & v )
00380 {
00381 if (!self()->isImmutable( QString::fromLatin1( "LastSelectedFolder" ) ))
00382 self()->mLastSelectedFolder = v;
00383 }
00384
00388 static
00389 QString lastSelectedFolder()
00390 {
00391 return self()->mLastSelectedFolder;
00392 }
00393
00397 ItemString *lastSelectedFolderItem()
00398 {
00399 return mLastSelectedFolderItem;
00400 }
00401
00405 static
00406 void setDisregardUmask( bool v )
00407 {
00408 if (!self()->isImmutable( QString::fromLatin1( "disregardUmask" ) ))
00409 self()->mDisregardUmask = v;
00410 }
00411
00415 static
00416 bool disregardUmask()
00417 {
00418 return self()->mDisregardUmask;
00419 }
00420
00424 ItemBool *disregardUmaskItem()
00425 {
00426 return mDisregardUmaskItem;
00427 }
00428
00432 static
00433 void setSystemTrayEnabled( bool v )
00434 {
00435 if (!self()->isImmutable( QString::fromLatin1( "SystemTrayEnabled" ) ))
00436 self()->mSystemTrayEnabled = v;
00437 }
00438
00442 static
00443 bool systemTrayEnabled()
00444 {
00445 return self()->mSystemTrayEnabled;
00446 }
00447
00451 ItemBool *systemTrayEnabledItem()
00452 {
00453 return mSystemTrayEnabledItem;
00454 }
00455
00459 static
00460 void setSystemTrayPolicy( int v )
00461 {
00462 if (!self()->isImmutable( QString::fromLatin1( "SystemTrayPolicy" ) ))
00463 self()->mSystemTrayPolicy = v;
00464 }
00465
00469 static
00470 int systemTrayPolicy()
00471 {
00472 return self()->mSystemTrayPolicy;
00473 }
00474
00478 ItemEnum *systemTrayPolicyItem()
00479 {
00480 return mSystemTrayPolicyItem;
00481 }
00482
00486 static
00487 void setCloseDespiteSystemTray( bool v )
00488 {
00489 if (!self()->isImmutable( QString::fromLatin1( "CloseDespiteSystemTray" ) ))
00490 self()->mCloseDespiteSystemTray = v;
00491 }
00492
00496 static
00497 bool closeDespiteSystemTray()
00498 {
00499 return self()->mCloseDespiteSystemTray;
00500 }
00501
00505 ItemBool *closeDespiteSystemTrayItem()
00506 {
00507 return mCloseDespiteSystemTrayItem;
00508 }
00509
00513 static
00514 void setVerboseNewMailNotification( bool v )
00515 {
00516 if (!self()->isImmutable( QString::fromLatin1( "VerboseNewMailNotification" ) ))
00517 self()->mVerboseNewMailNotification = v;
00518 }
00519
00523 static
00524 bool verboseNewMailNotification()
00525 {
00526 return self()->mVerboseNewMailNotification;
00527 }
00528
00532 ItemBool *verboseNewMailNotificationItem()
00533 {
00534 return mVerboseNewMailNotificationItem;
00535 }
00536
00540 static
00541 void setExternalEditor( const QString & v )
00542 {
00543 if (!self()->isImmutable( QString::fromLatin1( "ExternalEditor" ) ))
00544 self()->mExternalEditor = v;
00545 }
00546
00550 static
00551 QString externalEditor()
00552 {
00553 return self()->mExternalEditor;
00554 }
00555
00559 ItemString *externalEditorItem()
00560 {
00561 return mExternalEditorItem;
00562 }
00563
00567 static
00568 void setUseExternalEditor( bool v )
00569 {
00570 if (!self()->isImmutable( QString::fromLatin1( "UseExternalEditor" ) ))
00571 self()->mUseExternalEditor = v;
00572 }
00573
00577 static
00578 bool useExternalEditor()
00579 {
00580 return self()->mUseExternalEditor;
00581 }
00582
00586 ItemBool *useExternalEditorItem()
00587 {
00588 return mUseExternalEditorItem;
00589 }
00590
00594 static
00595 void setCustHeaderCount( int v )
00596 {
00597 if (!self()->isImmutable( QString::fromLatin1( "CustHeaderCount" ) ))
00598 self()->mCustHeaderCount = v;
00599 }
00600
00604 static
00605 int custHeaderCount()
00606 {
00607 return self()->mCustHeaderCount;
00608 }
00609
00613 ItemInt *custHeaderCountItem()
00614 {
00615 return mCustHeaderCountItem;
00616 }
00617
00621 static
00622 void setReplyCurrentLanguage( int v )
00623 {
00624 if (!self()->isImmutable( QString::fromLatin1( "ReplyCurrentLanguage" ) ))
00625 self()->mReplyCurrentLanguage = v;
00626 }
00627
00631 static
00632 int replyCurrentLanguage()
00633 {
00634 return self()->mReplyCurrentLanguage;
00635 }
00636
00640 ItemInt *replyCurrentLanguageItem()
00641 {
00642 return mReplyCurrentLanguageItem;
00643 }
00644
00648 static
00649 void setReplyLanguagesCount( int v )
00650 {
00651 if (v < 0)
00652 {
00653 kdDebug() << "setReplyLanguagesCount: value " << v << " is less than the minimum value of 0" << endl;
00654 v = 0;
00655 }
00656 if (!self()->isImmutable( QString::fromLatin1( "ReplyLanguagesCount" ) ))
00657 self()->mReplyLanguagesCount = v;
00658 }
00659
00663 static
00664 int replyLanguagesCount()
00665 {
00666 return self()->mReplyLanguagesCount;
00667 }
00668
00672 ItemInt *replyLanguagesCountItem()
00673 {
00674 return mReplyLanguagesCountItem;
00675 }
00676
00680 static
00681 void setFolderLoadingTimeout( int v )
00682 {
00683 if (!self()->isImmutable( QString::fromLatin1( "FolderLoadingTimeout" ) ))
00684 self()->mFolderLoadingTimeout = v;
00685 }
00686
00690 static
00691 int folderLoadingTimeout()
00692 {
00693 return self()->mFolderLoadingTimeout;
00694 }
00695
00699 ItemInt *folderLoadingTimeoutItem()
00700 {
00701 return mFolderLoadingTimeoutItem;
00702 }
00703
00707 static
00708 void setQuotaUnit( int v )
00709 {
00710 if (!self()->isImmutable( QString::fromLatin1( "QuotaUnit" ) ))
00711 self()->mQuotaUnit = v;
00712 }
00713
00717 static
00718 int quotaUnit()
00719 {
00720 return self()->mQuotaUnit;
00721 }
00722
00726 ItemEnum *quotaUnitItem()
00727 {
00728 return mQuotaUnitItem;
00729 }
00730
00734 static
00735 void setCloseToQuotaThreshold( int v )
00736 {
00737 if (!self()->isImmutable( QString::fromLatin1( "CloseToQuotaThreshold" ) ))
00738 self()->mCloseToQuotaThreshold = v;
00739 }
00740
00744 static
00745 int closeToQuotaThreshold()
00746 {
00747 return self()->mCloseToQuotaThreshold;
00748 }
00749
00753 ItemInt *closeToQuotaThresholdItem()
00754 {
00755 return mCloseToQuotaThresholdItem;
00756 }
00757
00761 static
00762 void setGroupwareEnabled( bool v )
00763 {
00764 if (!self()->isImmutable( QString::fromLatin1( "GroupwareEnabled" ) ))
00765 self()->mGroupwareEnabled = v;
00766 }
00767
00771 static
00772 bool groupwareEnabled()
00773 {
00774 return self()->mGroupwareEnabled;
00775 }
00776
00780 ItemBool *groupwareEnabledItem()
00781 {
00782 return mGroupwareEnabledItem;
00783 }
00784
00788 static
00789 void setLegacyMangleFromToHeaders( bool v )
00790 {
00791 if (!self()->isImmutable( QString::fromLatin1( "LegacyMangleFromToHeaders" ) ))
00792 self()->mLegacyMangleFromToHeaders = v;
00793 }
00794
00798 static
00799 bool legacyMangleFromToHeaders()
00800 {
00801 return self()->mLegacyMangleFromToHeaders;
00802 }
00803
00807 ItemBool *legacyMangleFromToHeadersItem()
00808 {
00809 return mLegacyMangleFromToHeadersItem;
00810 }
00811
00815 static
00816 void setLegacyBodyInvites( bool v )
00817 {
00818 if (!self()->isImmutable( QString::fromLatin1( "LegacyBodyInvites" ) ))
00819 self()->mLegacyBodyInvites = v;
00820 }
00821
00825 static
00826 bool legacyBodyInvites()
00827 {
00828 return self()->mLegacyBodyInvites;
00829 }
00830
00834 ItemBool *legacyBodyInvitesItem()
00835 {
00836 return mLegacyBodyInvitesItem;
00837 }
00838
00842 static
00843 void setExchangeCompatibleInvitations( bool v )
00844 {
00845 if (!self()->isImmutable( QString::fromLatin1( "ExchangeCompatibleInvitations" ) ))
00846 self()->mExchangeCompatibleInvitations = v;
00847 }
00848
00852 static
00853 bool exchangeCompatibleInvitations()
00854 {
00855 return self()->mExchangeCompatibleInvitations;
00856 }
00857
00861 ItemBool *exchangeCompatibleInvitationsItem()
00862 {
00863 return mExchangeCompatibleInvitationsItem;
00864 }
00865
00869 static
00870 void setOutlookCompatibleInvitationReplyComments( bool v )
00871 {
00872 if (!self()->isImmutable( QString::fromLatin1( "OutlookCompatibleInvitationReplyComments" ) ))
00873 self()->mOutlookCompatibleInvitationReplyComments = v;
00874 }
00875
00879 static
00880 bool outlookCompatibleInvitationReplyComments()
00881 {
00882 return self()->mOutlookCompatibleInvitationReplyComments;
00883 }
00884
00888 ItemBool *outlookCompatibleInvitationReplyCommentsItem()
00889 {
00890 return mOutlookCompatibleInvitationReplyCommentsItem;
00891 }
00892
00896 static
00897 void setAutomaticSending( bool v )
00898 {
00899 if (!self()->isImmutable( QString::fromLatin1( "AutomaticSending" ) ))
00900 self()->mAutomaticSending = v;
00901 }
00902
00906 static
00907 bool automaticSending()
00908 {
00909 return self()->mAutomaticSending;
00910 }
00911
00915 ItemBool *automaticSendingItem()
00916 {
00917 return mAutomaticSendingItem;
00918 }
00919
00923 static
00924 void setAskForCommentWhenReactingToInvitation( int v )
00925 {
00926 if (!self()->isImmutable( QString::fromLatin1( "AskForCommentWhenReactingToInvitation" ) ))
00927 self()->mAskForCommentWhenReactingToInvitation = v;
00928 }
00929
00933 static
00934 int askForCommentWhenReactingToInvitation()
00935 {
00936 return self()->mAskForCommentWhenReactingToInvitation;
00937 }
00938
00942 ItemEnum *askForCommentWhenReactingToInvitationItem()
00943 {
00944 return mAskForCommentWhenReactingToInvitationItem;
00945 }
00946
00950 static
00951 void setDeleteInvitationEmailsAfterSendingReply( bool v )
00952 {
00953 if (!self()->isImmutable( QString::fromLatin1( "DeleteInvitationEmailsAfterSendingReply" ) ))
00954 self()->mDeleteInvitationEmailsAfterSendingReply = v;
00955 }
00956
00960 static
00961 bool deleteInvitationEmailsAfterSendingReply()
00962 {
00963 return self()->mDeleteInvitationEmailsAfterSendingReply;
00964 }
00965
00969 ItemBool *deleteInvitationEmailsAfterSendingReplyItem()
00970 {
00971 return mDeleteInvitationEmailsAfterSendingReplyItem;
00972 }
00973
00977 static
00978 void setShowToltecReplacementText( bool v )
00979 {
00980 if (!self()->isImmutable( QString::fromLatin1( "ShowToltecReplacementText" ) ))
00981 self()->mShowToltecReplacementText = v;
00982 }
00983
00987 static
00988 bool showToltecReplacementText()
00989 {
00990 return self()->mShowToltecReplacementText;
00991 }
00992
00996 ItemBool *showToltecReplacementTextItem()
00997 {
00998 return mShowToltecReplacementTextItem;
00999 }
01000
01004 static
01005 void setToltecReplacementText( const QString & v )
01006 {
01007 if (!self()->isImmutable( QString::fromLatin1( "ToltecReplacementText" ) ))
01008 self()->mToltecReplacementText = v;
01009 }
01010
01014 static
01015 QString toltecReplacementText()
01016 {
01017 return self()->mToltecReplacementText;
01018 }
01019
01023 ItemString *toltecReplacementTextItem()
01024 {
01025 return mToltecReplacementTextItem;
01026 }
01027
01031 static
01032 void setTheIMAPResourceEnabled( bool v )
01033 {
01034 if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceEnabled" ) ))
01035 self()->mTheIMAPResourceEnabled = v;
01036 }
01037
01041 static
01042 bool theIMAPResourceEnabled()
01043 {
01044 return self()->mTheIMAPResourceEnabled;
01045 }
01046
01050 ItemBool *theIMAPResourceEnabledItem()
01051 {
01052 return mTheIMAPResourceEnabledItem;
01053 }
01054
01058 static
01059 void setHideGroupwareFolders( bool v )
01060 {
01061 if (!self()->isImmutable( QString::fromLatin1( "HideGroupwareFolders" ) ))
01062 self()->mHideGroupwareFolders = v;
01063 }
01064
01068 static
01069 bool hideGroupwareFolders()
01070 {
01071 return self()->mHideGroupwareFolders;
01072 }
01073
01077 ItemBool *hideGroupwareFoldersItem()
01078 {
01079 return mHideGroupwareFoldersItem;
01080 }
01081
01085 static
01086 void setShowOnlyGroupwareFoldersForGroupwareAccount( bool v )
01087 {
01088 if (!self()->isImmutable( QString::fromLatin1( "ShowOnlyGroupwareFoldersForGroupwareAccount" ) ))
01089 self()->mShowOnlyGroupwareFoldersForGroupwareAccount = v;
01090 }
01091
01095 static
01096 bool showOnlyGroupwareFoldersForGroupwareAccount()
01097 {
01098 return self()->mShowOnlyGroupwareFoldersForGroupwareAccount;
01099 }
01100
01104 ItemBool *showOnlyGroupwareFoldersForGroupwareAccountItem()
01105 {
01106 return mShowOnlyGroupwareFoldersForGroupwareAccountItem;
01107 }
01108
01112 static
01113 void setTheIMAPResourceStorageFormat( int v )
01114 {
01115 if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceStorageFormat" ) ))
01116 self()->mTheIMAPResourceStorageFormat = v;
01117 }
01118
01122 static
01123 int theIMAPResourceStorageFormat()
01124 {
01125 return self()->mTheIMAPResourceStorageFormat;
01126 }
01127
01131 ItemEnum *theIMAPResourceStorageFormatItem()
01132 {
01133 return mTheIMAPResourceStorageFormatItem;
01134 }
01135
01139 static
01140 void setTheIMAPResourceFolderParent( const QString & v )
01141 {
01142 if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceFolderParent" ) ))
01143 self()->mTheIMAPResourceFolderParent = v;
01144 }
01145
01149 static
01150 QString theIMAPResourceFolderParent()
01151 {
01152 return self()->mTheIMAPResourceFolderParent;
01153 }
01154
01158 ItemString *theIMAPResourceFolderParentItem()
01159 {
01160 return mTheIMAPResourceFolderParentItem;
01161 }
01162
01166 static
01167 void setTheIMAPResourceAccount( int v )
01168 {
01169 if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceAccount" ) ))
01170 self()->mTheIMAPResourceAccount = v;
01171 }
01172
01176 static
01177 int theIMAPResourceAccount()
01178 {
01179 return self()->mTheIMAPResourceAccount;
01180 }
01181
01185 ItemInt *theIMAPResourceAccountItem()
01186 {
01187 return mTheIMAPResourceAccountItem;
01188 }
01189
01193 static
01194 void setTheIMAPResourceFolderLanguage( int v )
01195 {
01196 if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceFolderLanguage" ) ))
01197 self()->mTheIMAPResourceFolderLanguage = v;
01198 }
01199
01203 static
01204 int theIMAPResourceFolderLanguage()
01205 {
01206 return self()->mTheIMAPResourceFolderLanguage;
01207 }
01208
01212 ItemInt *theIMAPResourceFolderLanguageItem()
01213 {
01214 return mTheIMAPResourceFolderLanguageItem;
01215 }
01216
01220 static
01221 void setFilterGroupwareFolders( bool v )
01222 {
01223 if (!self()->isImmutable( QString::fromLatin1( "FilterGroupwareFolders" ) ))
01224 self()->mFilterGroupwareFolders = v;
01225 }
01226
01230 static
01231 bool filterGroupwareFolders()
01232 {
01233 return self()->mFilterGroupwareFolders;
01234 }
01235
01239 ItemBool *filterGroupwareFoldersItem()
01240 {
01241 return mFilterGroupwareFoldersItem;
01242 }
01243
01247 static
01248 void setFilterSourceFolders( const QValueList<int> & v )
01249 {
01250 if (!self()->isImmutable( QString::fromLatin1( "FilterSourceFolders" ) ))
01251 self()->mFilterSourceFolders = v;
01252 }
01253
01257 static
01258 QValueList<int> filterSourceFolders()
01259 {
01260 return self()->mFilterSourceFolders;
01261 }
01262
01266 ItemIntList *filterSourceFoldersItem()
01267 {
01268 return mFilterSourceFoldersItem;
01269 }
01270
01274 static
01275 void setImmediatlySyncDIMAPOnGroupwareChanges( bool v )
01276 {
01277 if (!self()->isImmutable( QString::fromLatin1( "ImmediatlySyncDIMAPOnGroupwareChanges" ) ))
01278 self()->mImmediatlySyncDIMAPOnGroupwareChanges = v;
01279 }
01280
01284 static
01285 bool immediatlySyncDIMAPOnGroupwareChanges()
01286 {
01287 return self()->mImmediatlySyncDIMAPOnGroupwareChanges;
01288 }
01289
01293 ItemBool *immediatlySyncDIMAPOnGroupwareChangesItem()
01294 {
01295 return mImmediatlySyncDIMAPOnGroupwareChangesItem;
01296 }
01297
01301 static
01302 void setMsgDictSizeHint( int v )
01303 {
01304 if (!self()->isImmutable( QString::fromLatin1( "MsgDictSizeHint" ) ))
01305 self()->mMsgDictSizeHint = v;
01306 }
01307
01311 static
01312 int msgDictSizeHint()
01313 {
01314 return self()->mMsgDictSizeHint;
01315 }
01316
01320 ItemInt *msgDictSizeHintItem()
01321 {
01322 return mMsgDictSizeHintItem;
01323 }
01324
01328 static
01329 void setPreviousNewFeaturesMD5( const QString & v )
01330 {
01331 if (!self()->isImmutable( QString::fromLatin1( "PreviousNewFeaturesMD5" ) ))
01332 self()->mPreviousNewFeaturesMD5 = v;
01333 }
01334
01338 static
01339 QString previousNewFeaturesMD5()
01340 {
01341 return self()->mPreviousNewFeaturesMD5;
01342 }
01343
01347 ItemString *previousNewFeaturesMD5Item()
01348 {
01349 return mPreviousNewFeaturesMD5Item;
01350 }
01351
01355 static
01356 void setMaxConnectionsPerHost( int v )
01357 {
01358 if (v < 0)
01359 {
01360 kdDebug() << "setMaxConnectionsPerHost: value " << v << " is less than the minimum value of 0" << endl;
01361 v = 0;
01362 }
01363 if (!self()->isImmutable( QString::fromLatin1( "MaxConnectionsPerHost" ) ))
01364 self()->mMaxConnectionsPerHost = v;
01365 }
01366
01370 static
01371 int maxConnectionsPerHost()
01372 {
01373 return self()->mMaxConnectionsPerHost;
01374 }
01375
01379 ItemInt *maxConnectionsPerHostItem()
01380 {
01381 return mMaxConnectionsPerHostItem;
01382 }
01383
01387 static
01388 void setQuickSearchActive( bool v )
01389 {
01390 if (!self()->isImmutable( QString::fromLatin1( "QuickSearchActive" ) ))
01391 self()->mQuickSearchActive = v;
01392 }
01393
01397 static
01398 bool quickSearchActive()
01399 {
01400 return self()->mQuickSearchActive;
01401 }
01402
01406 ItemBool *quickSearchActiveItem()
01407 {
01408 return mQuickSearchActiveItem;
01409 }
01410
01414 static
01415 void setHideLocalInbox( bool v )
01416 {
01417 if (!self()->isImmutable( QString::fromLatin1( "HideLocalInbox" ) ))
01418 self()->mHideLocalInbox = v;
01419 }
01420
01424 static
01425 bool hideLocalInbox()
01426 {
01427 return self()->mHideLocalInbox;
01428 }
01429
01433 ItemBool *hideLocalInboxItem()
01434 {
01435 return mHideLocalInboxItem;
01436 }
01437
01441 static
01442 void setForwardingInlineByDefault( bool v )
01443 {
01444 if (!self()->isImmutable( QString::fromLatin1( "ForwardingInlineByDefault" ) ))
01445 self()->mForwardingInlineByDefault = v;
01446 }
01447
01451 static
01452 bool forwardingInlineByDefault()
01453 {
01454 return self()->mForwardingInlineByDefault;
01455 }
01456
01460 ItemBool *forwardingInlineByDefaultItem()
01461 {
01462 return mForwardingInlineByDefaultItem;
01463 }
01464
01468 static
01469 void setAllowSemicolonAsAddressSeparator( bool v )
01470 {
01471 if (!self()->isImmutable( QString::fromLatin1( "AllowSemicolonAsAddressSeparator" ) ))
01472 self()->mAllowSemicolonAsAddressSeparator = v;
01473 }
01474
01478 static
01479 bool allowSemicolonAsAddressSeparator()
01480 {
01481 return self()->mAllowSemicolonAsAddressSeparator;
01482 }
01483
01487 ItemBool *allowSemicolonAsAddressSeparatorItem()
01488 {
01489 return mAllowSemicolonAsAddressSeparatorItem;
01490 }
01491
01495 static
01496 void setForceReplyCharset( bool v )
01497 {
01498 if (!self()->isImmutable( QString::fromLatin1( "ForceReplyCharset" ) ))
01499 self()->mForceReplyCharset = v;
01500 }
01501
01505 static
01506 bool forceReplyCharset()
01507 {
01508 return self()->mForceReplyCharset;
01509 }
01510
01514 ItemBool *forceReplyCharsetItem()
01515 {
01516 return mForceReplyCharsetItem;
01517 }
01518
01522 static
01523 void setAutoTextSignature( const QString & v )
01524 {
01525 if (!self()->isImmutable( QString::fromLatin1( "AutoTextSignature" ) ))
01526 self()->mAutoTextSignature = v;
01527 }
01528
01532 static
01533 QString autoTextSignature()
01534 {
01535 return self()->mAutoTextSignature;
01536 }
01537
01541 ItemString *autoTextSignatureItem()
01542 {
01543 return mAutoTextSignatureItem;
01544 }
01545
01549 static
01550 void setStickyIdentity( bool v )
01551 {
01552 if (!self()->isImmutable( QString::fromLatin1( "StickyIdentity" ) ))
01553 self()->mStickyIdentity = v;
01554 }
01555
01559 static
01560 bool stickyIdentity()
01561 {
01562 return self()->mStickyIdentity;
01563 }
01564
01568 ItemBool *stickyIdentityItem()
01569 {
01570 return mStickyIdentityItem;
01571 }
01572
01576 static
01577 void setStickyFcc( bool v )
01578 {
01579 if (!self()->isImmutable( QString::fromLatin1( "StickyFcc" ) ))
01580 self()->mStickyFcc = v;
01581 }
01582
01586 static
01587 bool stickyFcc()
01588 {
01589 return self()->mStickyFcc;
01590 }
01591
01595 ItemBool *stickyFccItem()
01596 {
01597 return mStickyFccItem;
01598 }
01599
01603 static
01604 void setStickyTransport( bool v )
01605 {
01606 if (!self()->isImmutable( QString::fromLatin1( "StickyTransport" ) ))
01607 self()->mStickyTransport = v;
01608 }
01609
01613 static
01614 bool stickyTransport()
01615 {
01616 return self()->mStickyTransport;
01617 }
01618
01622 ItemBool *stickyTransportItem()
01623 {
01624 return mStickyTransportItem;
01625 }
01626
01630 static
01631 void setWordWrap( bool v )
01632 {
01633 if (!self()->isImmutable( QString::fromLatin1( "WordWrap" ) ))
01634 self()->mWordWrap = v;
01635 }
01636
01640 static
01641 bool wordWrap()
01642 {
01643 return self()->mWordWrap;
01644 }
01645
01649 ItemBool *wordWrapItem()
01650 {
01651 return mWordWrapItem;
01652 }
01653
01657 static
01658 void setUseFixedFont( bool v )
01659 {
01660 if (!self()->isImmutable( QString::fromLatin1( "UseFixedFont" ) ))
01661 self()->mUseFixedFont = v;
01662 }
01663
01667 static
01668 bool useFixedFont()
01669 {
01670 return self()->mUseFixedFont;
01671 }
01672
01676 ItemBool *useFixedFontItem()
01677 {
01678 return mUseFixedFontItem;
01679 }
01680
01684 static
01685 void setLineWrapWidth( int v )
01686 {
01687 if (v < 30)
01688 {
01689 kdDebug() << "setLineWrapWidth: value " << v << " is less than the minimum value of 30" << endl;
01690 v = 30;
01691 }
01692
01693 if (v > 255)
01694 {
01695 kdDebug() << "setLineWrapWidth: value " << v << " is greater than the maximum value of 255" << endl;
01696 v = 255;
01697 }
01698
01699 if (!self()->isImmutable( QString::fromLatin1( "LineWrapWidth" ) ))
01700 self()->mLineWrapWidth = v;
01701 }
01702
01706 static
01707 int lineWrapWidth()
01708 {
01709 return self()->mLineWrapWidth;
01710 }
01711
01715 ItemInt *lineWrapWidthItem()
01716 {
01717 return mLineWrapWidthItem;
01718 }
01719
01723 static
01724 void setTooManyRecipients( bool v )
01725 {
01726 if (!self()->isImmutable( QString::fromLatin1( "TooManyRecipients" ) ))
01727 self()->mTooManyRecipients = v;
01728 }
01729
01733 static
01734 bool tooManyRecipients()
01735 {
01736 return self()->mTooManyRecipients;
01737 }
01738
01742 ItemBool *tooManyRecipientsItem()
01743 {
01744 return mTooManyRecipientsItem;
01745 }
01746
01750 static
01751 void setRecipientThreshold( int v )
01752 {
01753 if (v < 1)
01754 {
01755 kdDebug() << "setRecipientThreshold: value " << v << " is less than the minimum value of 1" << endl;
01756 v = 1;
01757 }
01758
01759 if (v > 100)
01760 {
01761 kdDebug() << "setRecipientThreshold: value " << v << " is greater than the maximum value of 100" << endl;
01762 v = 100;
01763 }
01764
01765 if (!self()->isImmutable( QString::fromLatin1( "RecipientThreshold" ) ))
01766 self()->mRecipientThreshold = v;
01767 }
01768
01772 static
01773 int recipientThreshold()
01774 {
01775 return self()->mRecipientThreshold;
01776 }
01777
01781 ItemInt *recipientThresholdItem()
01782 {
01783 return mRecipientThresholdItem;
01784 }
01785
01789 static
01790 void setPreviousIdentity( uint v )
01791 {
01792 if (!self()->isImmutable( QString::fromLatin1( "PreviousIdentity" ) ))
01793 self()->mPreviousIdentity = v;
01794 }
01795
01799 static
01800 uint previousIdentity()
01801 {
01802 return self()->mPreviousIdentity;
01803 }
01804
01808 ItemUInt *previousIdentityItem()
01809 {
01810 return mPreviousIdentityItem;
01811 }
01812
01816 static
01817 void setPreviousFcc( const QString & v )
01818 {
01819 if (!self()->isImmutable( QString::fromLatin1( "PreviousFcc" ) ))
01820 self()->mPreviousFcc = v;
01821 }
01822
01826 static
01827 QString previousFcc()
01828 {
01829 return self()->mPreviousFcc;
01830 }
01831
01835 ItemString *previousFccItem()
01836 {
01837 return mPreviousFccItem;
01838 }
01839
01843 static
01844 void setTransportHistory( const QStringList & v )
01845 {
01846 if (!self()->isImmutable( QString::fromLatin1( "TransportHistory" ) ))
01847 self()->mTransportHistory = v;
01848 }
01849
01853 static
01854 QStringList transportHistory()
01855 {
01856 return self()->mTransportHistory;
01857 }
01858
01862 ItemStringList *transportHistoryItem()
01863 {
01864 return mTransportHistoryItem;
01865 }
01866
01870 static
01871 void setCurrentTransport( const QString & v )
01872 {
01873 if (!self()->isImmutable( QString::fromLatin1( "CurrentTransport" ) ))
01874 self()->mCurrentTransport = v;
01875 }
01876
01880 static
01881 QString currentTransport()
01882 {
01883 return self()->mCurrentTransport;
01884 }
01885
01889 ItemString *currentTransportItem()
01890 {
01891 return mCurrentTransportItem;
01892 }
01893
01897 static
01898 void setDefaultTransport( const QString & v )
01899 {
01900 if (!self()->isImmutable( QString::fromLatin1( "DefaultTransport" ) ))
01901 self()->mDefaultTransport = v;
01902 }
01903
01907 static
01908 QString defaultTransport()
01909 {
01910 return self()->mDefaultTransport;
01911 }
01912
01916 ItemString *defaultTransportItem()
01917 {
01918 return mDefaultTransportItem;
01919 }
01920
01924 static
01925 void setMaxTransportEntries( int v )
01926 {
01927 if (!self()->isImmutable( QString::fromLatin1( "MaxTransportEntries" ) ))
01928 self()->mMaxTransportEntries = v;
01929 }
01930
01934 static
01935 int maxTransportEntries()
01936 {
01937 return self()->mMaxTransportEntries;
01938 }
01939
01943 ItemInt *maxTransportEntriesItem()
01944 {
01945 return mMaxTransportEntriesItem;
01946 }
01947
01951 static
01952 void setOutlookCompatibleAttachments( bool v )
01953 {
01954 if (!self()->isImmutable( QString::fromLatin1( "OutlookCompatibleAttachments" ) ))
01955 self()->mOutlookCompatibleAttachments = v;
01956 }
01957
01961 static
01962 bool outlookCompatibleAttachments()
01963 {
01964 return self()->mOutlookCompatibleAttachments;
01965 }
01966
01970 ItemBool *outlookCompatibleAttachmentsItem()
01971 {
01972 return mOutlookCompatibleAttachmentsItem;
01973 }
01974
01978 static
01979 void setUseHtmlMarkup( bool v )
01980 {
01981 if (!self()->isImmutable( QString::fromLatin1( "UseHtmlMarkup" ) ))
01982 self()->mUseHtmlMarkup = v;
01983 }
01984
01988 static
01989 bool useHtmlMarkup()
01990 {
01991 return self()->mUseHtmlMarkup;
01992 }
01993
01997 ItemBool *useHtmlMarkupItem()
01998 {
01999 return mUseHtmlMarkupItem;
02000 }
02001
02005 static
02006 void setPgpAutoSign( bool v )
02007 {
02008 if (!self()->isImmutable( QString::fromLatin1( "PgpAutoSign" ) ))
02009 self()->mPgpAutoSign = v;
02010 }
02011
02015 static
02016 bool pgpAutoSign()
02017 {
02018 return self()->mPgpAutoSign;
02019 }
02020
02024 ItemBool *pgpAutoSignItem()
02025 {
02026 return mPgpAutoSignItem;
02027 }
02028
02032 static
02033 void setPgpAutoEncrypt( bool v )
02034 {
02035 if (!self()->isImmutable( QString::fromLatin1( "PgpAutoEncrypt" ) ))
02036 self()->mPgpAutoEncrypt = v;
02037 }
02038
02042 static
02043 bool pgpAutoEncrypt()
02044 {
02045 return self()->mPgpAutoEncrypt;
02046 }
02047
02051 ItemBool *pgpAutoEncryptItem()
02052 {
02053 return mPgpAutoEncryptItem;
02054 }
02055
02059 static
02060 void setNeverEncryptDrafts( bool v )
02061 {
02062 if (!self()->isImmutable( QString::fromLatin1( "NeverEncryptDrafts" ) ))
02063 self()->mNeverEncryptDrafts = v;
02064 }
02065
02069 static
02070 bool neverEncryptDrafts()
02071 {
02072 return self()->mNeverEncryptDrafts;
02073 }
02074
02078 ItemBool *neverEncryptDraftsItem()
02079 {
02080 return mNeverEncryptDraftsItem;
02081 }
02082
02086 static
02087 void setChiasmusKey( const QString & v )
02088 {
02089 if (!self()->isImmutable( QString::fromLatin1( "ChiasmusKey" ) ))
02090 self()->mChiasmusKey = v;
02091 }
02092
02096 static
02097 QString chiasmusKey()
02098 {
02099 return self()->mChiasmusKey;
02100 }
02101
02105 ItemString *chiasmusKeyItem()
02106 {
02107 return mChiasmusKeyItem;
02108 }
02109
02113 static
02114 void setChiasmusOptions( const QString & v )
02115 {
02116 if (!self()->isImmutable( QString::fromLatin1( "ChiasmusOptions" ) ))
02117 self()->mChiasmusOptions = v;
02118 }
02119
02123 static
02124 QString chiasmusOptions()
02125 {
02126 return self()->mChiasmusOptions;
02127 }
02128
02132 ItemString *chiasmusOptionsItem()
02133 {
02134 return mChiasmusOptionsItem;
02135 }
02136
02140 static
02141 void setConfirmBeforeSend( bool v )
02142 {
02143 if (!self()->isImmutable( QString::fromLatin1( "ConfirmBeforeSend" ) ))
02144 self()->mConfirmBeforeSend = v;
02145 }
02146
02150 static
02151 bool confirmBeforeSend()
02152 {
02153 return self()->mConfirmBeforeSend;
02154 }
02155
02159 ItemBool *confirmBeforeSendItem()
02160 {
02161 return mConfirmBeforeSendItem;
02162 }
02163
02167 static
02168 void setRequestMDN( bool v )
02169 {
02170 if (!self()->isImmutable( QString::fromLatin1( "RequestMDN" ) ))
02171 self()->mRequestMDN = v;
02172 }
02173
02177 static
02178 bool requestMDN()
02179 {
02180 return self()->mRequestMDN;
02181 }
02182
02186 ItemBool *requestMDNItem()
02187 {
02188 return mRequestMDNItem;
02189 }
02190
02194 static
02195 void setShowRecentAddressesInComposer( bool v )
02196 {
02197 if (!self()->isImmutable( QString::fromLatin1( "ShowRecentAddressesInComposer" ) ))
02198 self()->mShowRecentAddressesInComposer = v;
02199 }
02200
02204 static
02205 bool showRecentAddressesInComposer()
02206 {
02207 return self()->mShowRecentAddressesInComposer;
02208 }
02209
02213 ItemBool *showRecentAddressesInComposerItem()
02214 {
02215 return mShowRecentAddressesInComposerItem;
02216 }
02217
02221 static
02222 void setHeaders( int v )
02223 {
02224 if (!self()->isImmutable( QString::fromLatin1( "Headers" ) ))
02225 self()->mHeaders = v;
02226 }
02227
02231 static
02232 int headers()
02233 {
02234 return self()->mHeaders;
02235 }
02236
02240 ItemInt *headersItem()
02241 {
02242 return mHeadersItem;
02243 }
02244
02248 static
02249 void setCompletionMode( int v )
02250 {
02251 if (!self()->isImmutable( QString::fromLatin1( "CompletionMode" ) ))
02252 self()->mCompletionMode = v;
02253 }
02254
02258 static
02259 int completionMode()
02260 {
02261 return self()->mCompletionMode;
02262 }
02263
02267 ItemInt *completionModeItem()
02268 {
02269 return mCompletionModeItem;
02270 }
02271
02275 static
02276 void setAutoSpellChecking( bool v )
02277 {
02278 if (!self()->isImmutable( QString::fromLatin1( "AutoSpellChecking" ) ))
02279 self()->mAutoSpellChecking = v;
02280 }
02281
02285 static
02286 bool autoSpellChecking()
02287 {
02288 return self()->mAutoSpellChecking;
02289 }
02290
02294 ItemBool *autoSpellCheckingItem()
02295 {
02296 return mAutoSpellCheckingItem;
02297 }
02298
02302 static
02303 void setShowForgottenAttachmentWarning( bool v )
02304 {
02305 if (!self()->isImmutable( QString::fromLatin1( "ShowForgottenAttachmentWarning" ) ))
02306 self()->mShowForgottenAttachmentWarning = v;
02307 }
02308
02312 static
02313 bool showForgottenAttachmentWarning()
02314 {
02315 return self()->mShowForgottenAttachmentWarning;
02316 }
02317
02321 ItemBool *showForgottenAttachmentWarningItem()
02322 {
02323 return mShowForgottenAttachmentWarningItem;
02324 }
02325
02329 static
02330 void setAttachmentKeywords( const QStringList & v )
02331 {
02332 if (!self()->isImmutable( QString::fromLatin1( "AttachmentKeywords" ) ))
02333 self()->mAttachmentKeywords = v;
02334 }
02335
02339 static
02340 QStringList attachmentKeywords()
02341 {
02342 return self()->mAttachmentKeywords;
02343 }
02344
02348 ItemStringList *attachmentKeywordsItem()
02349 {
02350 return mAttachmentKeywordsItem;
02351 }
02352
02356 static
02357 void setShowMessagePartDialogOnAttach( bool v )
02358 {
02359 if (!self()->isImmutable( QString::fromLatin1( "ShowMessagePartDialogOnAttach" ) ))
02360 self()->mShowMessagePartDialogOnAttach = v;
02361 }
02362
02366 static
02367 bool showMessagePartDialogOnAttach()
02368 {
02369 return self()->mShowMessagePartDialogOnAttach;
02370 }
02371
02375 ItemBool *showMessagePartDialogOnAttachItem()
02376 {
02377 return mShowMessagePartDialogOnAttachItem;
02378 }
02379
02383 static
02384 void setAutosaveInterval( int v )
02385 {
02386 if (!self()->isImmutable( QString::fromLatin1( "AutosaveInterval" ) ))
02387 self()->mAutosaveInterval = v;
02388 }
02389
02393 static
02394 int autosaveInterval()
02395 {
02396 return self()->mAutosaveInterval;
02397 }
02398
02402 ItemInt *autosaveIntervalItem()
02403 {
02404 return mAutosaveIntervalItem;
02405 }
02406
02410 static
02411 void setPrependSignature( bool v )
02412 {
02413 if (!self()->isImmutable( QString::fromLatin1( "PrependSignature" ) ))
02414 self()->mPrependSignature = v;
02415 }
02416
02420 static
02421 bool prependSignature()
02422 {
02423 return self()->mPrependSignature;
02424 }
02425
02429 ItemBool *prependSignatureItem()
02430 {
02431 return mPrependSignatureItem;
02432 }
02433
02437 static
02438 void setReplyPrefixes( const QStringList & v )
02439 {
02440 if (!self()->isImmutable( QString::fromLatin1( "ReplyPrefixes" ) ))
02441 self()->mReplyPrefixes = v;
02442 }
02443
02447 static
02448 QStringList replyPrefixes()
02449 {
02450 return self()->mReplyPrefixes;
02451 }
02452
02456 ItemStringList *replyPrefixesItem()
02457 {
02458 return mReplyPrefixesItem;
02459 }
02460
02464 static
02465 void setReplaceReplyPrefix( bool v )
02466 {
02467 if (!self()->isImmutable( QString::fromLatin1( "ReplaceReplyPrefix" ) ))
02468 self()->mReplaceReplyPrefix = v;
02469 }
02470
02474 static
02475 bool replaceReplyPrefix()
02476 {
02477 return self()->mReplaceReplyPrefix;
02478 }
02479
02483 ItemBool *replaceReplyPrefixItem()
02484 {
02485 return mReplaceReplyPrefixItem;
02486 }
02487
02491 static
02492 void setForwardPrefixes( const QStringList & v )
02493 {
02494 if (!self()->isImmutable( QString::fromLatin1( "ForwardPrefixes" ) ))
02495 self()->mForwardPrefixes = v;
02496 }
02497
02501 static
02502 QStringList forwardPrefixes()
02503 {
02504 return self()->mForwardPrefixes;
02505 }
02506
02510 ItemStringList *forwardPrefixesItem()
02511 {
02512 return mForwardPrefixesItem;
02513 }
02514
02518 static
02519 void setReplaceForwardPrefix( bool v )
02520 {
02521 if (!self()->isImmutable( QString::fromLatin1( "ReplaceForwardPrefix" ) ))
02522 self()->mReplaceForwardPrefix = v;
02523 }
02524
02528 static
02529 bool replaceForwardPrefix()
02530 {
02531 return self()->mReplaceForwardPrefix;
02532 }
02533
02537 ItemBool *replaceForwardPrefixItem()
02538 {
02539 return mReplaceForwardPrefixItem;
02540 }
02541
02545 static
02546 void setSmartQuote( bool v )
02547 {
02548 if (!self()->isImmutable( QString::fromLatin1( "SmartQuote" ) ))
02549 self()->mSmartQuote = v;
02550 }
02551
02555 static
02556 bool smartQuote()
02557 {
02558 return self()->mSmartQuote;
02559 }
02560
02564 ItemBool *smartQuoteItem()
02565 {
02566 return mSmartQuoteItem;
02567 }
02568
02572 static
02573 void setStripSignature( bool v )
02574 {
02575 if (!self()->isImmutable( QString::fromLatin1( "StripSignature" ) ))
02576 self()->mStripSignature = v;
02577 }
02578
02582 static
02583 bool stripSignature()
02584 {
02585 return self()->mStripSignature;
02586 }
02587
02591 ItemBool *stripSignatureItem()
02592 {
02593 return mStripSignatureItem;
02594 }
02595
02599 static
02600 void setQuoteSelectionOnly( bool v )
02601 {
02602 if (!self()->isImmutable( QString::fromLatin1( "QuoteSelectionOnly" ) ))
02603 self()->mQuoteSelectionOnly = v;
02604 }
02605
02609 static
02610 bool quoteSelectionOnly()
02611 {
02612 return self()->mQuoteSelectionOnly;
02613 }
02614
02618 ItemBool *quoteSelectionOnlyItem()
02619 {
02620 return mQuoteSelectionOnlyItem;
02621 }
02622
02626 static
02627 void setAddresseeSelectorType( int v )
02628 {
02629 if (!self()->isImmutable( QString::fromLatin1( "AddresseeSelectorType" ) ))
02630 self()->mAddresseeSelectorType = v;
02631 }
02632
02636 static
02637 int addresseeSelectorType()
02638 {
02639 return self()->mAddresseeSelectorType;
02640 }
02641
02645 ItemEnum *addresseeSelectorTypeItem()
02646 {
02647 return mAddresseeSelectorTypeItem;
02648 }
02649
02653 static
02654 void setRecipientsEditorType( int v )
02655 {
02656 if (!self()->isImmutable( QString::fromLatin1( "RecipientsEditorType" ) ))
02657 self()->mRecipientsEditorType = v;
02658 }
02659
02663 static
02664 int recipientsEditorType()
02665 {
02666 return self()->mRecipientsEditorType;
02667 }
02668
02672 ItemEnum *recipientsEditorTypeItem()
02673 {
02674 return mRecipientsEditorTypeItem;
02675 }
02676
02680 static
02681 void setSecondRecipientTypeDefault( int v )
02682 {
02683 if (!self()->isImmutable( QString::fromLatin1( "SecondRecipientTypeDefault" ) ))
02684 self()->mSecondRecipientTypeDefault = v;
02685 }
02686
02690 static
02691 int secondRecipientTypeDefault()
02692 {
02693 return self()->mSecondRecipientTypeDefault;
02694 }
02695
02699 ItemEnum *secondRecipientTypeDefaultItem()
02700 {
02701 return mSecondRecipientTypeDefaultItem;
02702 }
02703
02707 static
02708 void setMaximumRecipients( int v )
02709 {
02710 if (!self()->isImmutable( QString::fromLatin1( "MaximumRecipients" ) ))
02711 self()->mMaximumRecipients = v;
02712 }
02713
02717 static
02718 int maximumRecipients()
02719 {
02720 return self()->mMaximumRecipients;
02721 }
02722
02726 ItemInt *maximumRecipientsItem()
02727 {
02728 return mMaximumRecipientsItem;
02729 }
02730
02734 static
02735 void setCustomTemplates( const QStringList & v )
02736 {
02737 if (!self()->isImmutable( QString::fromLatin1( "CustomTemplates" ) ))
02738 self()->mCustomTemplates = v;
02739 }
02740
02744 static
02745 QStringList customTemplates()
02746 {
02747 return self()->mCustomTemplates;
02748 }
02749
02753 ItemStringList *customTemplatesItem()
02754 {
02755 return mCustomTemplatesItem;
02756 }
02757
02761 static
02762 void setMimetypesToStripWhenInlineForwarding( const QStringList & v )
02763 {
02764 if (!self()->isImmutable( QString::fromLatin1( "MimetypesToStripWhenInlineForwarding" ) ))
02765 self()->mMimetypesToStripWhenInlineForwarding = v;
02766 }
02767
02771 static
02772 QStringList mimetypesToStripWhenInlineForwarding()
02773 {
02774 return self()->mMimetypesToStripWhenInlineForwarding;
02775 }
02776
02780 ItemStringList *mimetypesToStripWhenInlineForwardingItem()
02781 {
02782 return mMimetypesToStripWhenInlineForwardingItem;
02783 }
02784
02788 static
02789 void setMaximumAttachmentSize( int v )
02790 {
02791 if (!self()->isImmutable( QString::fromLatin1( "MaximumAttachmentSize" ) ))
02792 self()->mMaximumAttachmentSize = v;
02793 }
02794
02798 static
02799 int maximumAttachmentSize()
02800 {
02801 return self()->mMaximumAttachmentSize;
02802 }
02803
02807 ItemInt *maximumAttachmentSizeItem()
02808 {
02809 return mMaximumAttachmentSizeItem;
02810 }
02811
02815 static
02816 void setShowSnippetManager( bool v )
02817 {
02818 if (!self()->isImmutable( QString::fromLatin1( "ShowSnippetManager" ) ))
02819 self()->mShowSnippetManager = v;
02820 }
02821
02825 static
02826 bool showSnippetManager()
02827 {
02828 return self()->mShowSnippetManager;
02829 }
02830
02834 ItemBool *showSnippetManagerItem()
02835 {
02836 return mShowSnippetManagerItem;
02837 }
02838
02842 static
02843 void setSnippetSplitterPosition( const QValueList<int> & v )
02844 {
02845 if (!self()->isImmutable( QString::fromLatin1( "SnippetSplitterPosition" ) ))
02846 self()->mSnippetSplitterPosition = v;
02847 }
02848
02852 static
02853 QValueList<int> snippetSplitterPosition()
02854 {
02855 return self()->mSnippetSplitterPosition;
02856 }
02857
02861 ItemIntList *snippetSplitterPositionItem()
02862 {
02863 return mSnippetSplitterPositionItem;
02864 }
02865
02869 static
02870 void setShowGnuPGAuditLogAfterSuccessfulSignEncrypt( bool v )
02871 {
02872 if (!self()->isImmutable( QString::fromLatin1( "ShowGnuPGAuditLogAfterSuccessfulSignEncrypt" ) ))
02873 self()->mShowGnuPGAuditLogAfterSuccessfulSignEncrypt = v;
02874 }
02875
02879 static
02880 bool showGnuPGAuditLogAfterSuccessfulSignEncrypt()
02881 {
02882 return self()->mShowGnuPGAuditLogAfterSuccessfulSignEncrypt;
02883 }
02884
02888 ItemBool *showGnuPGAuditLogAfterSuccessfulSignEncryptItem()
02889 {
02890 return mShowGnuPGAuditLogAfterSuccessfulSignEncryptItem;
02891 }
02892
02896 static
02897 void setUseDefaultFonts( bool v )
02898 {
02899 if (!self()->isImmutable( QString::fromLatin1( "UseDefaultFonts" ) ))
02900 self()->mUseDefaultFonts = v;
02901 }
02902
02906 static
02907 bool useDefaultFonts()
02908 {
02909 return self()->mUseDefaultFonts;
02910 }
02911
02915 ItemBool *useDefaultFontsItem()
02916 {
02917 return mUseDefaultFontsItem;
02918 }
02919
02923 static
02924 void setComposerFont( const QFont & v )
02925 {
02926 if (!self()->isImmutable( QString::fromLatin1( "ComposerFont" ) ))
02927 self()->mComposerFont = v;
02928 }
02929
02933 static
02934 QFont composerFont()
02935 {
02936 return self()->mComposerFont;
02937 }
02938
02942 ItemFont *composerFontItem()
02943 {
02944 return mComposerFontItem;
02945 }
02946
02950 static
02951 void setFixedFont( const QFont & v )
02952 {
02953 if (!self()->isImmutable( QString::fromLatin1( "FixedFont" ) ))
02954 self()->mFixedFont = v;
02955 }
02956
02960 static
02961 QFont fixedFont()
02962 {
02963 return self()->mFixedFont;
02964 }
02965
02969 ItemFont *fixedFontItem()
02970 {
02971 return mFixedFontItem;
02972 }
02973
02977 static
02978 void setComposerSize( const QSize & v )
02979 {
02980 if (!self()->isImmutable( QString::fromLatin1( "ComposerSize" ) ))
02981 self()->mComposerSize = v;
02982 }
02983
02987 static
02988 QSize composerSize()
02989 {
02990 return self()->mComposerSize;
02991 }
02992
02996 ItemSize *composerSizeItem()
02997 {
02998 return mComposerSizeItem;
02999 }
03000
03004 static
03005 void setCloseAfterReplyOrForward( bool v )
03006 {
03007 if (!self()->isImmutable( QString::fromLatin1( "CloseAfterReplyOrForward" ) ))
03008 self()->mCloseAfterReplyOrForward = v;
03009 }
03010
03014 static
03015 bool closeAfterReplyOrForward()
03016 {
03017 return self()->mCloseAfterReplyOrForward;
03018 }
03019
03023 ItemBool *closeAfterReplyOrForwardItem()
03024 {
03025 return mCloseAfterReplyOrForwardItem;
03026 }
03027
03031 static
03032 void setUseDefaultColors( bool v )
03033 {
03034 if (!self()->isImmutable( QString::fromLatin1( "UseDefaultColors" ) ))
03035 self()->mUseDefaultColors = v;
03036 }
03037
03041 static
03042 bool useDefaultColors()
03043 {
03044 return self()->mUseDefaultColors;
03045 }
03046
03050 ItemBool *useDefaultColorsItem()
03051 {
03052 return mUseDefaultColorsItem;
03053 }
03054
03058 static
03059 void setForegroundColor( const QColor & v )
03060 {
03061 if (!self()->isImmutable( QString::fromLatin1( "ForegroundColor" ) ))
03062 self()->mForegroundColor = v;
03063 }
03064
03068 static
03069 QColor foregroundColor()
03070 {
03071 return self()->mForegroundColor;
03072 }
03073
03077 ItemColor *foregroundColorItem()
03078 {
03079 return mForegroundColorItem;
03080 }
03081
03085 static
03086 void setBackgroundColor( const QColor & v )
03087 {
03088 if (!self()->isImmutable( QString::fromLatin1( "BackgroundColor" ) ))
03089 self()->mBackgroundColor = v;
03090 }
03091
03095 static
03096 QColor backgroundColor()
03097 {
03098 return self()->mBackgroundColor;
03099 }
03100
03104 ItemColor *backgroundColorItem()
03105 {
03106 return mBackgroundColorItem;
03107 }
03108
03112 static
03113 void setFallbackCharacterEncoding( const QString & v )
03114 {
03115 if (!self()->isImmutable( QString::fromLatin1( "FallbackCharacterEncoding" ) ))
03116 self()->mFallbackCharacterEncoding = v;
03117 }
03118
03122 static
03123 QString fallbackCharacterEncoding()
03124 {
03125 return self()->mFallbackCharacterEncoding;
03126 }
03127
03131 ItemString *fallbackCharacterEncodingItem()
03132 {
03133 return mFallbackCharacterEncodingItem;
03134 }
03135
03139 static
03140 void setOverrideCharacterEncoding( const QString & v )
03141 {
03142 if (!self()->isImmutable( QString::fromLatin1( "OverrideCharacterEncoding" ) ))
03143 self()->mOverrideCharacterEncoding = v;
03144 }
03145
03149 static
03150 QString overrideCharacterEncoding()
03151 {
03152 return self()->mOverrideCharacterEncoding;
03153 }
03154
03158 ItemString *overrideCharacterEncodingItem()
03159 {
03160 return mOverrideCharacterEncodingItem;
03161 }
03162
03166 static
03167 void setShowEmoticons( bool v )
03168 {
03169 if (!self()->isImmutable( QString::fromLatin1( "ShowEmoticons" ) ))
03170 self()->mShowEmoticons = v;
03171 }
03172
03176 static
03177 bool showEmoticons()
03178 {
03179 return self()->mShowEmoticons;
03180 }
03181
03185 ItemBool *showEmoticonsItem()
03186 {
03187 return mShowEmoticonsItem;
03188 }
03189
03193 static
03194 void setShowExpandQuotesMark( bool v )
03195 {
03196 if (!self()->isImmutable( QString::fromLatin1( "ShowExpandQuotesMark" ) ))
03197 self()->mShowExpandQuotesMark = v;
03198 }
03199
03203 static
03204 bool showExpandQuotesMark()
03205 {
03206 return self()->mShowExpandQuotesMark;
03207 }
03208
03212 ItemBool *showExpandQuotesMarkItem()
03213 {
03214 return mShowExpandQuotesMarkItem;
03215 }
03216
03220 static
03221 void setCollapseQuoteLevelSpin( int v )
03222 {
03223 if (v < 0)
03224 {
03225 kdDebug() << "setCollapseQuoteLevelSpin: value " << v << " is less than the minimum value of 0" << endl;
03226 v = 0;
03227 }
03228
03229 if (v > 10)
03230 {
03231 kdDebug() << "setCollapseQuoteLevelSpin: value " << v << " is greater than the maximum value of 10" << endl;
03232 v = 10;
03233 }
03234
03235 if (!self()->isImmutable( QString::fromLatin1( "CollapseQuoteLevelSpin" ) ))
03236 self()->mCollapseQuoteLevelSpin = v;
03237 }
03238
03242 static
03243 int collapseQuoteLevelSpin()
03244 {
03245 return self()->mCollapseQuoteLevelSpin;
03246 }
03247
03251 ItemInt *collapseQuoteLevelSpinItem()
03252 {
03253 return mCollapseQuoteLevelSpinItem;
03254 }
03255
03259 static
03260 void setShrinkQuotes( bool v )
03261 {
03262 if (!self()->isImmutable( QString::fromLatin1( "ShrinkQuotes" ) ))
03263 self()->mShrinkQuotes = v;
03264 }
03265
03269 static
03270 bool shrinkQuotes()
03271 {
03272 return self()->mShrinkQuotes;
03273 }
03274
03278 ItemBool *shrinkQuotesItem()
03279 {
03280 return mShrinkQuotesItem;
03281 }
03282
03286 static
03287 void setChiasmusDecryptionKey( const QString & v )
03288 {
03289 if (!self()->isImmutable( QString::fromLatin1( "ChiasmusDecryptionKey" ) ))
03290 self()->mChiasmusDecryptionKey = v;
03291 }
03292
03296 static
03297 QString chiasmusDecryptionKey()
03298 {
03299 return self()->mChiasmusDecryptionKey;
03300 }
03301
03305 ItemString *chiasmusDecryptionKeyItem()
03306 {
03307 return mChiasmusDecryptionKeyItem;
03308 }
03309
03313 static
03314 void setChiasmusDecryptionOptions( const QString & v )
03315 {
03316 if (!self()->isImmutable( QString::fromLatin1( "ChiasmusDecryptionOptions" ) ))
03317 self()->mChiasmusDecryptionOptions = v;
03318 }
03319
03323 static
03324 QString chiasmusDecryptionOptions()
03325 {
03326 return self()->mChiasmusDecryptionOptions;
03327 }
03328
03332 ItemString *chiasmusDecryptionOptionsItem()
03333 {
03334 return mChiasmusDecryptionOptionsItem;
03335 }
03336
03340 static
03341 void setShowUserAgent( bool v )
03342 {
03343 if (!self()->isImmutable( QString::fromLatin1( "ShowUserAgent" ) ))
03344 self()->mShowUserAgent = v;
03345 }
03346
03350 static
03351 bool showUserAgent()
03352 {
03353 return self()->mShowUserAgent;
03354 }
03355
03359 ItemBool *showUserAgentItem()
03360 {
03361 return mShowUserAgentItem;
03362 }
03363
03367 static
03368 void setAllowAttachmentDeletion( bool v )
03369 {
03370 if (!self()->isImmutable( QString::fromLatin1( "AllowAttachmentDeletion" ) ))
03371 self()->mAllowAttachmentDeletion = v;
03372 }
03373
03377 static
03378 bool allowAttachmentDeletion()
03379 {
03380 return self()->mAllowAttachmentDeletion;
03381 }
03382
03386 ItemBool *allowAttachmentDeletionItem()
03387 {
03388 return mAllowAttachmentDeletionItem;
03389 }
03390
03394 static
03395 void setAllowAttachmentEditing( bool v )
03396 {
03397 if (!self()->isImmutable( QString::fromLatin1( "AllowAttachmentEditing" ) ))
03398 self()->mAllowAttachmentEditing = v;
03399 }
03400
03404 static
03405 bool allowAttachmentEditing()
03406 {
03407 return self()->mAllowAttachmentEditing;
03408 }
03409
03413 ItemBool *allowAttachmentEditingItem()
03414 {
03415 return mAllowAttachmentEditingItem;
03416 }
03417
03421 static
03422 void setAlwaysDecrypt( bool v )
03423 {
03424 if (!self()->isImmutable( QString::fromLatin1( "AlwaysDecrypt" ) ))
03425 self()->mAlwaysDecrypt = v;
03426 }
03427
03431 static
03432 bool alwaysDecrypt()
03433 {
03434 return self()->mAlwaysDecrypt;
03435 }
03436
03440 ItemBool *alwaysDecryptItem()
03441 {
03442 return mAlwaysDecryptItem;
03443 }
03444
03448 static
03449 void setAutomaticDecrypt( bool v )
03450 {
03451 if (!self()->isImmutable( QString::fromLatin1( "automaticDecrypt" ) ))
03452 self()->mAutomaticDecrypt = v;
03453 }
03454
03458 static
03459 bool automaticDecrypt()
03460 {
03461 return self()->mAutomaticDecrypt;
03462 }
03463
03467 ItemBool *automaticDecryptItem()
03468 {
03469 return mAutomaticDecryptItem;
03470 }
03471
03475 static
03476 void setSendMDNsWithEmptySender( bool v )
03477 {
03478 if (!self()->isImmutable( QString::fromLatin1( "SendMDNsWithEmptySender" ) ))
03479 self()->mSendMDNsWithEmptySender = v;
03480 }
03481
03485 static
03486 bool sendMDNsWithEmptySender()
03487 {
03488 return self()->mSendMDNsWithEmptySender;
03489 }
03490
03494 ItemBool *sendMDNsWithEmptySenderItem()
03495 {
03496 return mSendMDNsWithEmptySenderItem;
03497 }
03498
03502 static
03503 void setPhrasesConverted( bool v )
03504 {
03505 if (!self()->isImmutable( QString::fromLatin1( "PhrasesConverted" ) ))
03506 self()->mPhrasesConverted = v;
03507 }
03508
03512 static
03513 bool phrasesConverted()
03514 {
03515 return self()->mPhrasesConverted;
03516 }
03517
03521 ItemBool *phrasesConvertedItem()
03522 {
03523 return mPhrasesConvertedItem;
03524 }
03525
03529 static
03530 void setTemplateNewMessage( const QString & v )
03531 {
03532 if (!self()->isImmutable( QString::fromLatin1( "TemplateNewMessage" ) ))
03533 self()->mTemplateNewMessage = v;
03534 }
03535
03539 static
03540 QString templateNewMessage()
03541 {
03542 return self()->mTemplateNewMessage;
03543 }
03544
03548 ItemString *templateNewMessageItem()
03549 {
03550 return mTemplateNewMessageItem;
03551 }
03552
03556 static
03557 void setTemplateReply( const QString & v )
03558 {
03559 if (!self()->isImmutable( QString::fromLatin1( "TemplateReply" ) ))
03560 self()->mTemplateReply = v;
03561 }
03562
03566 static
03567 QString templateReply()
03568 {
03569 return self()->mTemplateReply;
03570 }
03571
03575 ItemString *templateReplyItem()
03576 {
03577 return mTemplateReplyItem;
03578 }
03579
03583 static
03584 void setTemplateReplyAll( const QString & v )
03585 {
03586 if (!self()->isImmutable( QString::fromLatin1( "TemplateReplyAll" ) ))
03587 self()->mTemplateReplyAll = v;
03588 }
03589
03593 static
03594 QString templateReplyAll()
03595 {
03596 return self()->mTemplateReplyAll;
03597 }
03598
03602 ItemString *templateReplyAllItem()
03603 {
03604 return mTemplateReplyAllItem;
03605 }
03606
03610 static
03611 void setTemplateForward( const QString & v )
03612 {
03613 if (!self()->isImmutable( QString::fromLatin1( "TemplateForward" ) ))
03614 self()->mTemplateForward = v;
03615 }
03616
03620 static
03621 QString templateForward()
03622 {
03623 return self()->mTemplateForward;
03624 }
03625
03629 ItemString *templateForwardItem()
03630 {
03631 return mTemplateForwardItem;
03632 }
03633
03637 static
03638 void setQuoteString( const QString & v )
03639 {
03640 if (!self()->isImmutable( QString::fromLatin1( "QuoteString" ) ))
03641 self()->mQuoteString = v;
03642 }
03643
03647 static
03648 QString quoteString()
03649 {
03650 return self()->mQuoteString;
03651 }
03652
03656 ItemString *quoteStringItem()
03657 {
03658 return mQuoteStringItem;
03659 }
03660
03664 static
03665 void setAllowOutOfOfficeSettings( bool v )
03666 {
03667 if (!self()->isImmutable( QString::fromLatin1( "AllowOutOfOfficeSettings" ) ))
03668 self()->mAllowOutOfOfficeSettings = v;
03669 }
03670
03674 static
03675 bool allowOutOfOfficeSettings()
03676 {
03677 return self()->mAllowOutOfOfficeSettings;
03678 }
03679
03683 ItemBool *allowOutOfOfficeSettingsItem()
03684 {
03685 return mAllowOutOfOfficeSettingsItem;
03686 }
03687
03691 static
03692 void setAllowOutOfOfficeUploadButNoSettings( bool v )
03693 {
03694 if (!self()->isImmutable( QString::fromLatin1( "AllowOutOfOfficeUploadButNoSettings" ) ))
03695 self()->mAllowOutOfOfficeUploadButNoSettings = v;
03696 }
03697
03701 static
03702 bool allowOutOfOfficeUploadButNoSettings()
03703 {
03704 return self()->mAllowOutOfOfficeUploadButNoSettings;
03705 }
03706
03710 ItemBool *allowOutOfOfficeUploadButNoSettingsItem()
03711 {
03712 return mAllowOutOfOfficeUploadButNoSettingsItem;
03713 }
03714
03718 static
03719 void setOutOfOfficeDomain( const QString & v )
03720 {
03721 if (!self()->isImmutable( QString::fromLatin1( "OutOfOfficeDomain" ) ))
03722 self()->mOutOfOfficeDomain = v;
03723 }
03724
03728 static
03729 QString outOfOfficeDomain()
03730 {
03731 return self()->mOutOfOfficeDomain;
03732 }
03733
03737 ItemString *outOfOfficeDomainItem()
03738 {
03739 return mOutOfOfficeDomainItem;
03740 }
03741
03745 static
03746 void setOutOfOfficeReactToSpam( bool v )
03747 {
03748 if (!self()->isImmutable( QString::fromLatin1( "OutOfOfficeReactToSpam" ) ))
03749 self()->mOutOfOfficeReactToSpam = v;
03750 }
03751
03755 static
03756 bool outOfOfficeReactToSpam()
03757 {
03758 return self()->mOutOfOfficeReactToSpam;
03759 }
03760
03764 ItemBool *outOfOfficeReactToSpamItem()
03765 {
03766 return mOutOfOfficeReactToSpamItem;
03767 }
03768
03772 static
03773 void setCheckOutOfOfficeOnStartup( bool v )
03774 {
03775 if (!self()->isImmutable( QString::fromLatin1( "CheckOutOfOfficeOnStartup" ) ))
03776 self()->mCheckOutOfOfficeOnStartup = v;
03777 }
03778
03782 static
03783 bool checkOutOfOfficeOnStartup()
03784 {
03785 return self()->mCheckOutOfOfficeOnStartup;
03786 }
03787
03791 ItemBool *checkOutOfOfficeOnStartupItem()
03792 {
03793 return mCheckOutOfOfficeOnStartupItem;
03794 }
03795
03799 static
03800 void setEnableFavoriteFolderView( bool v )
03801 {
03802 if (!self()->isImmutable( QString::fromLatin1( "EnableFavoriteFolderView" ) ))
03803 self()->mEnableFavoriteFolderView = v;
03804 }
03805
03809 static
03810 bool enableFavoriteFolderView()
03811 {
03812 return self()->mEnableFavoriteFolderView;
03813 }
03814
03818 ItemBool *enableFavoriteFolderViewItem()
03819 {
03820 return mEnableFavoriteFolderViewItem;
03821 }
03822
03826 static
03827 void setFolderViewSplitterPosition( const QValueList<int> & v )
03828 {
03829 if (!self()->isImmutable( QString::fromLatin1( "FolderViewSplitterPosition" ) ))
03830 self()->mFolderViewSplitterPosition = v;
03831 }
03832
03836 static
03837 QValueList<int> folderViewSplitterPosition()
03838 {
03839 return self()->mFolderViewSplitterPosition;
03840 }
03841
03845 ItemIntList *folderViewSplitterPositionItem()
03846 {
03847 return mFolderViewSplitterPositionItem;
03848 }
03849
03853 static
03854 void setFavoriteFolderIds( const QValueList<int> & v )
03855 {
03856 if (!self()->isImmutable( QString::fromLatin1( "FavoriteFolderIds" ) ))
03857 self()->mFavoriteFolderIds = v;
03858 }
03859
03863 static
03864 QValueList<int> favoriteFolderIds()
03865 {
03866 return self()->mFavoriteFolderIds;
03867 }
03868
03872 ItemIntList *favoriteFolderIdsItem()
03873 {
03874 return mFavoriteFolderIdsItem;
03875 }
03876
03880 static
03881 void setFavoriteFolderNames( const QStringList & v )
03882 {
03883 if (!self()->isImmutable( QString::fromLatin1( "FavoriteFolderNames" ) ))
03884 self()->mFavoriteFolderNames = v;
03885 }
03886
03890 static
03891 QStringList favoriteFolderNames()
03892 {
03893 return self()->mFavoriteFolderNames;
03894 }
03895
03899 ItemStringList *favoriteFolderNamesItem()
03900 {
03901 return mFavoriteFolderNamesItem;
03902 }
03903
03907 static
03908 void setFavoriteFolderViewSeenInboxes( const QValueList<int> & v )
03909 {
03910 if (!self()->isImmutable( QString::fromLatin1( "FavoriteFolderViewSeenInboxes" ) ))
03911 self()->mFavoriteFolderViewSeenInboxes = v;
03912 }
03913
03917 static
03918 QValueList<int> favoriteFolderViewSeenInboxes()
03919 {
03920 return self()->mFavoriteFolderViewSeenInboxes;
03921 }
03922
03926 ItemIntList *favoriteFolderViewSeenInboxesItem()
03927 {
03928 return mFavoriteFolderViewSeenInboxesItem;
03929 }
03930
03931 static
03932 void writeConfig()
03933 {
03934 static_cast<KConfigSkeleton*>(self())->writeConfig();
03935 }
03936 protected:
03937 GlobalSettingsBase();
03938 static GlobalSettingsBase *mSelf;
03939
03940
03941
03942 bool mDelayedMarkAsRead;
03943 uint mDelayedMarkTime;
03944 int mActionEnterFolder;
03945 int mNetworkState;
03946 int mLoopOnGotoUnread;
03947 bool mShowPopupAfterDnD;
03948 bool mExcludeImportantMailFromExpiry;
03949 int mSendOnCheck;
03950 bool mAutoLostFoundMove;
03951 bool mAllowLocalFlags;
03952
03953
03954 int mMinimumCheckInterval;
03955
03956
03957 QString mLastSelectedFolder;
03958
03959
03960 bool mDisregardUmask;
03961 bool mSystemTrayEnabled;
03962 int mSystemTrayPolicy;
03963 bool mCloseDespiteSystemTray;
03964 bool mVerboseNewMailNotification;
03965 QString mExternalEditor;
03966 bool mUseExternalEditor;
03967 int mCustHeaderCount;
03968 int mReplyCurrentLanguage;
03969 int mReplyLanguagesCount;
03970 int mFolderLoadingTimeout;
03971 int mQuotaUnit;
03972 int mCloseToQuotaThreshold;
03973
03974
03975 bool mGroupwareEnabled;
03976 bool mLegacyMangleFromToHeaders;
03977 bool mLegacyBodyInvites;
03978 bool mExchangeCompatibleInvitations;
03979 bool mOutlookCompatibleInvitationReplyComments;
03980 bool mAutomaticSending;
03981 int mAskForCommentWhenReactingToInvitation;
03982 bool mDeleteInvitationEmailsAfterSendingReply;
03983 bool mShowToltecReplacementText;
03984 QString mToltecReplacementText;
03985
03986
03987 bool mTheIMAPResourceEnabled;
03988 bool mHideGroupwareFolders;
03989 bool mShowOnlyGroupwareFoldersForGroupwareAccount;
03990 int mTheIMAPResourceStorageFormat;
03991 QString mTheIMAPResourceFolderParent;
03992 int mTheIMAPResourceAccount;
03993 int mTheIMAPResourceFolderLanguage;
03994 bool mFilterGroupwareFolders;
03995 QValueList<int> mFilterSourceFolders;
03996 bool mImmediatlySyncDIMAPOnGroupwareChanges;
03997
03998
03999 int mMsgDictSizeHint;
04000 QString mPreviousNewFeaturesMD5;
04001
04002
04003 int mMaxConnectionsPerHost;
04004
04005
04006 bool mQuickSearchActive;
04007 bool mHideLocalInbox;
04008
04009
04010 bool mForwardingInlineByDefault;
04011 bool mAllowSemicolonAsAddressSeparator;
04012 bool mForceReplyCharset;
04013 QString mAutoTextSignature;
04014 bool mStickyIdentity;
04015 bool mStickyFcc;
04016 bool mStickyTransport;
04017 bool mWordWrap;
04018 bool mUseFixedFont;
04019 int mLineWrapWidth;
04020 bool mTooManyRecipients;
04021 int mRecipientThreshold;
04022 uint mPreviousIdentity;
04023 QString mPreviousFcc;
04024 QStringList mTransportHistory;
04025 QString mCurrentTransport;
04026 QString mDefaultTransport;
04027 int mMaxTransportEntries;
04028 bool mOutlookCompatibleAttachments;
04029 bool mUseHtmlMarkup;
04030 bool mPgpAutoSign;
04031 bool mPgpAutoEncrypt;
04032 bool mNeverEncryptDrafts;
04033 QString mChiasmusKey;
04034 QString mChiasmusOptions;
04035 bool mConfirmBeforeSend;
04036 bool mRequestMDN;
04037 bool mShowRecentAddressesInComposer;
04038 int mHeaders;
04039 int mCompletionMode;
04040 bool mAutoSpellChecking;
04041 bool mShowForgottenAttachmentWarning;
04042 QStringList mAttachmentKeywords;
04043 bool mShowMessagePartDialogOnAttach;
04044 int mAutosaveInterval;
04045 bool mPrependSignature;
04046 QStringList mReplyPrefixes;
04047 bool mReplaceReplyPrefix;
04048 QStringList mForwardPrefixes;
04049 bool mReplaceForwardPrefix;
04050 bool mSmartQuote;
04051 bool mStripSignature;
04052 bool mQuoteSelectionOnly;
04053 int mAddresseeSelectorType;
04054 int mRecipientsEditorType;
04055 int mSecondRecipientTypeDefault;
04056 int mMaximumRecipients;
04057 QStringList mCustomTemplates;
04058 QStringList mMimetypesToStripWhenInlineForwarding;
04059 int mMaximumAttachmentSize;
04060 bool mShowSnippetManager;
04061 QValueList<int> mSnippetSplitterPosition;
04062 bool mShowGnuPGAuditLogAfterSuccessfulSignEncrypt;
04063
04064
04065 bool mUseDefaultFonts;
04066 QFont mComposerFont;
04067 QFont mFixedFont;
04068
04069
04070 QSize mComposerSize;
04071
04072
04073 bool mCloseAfterReplyOrForward;
04074 bool mUseDefaultColors;
04075 QColor mForegroundColor;
04076 QColor mBackgroundColor;
04077 QString mFallbackCharacterEncoding;
04078 QString mOverrideCharacterEncoding;
04079 bool mShowEmoticons;
04080 bool mShowExpandQuotesMark;
04081 int mCollapseQuoteLevelSpin;
04082 bool mShrinkQuotes;
04083 QString mChiasmusDecryptionKey;
04084 QString mChiasmusDecryptionOptions;
04085 bool mShowUserAgent;
04086 bool mAllowAttachmentDeletion;
04087 bool mAllowAttachmentEditing;
04088 bool mAlwaysDecrypt;
04089
04090
04091 bool mAutomaticDecrypt;
04092
04093
04094 bool mSendMDNsWithEmptySender;
04095
04096
04097 bool mPhrasesConverted;
04098 QString mTemplateNewMessage;
04099 QString mTemplateReply;
04100 QString mTemplateReplyAll;
04101 QString mTemplateForward;
04102 QString mQuoteString;
04103
04104
04105 bool mAllowOutOfOfficeSettings;
04106 bool mAllowOutOfOfficeUploadButNoSettings;
04107 QString mOutOfOfficeDomain;
04108 bool mOutOfOfficeReactToSpam;
04109 bool mCheckOutOfOfficeOnStartup;
04110
04111
04112 bool mEnableFavoriteFolderView;
04113 QValueList<int> mFolderViewSplitterPosition;
04114 QValueList<int> mFavoriteFolderIds;
04115 QStringList mFavoriteFolderNames;
04116 QValueList<int> mFavoriteFolderViewSeenInboxes;
04117
04118 private:
04119 ItemBool *mDelayedMarkAsReadItem;
04120 ItemUInt *mDelayedMarkTimeItem;
04121 ItemEnum *mActionEnterFolderItem;
04122 ItemEnum *mNetworkStateItem;
04123 ItemEnum *mLoopOnGotoUnreadItem;
04124 ItemBool *mShowPopupAfterDnDItem;
04125 ItemBool *mExcludeImportantMailFromExpiryItem;
04126 ItemEnum *mSendOnCheckItem;
04127 ItemBool *mAutoLostFoundMoveItem;
04128 ItemBool *mAllowLocalFlagsItem;
04129 ItemInt *mMinimumCheckIntervalItem;
04130 ItemString *mLastSelectedFolderItem;
04131 ItemBool *mDisregardUmaskItem;
04132 ItemBool *mSystemTrayEnabledItem;
04133 ItemEnum *mSystemTrayPolicyItem;
04134 ItemBool *mCloseDespiteSystemTrayItem;
04135 ItemBool *mVerboseNewMailNotificationItem;
04136 ItemString *mExternalEditorItem;
04137 ItemBool *mUseExternalEditorItem;
04138 ItemInt *mCustHeaderCountItem;
04139 ItemInt *mReplyCurrentLanguageItem;
04140 ItemInt *mReplyLanguagesCountItem;
04141 ItemInt *mFolderLoadingTimeoutItem;
04142 ItemEnum *mQuotaUnitItem;
04143 ItemInt *mCloseToQuotaThresholdItem;
04144 ItemBool *mGroupwareEnabledItem;
04145 ItemBool *mLegacyMangleFromToHeadersItem;
04146 ItemBool *mLegacyBodyInvitesItem;
04147 ItemBool *mExchangeCompatibleInvitationsItem;
04148 ItemBool *mOutlookCompatibleInvitationReplyCommentsItem;
04149 ItemBool *mAutomaticSendingItem;
04150 ItemEnum *mAskForCommentWhenReactingToInvitationItem;
04151 ItemBool *mDeleteInvitationEmailsAfterSendingReplyItem;
04152 ItemBool *mShowToltecReplacementTextItem;
04153 ItemString *mToltecReplacementTextItem;
04154 ItemBool *mTheIMAPResourceEnabledItem;
04155 ItemBool *mHideGroupwareFoldersItem;
04156 ItemBool *mShowOnlyGroupwareFoldersForGroupwareAccountItem;
04157 ItemEnum *mTheIMAPResourceStorageFormatItem;
04158 ItemString *mTheIMAPResourceFolderParentItem;
04159 ItemInt *mTheIMAPResourceAccountItem;
04160 ItemInt *mTheIMAPResourceFolderLanguageItem;
04161 ItemBool *mFilterGroupwareFoldersItem;
04162 ItemIntList *mFilterSourceFoldersItem;
04163 ItemBool *mImmediatlySyncDIMAPOnGroupwareChangesItem;
04164 ItemInt *mMsgDictSizeHintItem;
04165 ItemString *mPreviousNewFeaturesMD5Item;
04166 ItemInt *mMaxConnectionsPerHostItem;
04167 ItemBool *mQuickSearchActiveItem;
04168 ItemBool *mHideLocalInboxItem;
04169 ItemBool *mForwardingInlineByDefaultItem;
04170 ItemBool *mAllowSemicolonAsAddressSeparatorItem;
04171 ItemBool *mForceReplyCharsetItem;
04172 ItemString *mAutoTextSignatureItem;
04173 ItemBool *mStickyIdentityItem;
04174 ItemBool *mStickyFccItem;
04175 ItemBool *mStickyTransportItem;
04176 ItemBool *mWordWrapItem;
04177 ItemBool *mUseFixedFontItem;
04178 ItemInt *mLineWrapWidthItem;
04179 ItemBool *mTooManyRecipientsItem;
04180 ItemInt *mRecipientThresholdItem;
04181 ItemUInt *mPreviousIdentityItem;
04182 ItemString *mPreviousFccItem;
04183 ItemStringList *mTransportHistoryItem;
04184 ItemString *mCurrentTransportItem;
04185 ItemString *mDefaultTransportItem;
04186 ItemInt *mMaxTransportEntriesItem;
04187 ItemBool *mOutlookCompatibleAttachmentsItem;
04188 ItemBool *mUseHtmlMarkupItem;
04189 ItemBool *mPgpAutoSignItem;
04190 ItemBool *mPgpAutoEncryptItem;
04191 ItemBool *mNeverEncryptDraftsItem;
04192 ItemString *mChiasmusKeyItem;
04193 ItemString *mChiasmusOptionsItem;
04194 ItemBool *mConfirmBeforeSendItem;
04195 ItemBool *mRequestMDNItem;
04196 ItemBool *mShowRecentAddressesInComposerItem;
04197 ItemInt *mHeadersItem;
04198 ItemInt *mCompletionModeItem;
04199 ItemBool *mAutoSpellCheckingItem;
04200 ItemBool *mShowForgottenAttachmentWarningItem;
04201 ItemStringList *mAttachmentKeywordsItem;
04202 ItemBool *mShowMessagePartDialogOnAttachItem;
04203 ItemInt *mAutosaveIntervalItem;
04204 ItemBool *mPrependSignatureItem;
04205 ItemStringList *mReplyPrefixesItem;
04206 ItemBool *mReplaceReplyPrefixItem;
04207 ItemStringList *mForwardPrefixesItem;
04208 ItemBool *mReplaceForwardPrefixItem;
04209 ItemBool *mSmartQuoteItem;
04210 ItemBool *mStripSignatureItem;
04211 ItemBool *mQuoteSelectionOnlyItem;
04212 ItemEnum *mAddresseeSelectorTypeItem;
04213 ItemEnum *mRecipientsEditorTypeItem;
04214 ItemEnum *mSecondRecipientTypeDefaultItem;
04215 ItemInt *mMaximumRecipientsItem;
04216 ItemStringList *mCustomTemplatesItem;
04217 ItemStringList *mMimetypesToStripWhenInlineForwardingItem;
04218 ItemInt *mMaximumAttachmentSizeItem;
04219 ItemBool *mShowSnippetManagerItem;
04220 ItemIntList *mSnippetSplitterPositionItem;
04221 ItemBool *mShowGnuPGAuditLogAfterSuccessfulSignEncryptItem;
04222 ItemBool *mUseDefaultFontsItem;
04223 ItemFont *mComposerFontItem;
04224 ItemFont *mFixedFontItem;
04225 ItemSize *mComposerSizeItem;
04226 ItemBool *mCloseAfterReplyOrForwardItem;
04227 ItemBool *mUseDefaultColorsItem;
04228 ItemColor *mForegroundColorItem;
04229 ItemColor *mBackgroundColorItem;
04230 ItemString *mFallbackCharacterEncodingItem;
04231 ItemString *mOverrideCharacterEncodingItem;
04232 ItemBool *mShowEmoticonsItem;
04233 ItemBool *mShowExpandQuotesMarkItem;
04234 ItemInt *mCollapseQuoteLevelSpinItem;
04235 ItemBool *mShrinkQuotesItem;
04236 ItemString *mChiasmusDecryptionKeyItem;
04237 ItemString *mChiasmusDecryptionOptionsItem;
04238 ItemBool *mShowUserAgentItem;
04239 ItemBool *mAllowAttachmentDeletionItem;
04240 ItemBool *mAllowAttachmentEditingItem;
04241 ItemBool *mAlwaysDecryptItem;
04242 ItemBool *mAutomaticDecryptItem;
04243 ItemBool *mSendMDNsWithEmptySenderItem;
04244 ItemBool *mPhrasesConvertedItem;
04245 ItemString *mTemplateNewMessageItem;
04246 ItemString *mTemplateReplyItem;
04247 ItemString *mTemplateReplyAllItem;
04248 ItemString *mTemplateForwardItem;
04249 ItemString *mQuoteStringItem;
04250 ItemBool *mAllowOutOfOfficeSettingsItem;
04251 ItemBool *mAllowOutOfOfficeUploadButNoSettingsItem;
04252 ItemString *mOutOfOfficeDomainItem;
04253 ItemBool *mOutOfOfficeReactToSpamItem;
04254 ItemBool *mCheckOutOfOfficeOnStartupItem;
04255 ItemBool *mEnableFavoriteFolderViewItem;
04256 ItemIntList *mFolderViewSplitterPositionItem;
04257 ItemIntList *mFavoriteFolderIdsItem;
04258 ItemStringList *mFavoriteFolderNamesItem;
04259 ItemIntList *mFavoriteFolderViewSeenInboxesItem;
04260 };
04261
04262 #endif
04263
|