kmail

globalsettings_base.h

00001 // This file is generated by kconfig_compiler from kmail.kcfg.
00002 // All changes you do to this file will be lost.
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, SelectNewest, SelectOldest, 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 setOutlookCompatibleInvitationReplyComments( bool v )
00870     {
00871       if (!self()->isImmutable( QString::fromLatin1( "OutlookCompatibleInvitationReplyComments" ) ))
00872         self()->mOutlookCompatibleInvitationReplyComments = v;
00873     }
00874 
00878     static
00879     bool outlookCompatibleInvitationReplyComments()
00880     {
00881       return self()->mOutlookCompatibleInvitationReplyComments;
00882     }
00883 
00887     ItemBool *outlookCompatibleInvitationReplyCommentsItem()
00888     {
00889       return mOutlookCompatibleInvitationReplyCommentsItem;
00890     }
00891 
00895     static
00896     void setAutomaticSending( bool v )
00897     {
00898       if (!self()->isImmutable( QString::fromLatin1( "AutomaticSending" ) ))
00899         self()->mAutomaticSending = v;
00900     }
00901 
00905     static
00906     bool automaticSending()
00907     {
00908       return self()->mAutomaticSending;
00909     }
00910 
00914     ItemBool *automaticSendingItem()
00915     {
00916       return mAutomaticSendingItem;
00917     }
00918 
00922     static
00923     void setAskForCommentWhenReactingToInvitation( int v )
00924     {
00925       if (!self()->isImmutable( QString::fromLatin1( "AskForCommentWhenReactingToInvitation" ) ))
00926         self()->mAskForCommentWhenReactingToInvitation = v;
00927     }
00928 
00932     static
00933     int askForCommentWhenReactingToInvitation()
00934     {
00935       return self()->mAskForCommentWhenReactingToInvitation;
00936     }
00937 
00941     ItemEnum *askForCommentWhenReactingToInvitationItem()
00942     {
00943       return mAskForCommentWhenReactingToInvitationItem;
00944     }
00945 
00949     static
00950     void setDeleteInvitationEmailsAfterSendingReply( bool v )
00951     {
00952       if (!self()->isImmutable( QString::fromLatin1( "DeleteInvitationEmailsAfterSendingReply" ) ))
00953         self()->mDeleteInvitationEmailsAfterSendingReply = v;
00954     }
00955 
00959     static
00960     bool deleteInvitationEmailsAfterSendingReply()
00961     {
00962       return self()->mDeleteInvitationEmailsAfterSendingReply;
00963     }
00964 
00968     ItemBool *deleteInvitationEmailsAfterSendingReplyItem()
00969     {
00970       return mDeleteInvitationEmailsAfterSendingReplyItem;
00971     }
00972 
00976     static
00977     void setShowToltecReplacementText( bool v )
00978     {
00979       if (!self()->isImmutable( QString::fromLatin1( "ShowToltecReplacementText" ) ))
00980         self()->mShowToltecReplacementText = v;
00981     }
00982 
00986     static
00987     bool showToltecReplacementText()
00988     {
00989       return self()->mShowToltecReplacementText;
00990     }
00991 
00995     ItemBool *showToltecReplacementTextItem()
00996     {
00997       return mShowToltecReplacementTextItem;
00998     }
00999 
01003     static
01004     void setToltecReplacementText( const QString & v )
01005     {
01006       if (!self()->isImmutable( QString::fromLatin1( "ToltecReplacementText" ) ))
01007         self()->mToltecReplacementText = v;
01008     }
01009 
01013     static
01014     QString toltecReplacementText()
01015     {
01016       return self()->mToltecReplacementText;
01017     }
01018 
01022     ItemString *toltecReplacementTextItem()
01023     {
01024       return mToltecReplacementTextItem;
01025     }
01026 
01030     static
01031     void setTheIMAPResourceEnabled( bool v )
01032     {
01033       if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceEnabled" ) ))
01034         self()->mTheIMAPResourceEnabled = v;
01035     }
01036 
01040     static
01041     bool theIMAPResourceEnabled()
01042     {
01043       return self()->mTheIMAPResourceEnabled;
01044     }
01045 
01049     ItemBool *theIMAPResourceEnabledItem()
01050     {
01051       return mTheIMAPResourceEnabledItem;
01052     }
01053 
01057     static
01058     void setHideGroupwareFolders( bool v )
01059     {
01060       if (!self()->isImmutable( QString::fromLatin1( "HideGroupwareFolders" ) ))
01061         self()->mHideGroupwareFolders = v;
01062     }
01063 
01067     static
01068     bool hideGroupwareFolders()
01069     {
01070       return self()->mHideGroupwareFolders;
01071     }
01072 
01076     ItemBool *hideGroupwareFoldersItem()
01077     {
01078       return mHideGroupwareFoldersItem;
01079     }
01080 
01084     static
01085     void setShowOnlyGroupwareFoldersForGroupwareAccount( bool v )
01086     {
01087       if (!self()->isImmutable( QString::fromLatin1( "ShowOnlyGroupwareFoldersForGroupwareAccount" ) ))
01088         self()->mShowOnlyGroupwareFoldersForGroupwareAccount = v;
01089     }
01090 
01094     static
01095     bool showOnlyGroupwareFoldersForGroupwareAccount()
01096     {
01097       return self()->mShowOnlyGroupwareFoldersForGroupwareAccount;
01098     }
01099 
01103     ItemBool *showOnlyGroupwareFoldersForGroupwareAccountItem()
01104     {
01105       return mShowOnlyGroupwareFoldersForGroupwareAccountItem;
01106     }
01107 
01111     static
01112     void setTheIMAPResourceStorageFormat( int v )
01113     {
01114       if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceStorageFormat" ) ))
01115         self()->mTheIMAPResourceStorageFormat = v;
01116     }
01117 
01121     static
01122     int theIMAPResourceStorageFormat()
01123     {
01124       return self()->mTheIMAPResourceStorageFormat;
01125     }
01126 
01130     ItemEnum *theIMAPResourceStorageFormatItem()
01131     {
01132       return mTheIMAPResourceStorageFormatItem;
01133     }
01134 
01138     static
01139     void setTheIMAPResourceFolderParent( const QString & v )
01140     {
01141       if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceFolderParent" ) ))
01142         self()->mTheIMAPResourceFolderParent = v;
01143     }
01144 
01148     static
01149     QString theIMAPResourceFolderParent()
01150     {
01151       return self()->mTheIMAPResourceFolderParent;
01152     }
01153 
01157     ItemString *theIMAPResourceFolderParentItem()
01158     {
01159       return mTheIMAPResourceFolderParentItem;
01160     }
01161 
01165     static
01166     void setTheIMAPResourceAccount( int v )
01167     {
01168       if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceAccount" ) ))
01169         self()->mTheIMAPResourceAccount = v;
01170     }
01171 
01175     static
01176     int theIMAPResourceAccount()
01177     {
01178       return self()->mTheIMAPResourceAccount;
01179     }
01180 
01184     ItemInt *theIMAPResourceAccountItem()
01185     {
01186       return mTheIMAPResourceAccountItem;
01187     }
01188 
01192     static
01193     void setTheIMAPResourceFolderLanguage( int v )
01194     {
01195       if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceFolderLanguage" ) ))
01196         self()->mTheIMAPResourceFolderLanguage = v;
01197     }
01198 
01202     static
01203     int theIMAPResourceFolderLanguage()
01204     {
01205       return self()->mTheIMAPResourceFolderLanguage;
01206     }
01207 
01211     ItemInt *theIMAPResourceFolderLanguageItem()
01212     {
01213       return mTheIMAPResourceFolderLanguageItem;
01214     }
01215 
01219     static
01220     void setFilterGroupwareFolders( bool v )
01221     {
01222       if (!self()->isImmutable( QString::fromLatin1( "FilterGroupwareFolders" ) ))
01223         self()->mFilterGroupwareFolders = v;
01224     }
01225 
01229     static
01230     bool filterGroupwareFolders()
01231     {
01232       return self()->mFilterGroupwareFolders;
01233     }
01234 
01238     ItemBool *filterGroupwareFoldersItem()
01239     {
01240       return mFilterGroupwareFoldersItem;
01241     }
01242 
01246     static
01247     void setFilterSourceFolders( const QValueList<int> & v )
01248     {
01249       if (!self()->isImmutable( QString::fromLatin1( "FilterSourceFolders" ) ))
01250         self()->mFilterSourceFolders = v;
01251     }
01252 
01256     static
01257     QValueList<int> filterSourceFolders()
01258     {
01259       return self()->mFilterSourceFolders;
01260     }
01261 
01265     ItemIntList *filterSourceFoldersItem()
01266     {
01267       return mFilterSourceFoldersItem;
01268     }
01269 
01273     static
01274     void setImmediatlySyncDIMAPOnGroupwareChanges( bool v )
01275     {
01276       if (!self()->isImmutable( QString::fromLatin1( "ImmediatlySyncDIMAPOnGroupwareChanges" ) ))
01277         self()->mImmediatlySyncDIMAPOnGroupwareChanges = v;
01278     }
01279 
01283     static
01284     bool immediatlySyncDIMAPOnGroupwareChanges()
01285     {
01286       return self()->mImmediatlySyncDIMAPOnGroupwareChanges;
01287     }
01288 
01292     ItemBool *immediatlySyncDIMAPOnGroupwareChangesItem()
01293     {
01294       return mImmediatlySyncDIMAPOnGroupwareChangesItem;
01295     }
01296 
01300     static
01301     void setMsgDictSizeHint( int v )
01302     {
01303       if (!self()->isImmutable( QString::fromLatin1( "MsgDictSizeHint" ) ))
01304         self()->mMsgDictSizeHint = v;
01305     }
01306 
01310     static
01311     int msgDictSizeHint()
01312     {
01313       return self()->mMsgDictSizeHint;
01314     }
01315 
01319     ItemInt *msgDictSizeHintItem()
01320     {
01321       return mMsgDictSizeHintItem;
01322     }
01323 
01327     static
01328     void setPreviousNewFeaturesMD5( const QString & v )
01329     {
01330       if (!self()->isImmutable( QString::fromLatin1( "PreviousNewFeaturesMD5" ) ))
01331         self()->mPreviousNewFeaturesMD5 = v;
01332     }
01333 
01337     static
01338     QString previousNewFeaturesMD5()
01339     {
01340       return self()->mPreviousNewFeaturesMD5;
01341     }
01342 
01346     ItemString *previousNewFeaturesMD5Item()
01347     {
01348       return mPreviousNewFeaturesMD5Item;
01349     }
01350 
01354     static
01355     void setMaxConnectionsPerHost( int v )
01356     {
01357       if (v < 0)
01358       {
01359         kdDebug() << "setMaxConnectionsPerHost: value " << v << " is less than the minimum value of 0" << endl;
01360         v = 0;
01361       }
01362       if (!self()->isImmutable( QString::fromLatin1( "MaxConnectionsPerHost" ) ))
01363         self()->mMaxConnectionsPerHost = v;
01364     }
01365 
01369     static
01370     int maxConnectionsPerHost()
01371     {
01372       return self()->mMaxConnectionsPerHost;
01373     }
01374 
01378     ItemInt *maxConnectionsPerHostItem()
01379     {
01380       return mMaxConnectionsPerHostItem;
01381     }
01382 
01386     static
01387     void setQuickSearchActive( bool v )
01388     {
01389       if (!self()->isImmutable( QString::fromLatin1( "QuickSearchActive" ) ))
01390         self()->mQuickSearchActive = v;
01391     }
01392 
01396     static
01397     bool quickSearchActive()
01398     {
01399       return self()->mQuickSearchActive;
01400     }
01401 
01405     ItemBool *quickSearchActiveItem()
01406     {
01407       return mQuickSearchActiveItem;
01408     }
01409 
01413     static
01414     void setHideLocalInbox( bool v )
01415     {
01416       if (!self()->isImmutable( QString::fromLatin1( "HideLocalInbox" ) ))
01417         self()->mHideLocalInbox = v;
01418     }
01419 
01423     static
01424     bool hideLocalInbox()
01425     {
01426       return self()->mHideLocalInbox;
01427     }
01428 
01432     ItemBool *hideLocalInboxItem()
01433     {
01434       return mHideLocalInboxItem;
01435     }
01436 
01440     static
01441     void setForwardingInlineByDefault( bool v )
01442     {
01443       if (!self()->isImmutable( QString::fromLatin1( "ForwardingInlineByDefault" ) ))
01444         self()->mForwardingInlineByDefault = v;
01445     }
01446 
01450     static
01451     bool forwardingInlineByDefault()
01452     {
01453       return self()->mForwardingInlineByDefault;
01454     }
01455 
01459     ItemBool *forwardingInlineByDefaultItem()
01460     {
01461       return mForwardingInlineByDefaultItem;
01462     }
01463 
01467     static
01468     void setAllowSemicolonAsAddressSeparator( bool v )
01469     {
01470       if (!self()->isImmutable( QString::fromLatin1( "AllowSemicolonAsAddressSeparator" ) ))
01471         self()->mAllowSemicolonAsAddressSeparator = v;
01472     }
01473 
01477     static
01478     bool allowSemicolonAsAddressSeparator()
01479     {
01480       return self()->mAllowSemicolonAsAddressSeparator;
01481     }
01482 
01486     ItemBool *allowSemicolonAsAddressSeparatorItem()
01487     {
01488       return mAllowSemicolonAsAddressSeparatorItem;
01489     }
01490 
01494     static
01495     void setForceReplyCharset( bool v )
01496     {
01497       if (!self()->isImmutable( QString::fromLatin1( "ForceReplyCharset" ) ))
01498         self()->mForceReplyCharset = v;
01499     }
01500 
01504     static
01505     bool forceReplyCharset()
01506     {
01507       return self()->mForceReplyCharset;
01508     }
01509 
01513     ItemBool *forceReplyCharsetItem()
01514     {
01515       return mForceReplyCharsetItem;
01516     }
01517 
01521     static
01522     void setAutoTextSignature( const QString & v )
01523     {
01524       if (!self()->isImmutable( QString::fromLatin1( "AutoTextSignature" ) ))
01525         self()->mAutoTextSignature = v;
01526     }
01527 
01531     static
01532     QString autoTextSignature()
01533     {
01534       return self()->mAutoTextSignature;
01535     }
01536 
01540     ItemString *autoTextSignatureItem()
01541     {
01542       return mAutoTextSignatureItem;
01543     }
01544 
01548     static
01549     void setStickyIdentity( bool v )
01550     {
01551       if (!self()->isImmutable( QString::fromLatin1( "StickyIdentity" ) ))
01552         self()->mStickyIdentity = v;
01553     }
01554 
01558     static
01559     bool stickyIdentity()
01560     {
01561       return self()->mStickyIdentity;
01562     }
01563 
01567     ItemBool *stickyIdentityItem()
01568     {
01569       return mStickyIdentityItem;
01570     }
01571 
01575     static
01576     void setStickyFcc( bool v )
01577     {
01578       if (!self()->isImmutable( QString::fromLatin1( "StickyFcc" ) ))
01579         self()->mStickyFcc = v;
01580     }
01581 
01585     static
01586     bool stickyFcc()
01587     {
01588       return self()->mStickyFcc;
01589     }
01590 
01594     ItemBool *stickyFccItem()
01595     {
01596       return mStickyFccItem;
01597     }
01598 
01602     static
01603     void setStickyTransport( bool v )
01604     {
01605       if (!self()->isImmutable( QString::fromLatin1( "StickyTransport" ) ))
01606         self()->mStickyTransport = v;
01607     }
01608 
01612     static
01613     bool stickyTransport()
01614     {
01615       return self()->mStickyTransport;
01616     }
01617 
01621     ItemBool *stickyTransportItem()
01622     {
01623       return mStickyTransportItem;
01624     }
01625 
01629     static
01630     void setWordWrap( bool v )
01631     {
01632       if (!self()->isImmutable( QString::fromLatin1( "WordWrap" ) ))
01633         self()->mWordWrap = v;
01634     }
01635 
01639     static
01640     bool wordWrap()
01641     {
01642       return self()->mWordWrap;
01643     }
01644 
01648     ItemBool *wordWrapItem()
01649     {
01650       return mWordWrapItem;
01651     }
01652 
01656     static
01657     void setUseFixedFont( bool v )
01658     {
01659       if (!self()->isImmutable( QString::fromLatin1( "UseFixedFont" ) ))
01660         self()->mUseFixedFont = v;
01661     }
01662 
01666     static
01667     bool useFixedFont()
01668     {
01669       return self()->mUseFixedFont;
01670     }
01671 
01675     ItemBool *useFixedFontItem()
01676     {
01677       return mUseFixedFontItem;
01678     }
01679 
01683     static
01684     void setLineWrapWidth( int v )
01685     {
01686       if (v < 30)
01687       {
01688         kdDebug() << "setLineWrapWidth: value " << v << " is less than the minimum value of 30" << endl;
01689         v = 30;
01690       }
01691 
01692       if (v > 255)
01693       {
01694         kdDebug() << "setLineWrapWidth: value " << v << " is greater than the maximum value of 255" << endl;
01695         v = 255;
01696       }
01697 
01698       if (!self()->isImmutable( QString::fromLatin1( "LineWrapWidth" ) ))
01699         self()->mLineWrapWidth = v;
01700     }
01701 
01705     static
01706     int lineWrapWidth()
01707     {
01708       return self()->mLineWrapWidth;
01709     }
01710 
01714     ItemInt *lineWrapWidthItem()
01715     {
01716       return mLineWrapWidthItem;
01717     }
01718 
01722     static
01723     void setTooManyRecipients( bool v )
01724     {
01725       if (!self()->isImmutable( QString::fromLatin1( "TooManyRecipients" ) ))
01726         self()->mTooManyRecipients = v;
01727     }
01728 
01732     static
01733     bool tooManyRecipients()
01734     {
01735       return self()->mTooManyRecipients;
01736     }
01737 
01741     ItemBool *tooManyRecipientsItem()
01742     {
01743       return mTooManyRecipientsItem;
01744     }
01745 
01749     static
01750     void setRecipientThreshold( int v )
01751     {
01752       if (v < 1)
01753       {
01754         kdDebug() << "setRecipientThreshold: value " << v << " is less than the minimum value of 1" << endl;
01755         v = 1;
01756       }
01757 
01758       if (v > 100)
01759       {
01760         kdDebug() << "setRecipientThreshold: value " << v << " is greater than the maximum value of 100" << endl;
01761         v = 100;
01762       }
01763 
01764       if (!self()->isImmutable( QString::fromLatin1( "RecipientThreshold" ) ))
01765         self()->mRecipientThreshold = v;
01766     }
01767 
01771     static
01772     int recipientThreshold()
01773     {
01774       return self()->mRecipientThreshold;
01775     }
01776 
01780     ItemInt *recipientThresholdItem()
01781     {
01782       return mRecipientThresholdItem;
01783     }
01784 
01788     static
01789     void setPreviousIdentity( uint v )
01790     {
01791       if (!self()->isImmutable( QString::fromLatin1( "PreviousIdentity" ) ))
01792         self()->mPreviousIdentity = v;
01793     }
01794 
01798     static
01799     uint previousIdentity()
01800     {
01801       return self()->mPreviousIdentity;
01802     }
01803 
01807     ItemUInt *previousIdentityItem()
01808     {
01809       return mPreviousIdentityItem;
01810     }
01811 
01815     static
01816     void setPreviousFcc( const QString & v )
01817     {
01818       if (!self()->isImmutable( QString::fromLatin1( "PreviousFcc" ) ))
01819         self()->mPreviousFcc = v;
01820     }
01821 
01825     static
01826     QString previousFcc()
01827     {
01828       return self()->mPreviousFcc;
01829     }
01830 
01834     ItemString *previousFccItem()
01835     {
01836       return mPreviousFccItem;
01837     }
01838 
01842     static
01843     void setTransportHistory( const QStringList & v )
01844     {
01845       if (!self()->isImmutable( QString::fromLatin1( "TransportHistory" ) ))
01846         self()->mTransportHistory = v;
01847     }
01848 
01852     static
01853     QStringList transportHistory()
01854     {
01855       return self()->mTransportHistory;
01856     }
01857 
01861     ItemStringList *transportHistoryItem()
01862     {
01863       return mTransportHistoryItem;
01864     }
01865 
01869     static
01870     void setCurrentTransport( const QString & v )
01871     {
01872       if (!self()->isImmutable( QString::fromLatin1( "CurrentTransport" ) ))
01873         self()->mCurrentTransport = v;
01874     }
01875 
01879     static
01880     QString currentTransport()
01881     {
01882       return self()->mCurrentTransport;
01883     }
01884 
01888     ItemString *currentTransportItem()
01889     {
01890       return mCurrentTransportItem;
01891     }
01892 
01896     static
01897     void setDefaultTransport( const QString & v )
01898     {
01899       if (!self()->isImmutable( QString::fromLatin1( "DefaultTransport" ) ))
01900         self()->mDefaultTransport = v;
01901     }
01902 
01906     static
01907     QString defaultTransport()
01908     {
01909       return self()->mDefaultTransport;
01910     }
01911 
01915     ItemString *defaultTransportItem()
01916     {
01917       return mDefaultTransportItem;
01918     }
01919 
01923     static
01924     void setMaxTransportEntries( int v )
01925     {
01926       if (!self()->isImmutable( QString::fromLatin1( "MaxTransportEntries" ) ))
01927         self()->mMaxTransportEntries = v;
01928     }
01929 
01933     static
01934     int maxTransportEntries()
01935     {
01936       return self()->mMaxTransportEntries;
01937     }
01938 
01942     ItemInt *maxTransportEntriesItem()
01943     {
01944       return mMaxTransportEntriesItem;
01945     }
01946 
01950     static
01951     void setOutlookCompatibleAttachments( bool v )
01952     {
01953       if (!self()->isImmutable( QString::fromLatin1( "OutlookCompatibleAttachments" ) ))
01954         self()->mOutlookCompatibleAttachments = v;
01955     }
01956 
01960     static
01961     bool outlookCompatibleAttachments()
01962     {
01963       return self()->mOutlookCompatibleAttachments;
01964     }
01965 
01969     ItemBool *outlookCompatibleAttachmentsItem()
01970     {
01971       return mOutlookCompatibleAttachmentsItem;
01972     }
01973 
01977     static
01978     void setUseHtmlMarkup( bool v )
01979     {
01980       if (!self()->isImmutable( QString::fromLatin1( "UseHtmlMarkup" ) ))
01981         self()->mUseHtmlMarkup = v;
01982     }
01983 
01987     static
01988     bool useHtmlMarkup()
01989     {
01990       return self()->mUseHtmlMarkup;
01991     }
01992 
01996     ItemBool *useHtmlMarkupItem()
01997     {
01998       return mUseHtmlMarkupItem;
01999     }
02000 
02004     static
02005     void setPgpAutoSign( bool v )
02006     {
02007       if (!self()->isImmutable( QString::fromLatin1( "PgpAutoSign" ) ))
02008         self()->mPgpAutoSign = v;
02009     }
02010 
02014     static
02015     bool pgpAutoSign()
02016     {
02017       return self()->mPgpAutoSign;
02018     }
02019 
02023     ItemBool *pgpAutoSignItem()
02024     {
02025       return mPgpAutoSignItem;
02026     }
02027 
02031     static
02032     void setPgpAutoEncrypt( bool v )
02033     {
02034       if (!self()->isImmutable( QString::fromLatin1( "PgpAutoEncrypt" ) ))
02035         self()->mPgpAutoEncrypt = v;
02036     }
02037 
02041     static
02042     bool pgpAutoEncrypt()
02043     {
02044       return self()->mPgpAutoEncrypt;
02045     }
02046 
02050     ItemBool *pgpAutoEncryptItem()
02051     {
02052       return mPgpAutoEncryptItem;
02053     }
02054 
02058     static
02059     void setNeverEncryptDrafts( bool v )
02060     {
02061       if (!self()->isImmutable( QString::fromLatin1( "NeverEncryptDrafts" ) ))
02062         self()->mNeverEncryptDrafts = v;
02063     }
02064 
02068     static
02069     bool neverEncryptDrafts()
02070     {
02071       return self()->mNeverEncryptDrafts;
02072     }
02073 
02077     ItemBool *neverEncryptDraftsItem()
02078     {
02079       return mNeverEncryptDraftsItem;
02080     }
02081 
02085     static
02086     void setChiasmusKey( const QString & v )
02087     {
02088       if (!self()->isImmutable( QString::fromLatin1( "ChiasmusKey" ) ))
02089         self()->mChiasmusKey = v;
02090     }
02091 
02095     static
02096     QString chiasmusKey()
02097     {
02098       return self()->mChiasmusKey;
02099     }
02100 
02104     ItemString *chiasmusKeyItem()
02105     {
02106       return mChiasmusKeyItem;
02107     }
02108 
02112     static
02113     void setChiasmusOptions( const QString & v )
02114     {
02115       if (!self()->isImmutable( QString::fromLatin1( "ChiasmusOptions" ) ))
02116         self()->mChiasmusOptions = v;
02117     }
02118 
02122     static
02123     QString chiasmusOptions()
02124     {
02125       return self()->mChiasmusOptions;
02126     }
02127 
02131     ItemString *chiasmusOptionsItem()
02132     {
02133       return mChiasmusOptionsItem;
02134     }
02135 
02139     static
02140     void setConfirmBeforeSend( bool v )
02141     {
02142       if (!self()->isImmutable( QString::fromLatin1( "ConfirmBeforeSend" ) ))
02143         self()->mConfirmBeforeSend = v;
02144     }
02145 
02149     static
02150     bool confirmBeforeSend()
02151     {
02152       return self()->mConfirmBeforeSend;
02153     }
02154 
02158     ItemBool *confirmBeforeSendItem()
02159     {
02160       return mConfirmBeforeSendItem;
02161     }
02162 
02166     static
02167     void setRequestMDN( bool v )
02168     {
02169       if (!self()->isImmutable( QString::fromLatin1( "RequestMDN" ) ))
02170         self()->mRequestMDN = v;
02171     }
02172 
02176     static
02177     bool requestMDN()
02178     {
02179       return self()->mRequestMDN;
02180     }
02181 
02185     ItemBool *requestMDNItem()
02186     {
02187       return mRequestMDNItem;
02188     }
02189 
02193     static
02194     void setShowRecentAddressesInComposer( bool v )
02195     {
02196       if (!self()->isImmutable( QString::fromLatin1( "ShowRecentAddressesInComposer" ) ))
02197         self()->mShowRecentAddressesInComposer = v;
02198     }
02199 
02203     static
02204     bool showRecentAddressesInComposer()
02205     {
02206       return self()->mShowRecentAddressesInComposer;
02207     }
02208 
02212     ItemBool *showRecentAddressesInComposerItem()
02213     {
02214       return mShowRecentAddressesInComposerItem;
02215     }
02216 
02220     static
02221     void setHeaders( int v )
02222     {
02223       if (!self()->isImmutable( QString::fromLatin1( "Headers" ) ))
02224         self()->mHeaders = v;
02225     }
02226 
02230     static
02231     int headers()
02232     {
02233       return self()->mHeaders;
02234     }
02235 
02239     ItemInt *headersItem()
02240     {
02241       return mHeadersItem;
02242     }
02243 
02247     static
02248     void setCompletionMode( int v )
02249     {
02250       if (!self()->isImmutable( QString::fromLatin1( "CompletionMode" ) ))
02251         self()->mCompletionMode = v;
02252     }
02253 
02257     static
02258     int completionMode()
02259     {
02260       return self()->mCompletionMode;
02261     }
02262 
02266     ItemInt *completionModeItem()
02267     {
02268       return mCompletionModeItem;
02269     }
02270 
02274     static
02275     void setAutoSpellChecking( bool v )
02276     {
02277       if (!self()->isImmutable( QString::fromLatin1( "AutoSpellChecking" ) ))
02278         self()->mAutoSpellChecking = v;
02279     }
02280 
02284     static
02285     bool autoSpellChecking()
02286     {
02287       return self()->mAutoSpellChecking;
02288     }
02289 
02293     ItemBool *autoSpellCheckingItem()
02294     {
02295       return mAutoSpellCheckingItem;
02296     }
02297 
02301     static
02302     void setShowForgottenAttachmentWarning( bool v )
02303     {
02304       if (!self()->isImmutable( QString::fromLatin1( "ShowForgottenAttachmentWarning" ) ))
02305         self()->mShowForgottenAttachmentWarning = v;
02306     }
02307 
02311     static
02312     bool showForgottenAttachmentWarning()
02313     {
02314       return self()->mShowForgottenAttachmentWarning;
02315     }
02316 
02320     ItemBool *showForgottenAttachmentWarningItem()
02321     {
02322       return mShowForgottenAttachmentWarningItem;
02323     }
02324 
02328     static
02329     void setAttachmentKeywords( const QStringList & v )
02330     {
02331       if (!self()->isImmutable( QString::fromLatin1( "AttachmentKeywords" ) ))
02332         self()->mAttachmentKeywords = v;
02333     }
02334 
02338     static
02339     QStringList attachmentKeywords()
02340     {
02341       return self()->mAttachmentKeywords;
02342     }
02343 
02347     ItemStringList *attachmentKeywordsItem()
02348     {
02349       return mAttachmentKeywordsItem;
02350     }
02351 
02355     static
02356     void setShowMessagePartDialogOnAttach( bool v )
02357     {
02358       if (!self()->isImmutable( QString::fromLatin1( "ShowMessagePartDialogOnAttach" ) ))
02359         self()->mShowMessagePartDialogOnAttach = v;
02360     }
02361 
02365     static
02366     bool showMessagePartDialogOnAttach()
02367     {
02368       return self()->mShowMessagePartDialogOnAttach;
02369     }
02370 
02374     ItemBool *showMessagePartDialogOnAttachItem()
02375     {
02376       return mShowMessagePartDialogOnAttachItem;
02377     }
02378 
02382     static
02383     void setAutosaveInterval( int v )
02384     {
02385       if (!self()->isImmutable( QString::fromLatin1( "AutosaveInterval" ) ))
02386         self()->mAutosaveInterval = v;
02387     }
02388 
02392     static
02393     int autosaveInterval()
02394     {
02395       return self()->mAutosaveInterval;
02396     }
02397 
02401     ItemInt *autosaveIntervalItem()
02402     {
02403       return mAutosaveIntervalItem;
02404     }
02405 
02409     static
02410     void setPrependSignature( bool v )
02411     {
02412       if (!self()->isImmutable( QString::fromLatin1( "PrependSignature" ) ))
02413         self()->mPrependSignature = v;
02414     }
02415 
02419     static
02420     bool prependSignature()
02421     {
02422       return self()->mPrependSignature;
02423     }
02424 
02428     ItemBool *prependSignatureItem()
02429     {
02430       return mPrependSignatureItem;
02431     }
02432 
02436     static
02437     void setReplyPrefixes( const QStringList & v )
02438     {
02439       if (!self()->isImmutable( QString::fromLatin1( "ReplyPrefixes" ) ))
02440         self()->mReplyPrefixes = v;
02441     }
02442 
02446     static
02447     QStringList replyPrefixes()
02448     {
02449       return self()->mReplyPrefixes;
02450     }
02451 
02455     ItemStringList *replyPrefixesItem()
02456     {
02457       return mReplyPrefixesItem;
02458     }
02459 
02463     static
02464     void setReplaceReplyPrefix( bool v )
02465     {
02466       if (!self()->isImmutable( QString::fromLatin1( "ReplaceReplyPrefix" ) ))
02467         self()->mReplaceReplyPrefix = v;
02468     }
02469 
02473     static
02474     bool replaceReplyPrefix()
02475     {
02476       return self()->mReplaceReplyPrefix;
02477     }
02478 
02482     ItemBool *replaceReplyPrefixItem()
02483     {
02484       return mReplaceReplyPrefixItem;
02485     }
02486 
02490     static
02491     void setForwardPrefixes( const QStringList & v )
02492     {
02493       if (!self()->isImmutable( QString::fromLatin1( "ForwardPrefixes" ) ))
02494         self()->mForwardPrefixes = v;
02495     }
02496 
02500     static
02501     QStringList forwardPrefixes()
02502     {
02503       return self()->mForwardPrefixes;
02504     }
02505 
02509     ItemStringList *forwardPrefixesItem()
02510     {
02511       return mForwardPrefixesItem;
02512     }
02513 
02517     static
02518     void setReplaceForwardPrefix( bool v )
02519     {
02520       if (!self()->isImmutable( QString::fromLatin1( "ReplaceForwardPrefix" ) ))
02521         self()->mReplaceForwardPrefix = v;
02522     }
02523 
02527     static
02528     bool replaceForwardPrefix()
02529     {
02530       return self()->mReplaceForwardPrefix;
02531     }
02532 
02536     ItemBool *replaceForwardPrefixItem()
02537     {
02538       return mReplaceForwardPrefixItem;
02539     }
02540 
02544     static
02545     void setSmartQuote( bool v )
02546     {
02547       if (!self()->isImmutable( QString::fromLatin1( "SmartQuote" ) ))
02548         self()->mSmartQuote = v;
02549     }
02550 
02554     static
02555     bool smartQuote()
02556     {
02557       return self()->mSmartQuote;
02558     }
02559 
02563     ItemBool *smartQuoteItem()
02564     {
02565       return mSmartQuoteItem;
02566     }
02567 
02571     static
02572     void setStripSignature( bool v )
02573     {
02574       if (!self()->isImmutable( QString::fromLatin1( "StripSignature" ) ))
02575         self()->mStripSignature = v;
02576     }
02577 
02581     static
02582     bool stripSignature()
02583     {
02584       return self()->mStripSignature;
02585     }
02586 
02590     ItemBool *stripSignatureItem()
02591     {
02592       return mStripSignatureItem;
02593     }
02594 
02598     static
02599     void setQuoteSelectionOnly( bool v )
02600     {
02601       if (!self()->isImmutable( QString::fromLatin1( "QuoteSelectionOnly" ) ))
02602         self()->mQuoteSelectionOnly = v;
02603     }
02604 
02608     static
02609     bool quoteSelectionOnly()
02610     {
02611       return self()->mQuoteSelectionOnly;
02612     }
02613 
02617     ItemBool *quoteSelectionOnlyItem()
02618     {
02619       return mQuoteSelectionOnlyItem;
02620     }
02621 
02625     static
02626     void setAddresseeSelectorType( int v )
02627     {
02628       if (!self()->isImmutable( QString::fromLatin1( "AddresseeSelectorType" ) ))
02629         self()->mAddresseeSelectorType = v;
02630     }
02631 
02635     static
02636     int addresseeSelectorType()
02637     {
02638       return self()->mAddresseeSelectorType;
02639     }
02640 
02644     ItemEnum *addresseeSelectorTypeItem()
02645     {
02646       return mAddresseeSelectorTypeItem;
02647     }
02648 
02652     static
02653     void setRecipientsEditorType( int v )
02654     {
02655       if (!self()->isImmutable( QString::fromLatin1( "RecipientsEditorType" ) ))
02656         self()->mRecipientsEditorType = v;
02657     }
02658 
02662     static
02663     int recipientsEditorType()
02664     {
02665       return self()->mRecipientsEditorType;
02666     }
02667 
02671     ItemEnum *recipientsEditorTypeItem()
02672     {
02673       return mRecipientsEditorTypeItem;
02674     }
02675 
02679     static
02680     void setSecondRecipientTypeDefault( int v )
02681     {
02682       if (!self()->isImmutable( QString::fromLatin1( "SecondRecipientTypeDefault" ) ))
02683         self()->mSecondRecipientTypeDefault = v;
02684     }
02685 
02689     static
02690     int secondRecipientTypeDefault()
02691     {
02692       return self()->mSecondRecipientTypeDefault;
02693     }
02694 
02698     ItemEnum *secondRecipientTypeDefaultItem()
02699     {
02700       return mSecondRecipientTypeDefaultItem;
02701     }
02702 
02706     static
02707     void setMaximumRecipients( int v )
02708     {
02709       if (!self()->isImmutable( QString::fromLatin1( "MaximumRecipients" ) ))
02710         self()->mMaximumRecipients = v;
02711     }
02712 
02716     static
02717     int maximumRecipients()
02718     {
02719       return self()->mMaximumRecipients;
02720     }
02721 
02725     ItemInt *maximumRecipientsItem()
02726     {
02727       return mMaximumRecipientsItem;
02728     }
02729 
02733     static
02734     void setCustomTemplates( const QStringList & v )
02735     {
02736       if (!self()->isImmutable( QString::fromLatin1( "CustomTemplates" ) ))
02737         self()->mCustomTemplates = v;
02738     }
02739 
02743     static
02744     QStringList customTemplates()
02745     {
02746       return self()->mCustomTemplates;
02747     }
02748 
02752     ItemStringList *customTemplatesItem()
02753     {
02754       return mCustomTemplatesItem;
02755     }
02756 
02760     static
02761     void setMimetypesToStripWhenInlineForwarding( const QStringList & v )
02762     {
02763       if (!self()->isImmutable( QString::fromLatin1( "MimetypesToStripWhenInlineForwarding" ) ))
02764         self()->mMimetypesToStripWhenInlineForwarding = v;
02765     }
02766 
02770     static
02771     QStringList mimetypesToStripWhenInlineForwarding()
02772     {
02773       return self()->mMimetypesToStripWhenInlineForwarding;
02774     }
02775 
02779     ItemStringList *mimetypesToStripWhenInlineForwardingItem()
02780     {
02781       return mMimetypesToStripWhenInlineForwardingItem;
02782     }
02783 
02787     static
02788     void setMaximumAttachmentSize( int v )
02789     {
02790       if (!self()->isImmutable( QString::fromLatin1( "MaximumAttachmentSize" ) ))
02791         self()->mMaximumAttachmentSize = v;
02792     }
02793 
02797     static
02798     int maximumAttachmentSize()
02799     {
02800       return self()->mMaximumAttachmentSize;
02801     }
02802 
02806     ItemInt *maximumAttachmentSizeItem()
02807     {
02808       return mMaximumAttachmentSizeItem;
02809     }
02810 
02814     static
02815     void setShowSnippetManager( bool v )
02816     {
02817       if (!self()->isImmutable( QString::fromLatin1( "ShowSnippetManager" ) ))
02818         self()->mShowSnippetManager = v;
02819     }
02820 
02824     static
02825     bool showSnippetManager()
02826     {
02827       return self()->mShowSnippetManager;
02828     }
02829 
02833     ItemBool *showSnippetManagerItem()
02834     {
02835       return mShowSnippetManagerItem;
02836     }
02837 
02841     static
02842     void setSnippetSplitterPosition( const QValueList<int> & v )
02843     {
02844       if (!self()->isImmutable( QString::fromLatin1( "SnippetSplitterPosition" ) ))
02845         self()->mSnippetSplitterPosition = v;
02846     }
02847 
02851     static
02852     QValueList<int> snippetSplitterPosition()
02853     {
02854       return self()->mSnippetSplitterPosition;
02855     }
02856 
02860     ItemIntList *snippetSplitterPositionItem()
02861     {
02862       return mSnippetSplitterPositionItem;
02863     }
02864 
02868     static
02869     void setShowGnuPGAuditLogAfterSuccessfulSignEncrypt( bool v )
02870     {
02871       if (!self()->isImmutable( QString::fromLatin1( "ShowGnuPGAuditLogAfterSuccessfulSignEncrypt" ) ))
02872         self()->mShowGnuPGAuditLogAfterSuccessfulSignEncrypt = v;
02873     }
02874 
02878     static
02879     bool showGnuPGAuditLogAfterSuccessfulSignEncrypt()
02880     {
02881       return self()->mShowGnuPGAuditLogAfterSuccessfulSignEncrypt;
02882     }
02883 
02887     ItemBool *showGnuPGAuditLogAfterSuccessfulSignEncryptItem()
02888     {
02889       return mShowGnuPGAuditLogAfterSuccessfulSignEncryptItem;
02890     }
02891 
02895     static
02896     void setUseDefaultFonts( bool v )
02897     {
02898       if (!self()->isImmutable( QString::fromLatin1( "UseDefaultFonts" ) ))
02899         self()->mUseDefaultFonts = v;
02900     }
02901 
02905     static
02906     bool useDefaultFonts()
02907     {
02908       return self()->mUseDefaultFonts;
02909     }
02910 
02914     ItemBool *useDefaultFontsItem()
02915     {
02916       return mUseDefaultFontsItem;
02917     }
02918 
02922     static
02923     void setComposerFont( const QFont & v )
02924     {
02925       if (!self()->isImmutable( QString::fromLatin1( "ComposerFont" ) ))
02926         self()->mComposerFont = v;
02927     }
02928 
02932     static
02933     QFont composerFont()
02934     {
02935       return self()->mComposerFont;
02936     }
02937 
02941     ItemFont *composerFontItem()
02942     {
02943       return mComposerFontItem;
02944     }
02945 
02949     static
02950     void setFixedFont( const QFont & v )
02951     {
02952       if (!self()->isImmutable( QString::fromLatin1( "FixedFont" ) ))
02953         self()->mFixedFont = v;
02954     }
02955 
02959     static
02960     QFont fixedFont()
02961     {
02962       return self()->mFixedFont;
02963     }
02964 
02968     ItemFont *fixedFontItem()
02969     {
02970       return mFixedFontItem;
02971     }
02972 
02976     static
02977     void setComposerSize( const QSize & v )
02978     {
02979       if (!self()->isImmutable( QString::fromLatin1( "ComposerSize" ) ))
02980         self()->mComposerSize = v;
02981     }
02982 
02986     static
02987     QSize composerSize()
02988     {
02989       return self()->mComposerSize;
02990     }
02991 
02995     ItemSize *composerSizeItem()
02996     {
02997       return mComposerSizeItem;
02998     }
02999 
03003     static
03004     void setCloseAfterReplyOrForward( bool v )
03005     {
03006       if (!self()->isImmutable( QString::fromLatin1( "CloseAfterReplyOrForward" ) ))
03007         self()->mCloseAfterReplyOrForward = v;
03008     }
03009 
03013     static
03014     bool closeAfterReplyOrForward()
03015     {
03016       return self()->mCloseAfterReplyOrForward;
03017     }
03018 
03022     ItemBool *closeAfterReplyOrForwardItem()
03023     {
03024       return mCloseAfterReplyOrForwardItem;
03025     }
03026 
03030     static
03031     void setUseDefaultColors( bool v )
03032     {
03033       if (!self()->isImmutable( QString::fromLatin1( "UseDefaultColors" ) ))
03034         self()->mUseDefaultColors = v;
03035     }
03036 
03040     static
03041     bool useDefaultColors()
03042     {
03043       return self()->mUseDefaultColors;
03044     }
03045 
03049     ItemBool *useDefaultColorsItem()
03050     {
03051       return mUseDefaultColorsItem;
03052     }
03053 
03057     static
03058     void setForegroundColor( const QColor & v )
03059     {
03060       if (!self()->isImmutable( QString::fromLatin1( "ForegroundColor" ) ))
03061         self()->mForegroundColor = v;
03062     }
03063 
03067     static
03068     QColor foregroundColor()
03069     {
03070       return self()->mForegroundColor;
03071     }
03072 
03076     ItemColor *foregroundColorItem()
03077     {
03078       return mForegroundColorItem;
03079     }
03080 
03084     static
03085     void setBackgroundColor( const QColor & v )
03086     {
03087       if (!self()->isImmutable( QString::fromLatin1( "BackgroundColor" ) ))
03088         self()->mBackgroundColor = v;
03089     }
03090 
03094     static
03095     QColor backgroundColor()
03096     {
03097       return self()->mBackgroundColor;
03098     }
03099 
03103     ItemColor *backgroundColorItem()
03104     {
03105       return mBackgroundColorItem;
03106     }
03107 
03111     static
03112     void setFallbackCharacterEncoding( const QString & v )
03113     {
03114       if (!self()->isImmutable( QString::fromLatin1( "FallbackCharacterEncoding" ) ))
03115         self()->mFallbackCharacterEncoding = v;
03116     }
03117 
03121     static
03122     QString fallbackCharacterEncoding()
03123     {
03124       return self()->mFallbackCharacterEncoding;
03125     }
03126 
03130     ItemString *fallbackCharacterEncodingItem()
03131     {
03132       return mFallbackCharacterEncodingItem;
03133     }
03134 
03138     static
03139     void setOverrideCharacterEncoding( const QString & v )
03140     {
03141       if (!self()->isImmutable( QString::fromLatin1( "OverrideCharacterEncoding" ) ))
03142         self()->mOverrideCharacterEncoding = v;
03143     }
03144 
03148     static
03149     QString overrideCharacterEncoding()
03150     {
03151       return self()->mOverrideCharacterEncoding;
03152     }
03153 
03157     ItemString *overrideCharacterEncodingItem()
03158     {
03159       return mOverrideCharacterEncodingItem;
03160     }
03161 
03165     static
03166     void setShowEmoticons( bool v )
03167     {
03168       if (!self()->isImmutable( QString::fromLatin1( "ShowEmoticons" ) ))
03169         self()->mShowEmoticons = v;
03170     }
03171 
03175     static
03176     bool showEmoticons()
03177     {
03178       return self()->mShowEmoticons;
03179     }
03180 
03184     ItemBool *showEmoticonsItem()
03185     {
03186       return mShowEmoticonsItem;
03187     }
03188 
03192     static
03193     void setShowExpandQuotesMark( bool v )
03194     {
03195       if (!self()->isImmutable( QString::fromLatin1( "ShowExpandQuotesMark" ) ))
03196         self()->mShowExpandQuotesMark = v;
03197     }
03198 
03202     static
03203     bool showExpandQuotesMark()
03204     {
03205       return self()->mShowExpandQuotesMark;
03206     }
03207 
03211     ItemBool *showExpandQuotesMarkItem()
03212     {
03213       return mShowExpandQuotesMarkItem;
03214     }
03215 
03219     static
03220     void setCollapseQuoteLevelSpin( int v )
03221     {
03222       if (v < 0)
03223       {
03224         kdDebug() << "setCollapseQuoteLevelSpin: value " << v << " is less than the minimum value of 0" << endl;
03225         v = 0;
03226       }
03227 
03228       if (v > 10)
03229       {
03230         kdDebug() << "setCollapseQuoteLevelSpin: value " << v << " is greater than the maximum value of 10" << endl;
03231         v = 10;
03232       }
03233 
03234       if (!self()->isImmutable( QString::fromLatin1( "CollapseQuoteLevelSpin" ) ))
03235         self()->mCollapseQuoteLevelSpin = v;
03236     }
03237 
03241     static
03242     int collapseQuoteLevelSpin()
03243     {
03244       return self()->mCollapseQuoteLevelSpin;
03245     }
03246 
03250     ItemInt *collapseQuoteLevelSpinItem()
03251     {
03252       return mCollapseQuoteLevelSpinItem;
03253     }
03254 
03258     static
03259     void setShrinkQuotes( bool v )
03260     {
03261       if (!self()->isImmutable( QString::fromLatin1( "ShrinkQuotes" ) ))
03262         self()->mShrinkQuotes = v;
03263     }
03264 
03268     static
03269     bool shrinkQuotes()
03270     {
03271       return self()->mShrinkQuotes;
03272     }
03273 
03277     ItemBool *shrinkQuotesItem()
03278     {
03279       return mShrinkQuotesItem;
03280     }
03281 
03285     static
03286     void setChiasmusDecryptionKey( const QString & v )
03287     {
03288       if (!self()->isImmutable( QString::fromLatin1( "ChiasmusDecryptionKey" ) ))
03289         self()->mChiasmusDecryptionKey = v;
03290     }
03291 
03295     static
03296     QString chiasmusDecryptionKey()
03297     {
03298       return self()->mChiasmusDecryptionKey;
03299     }
03300 
03304     ItemString *chiasmusDecryptionKeyItem()
03305     {
03306       return mChiasmusDecryptionKeyItem;
03307     }
03308 
03312     static
03313     void setChiasmusDecryptionOptions( const QString & v )
03314     {
03315       if (!self()->isImmutable( QString::fromLatin1( "ChiasmusDecryptionOptions" ) ))
03316         self()->mChiasmusDecryptionOptions = v;
03317     }
03318 
03322     static
03323     QString chiasmusDecryptionOptions()
03324     {
03325       return self()->mChiasmusDecryptionOptions;
03326     }
03327 
03331     ItemString *chiasmusDecryptionOptionsItem()
03332     {
03333       return mChiasmusDecryptionOptionsItem;
03334     }
03335 
03339     static
03340     void setShowUserAgent( bool v )
03341     {
03342       if (!self()->isImmutable( QString::fromLatin1( "ShowUserAgent" ) ))
03343         self()->mShowUserAgent = v;
03344     }
03345 
03349     static
03350     bool showUserAgent()
03351     {
03352       return self()->mShowUserAgent;
03353     }
03354 
03358     ItemBool *showUserAgentItem()
03359     {
03360       return mShowUserAgentItem;
03361     }
03362 
03366     static
03367     void setAllowAttachmentDeletion( bool v )
03368     {
03369       if (!self()->isImmutable( QString::fromLatin1( "AllowAttachmentDeletion" ) ))
03370         self()->mAllowAttachmentDeletion = v;
03371     }
03372 
03376     static
03377     bool allowAttachmentDeletion()
03378     {
03379       return self()->mAllowAttachmentDeletion;
03380     }
03381 
03385     ItemBool *allowAttachmentDeletionItem()
03386     {
03387       return mAllowAttachmentDeletionItem;
03388     }
03389 
03393     static
03394     void setAllowAttachmentEditing( bool v )
03395     {
03396       if (!self()->isImmutable( QString::fromLatin1( "AllowAttachmentEditing" ) ))
03397         self()->mAllowAttachmentEditing = v;
03398     }
03399 
03403     static
03404     bool allowAttachmentEditing()
03405     {
03406       return self()->mAllowAttachmentEditing;
03407     }
03408 
03412     ItemBool *allowAttachmentEditingItem()
03413     {
03414       return mAllowAttachmentEditingItem;
03415     }
03416 
03420     static
03421     void setAlwaysDecrypt( bool v )
03422     {
03423       if (!self()->isImmutable( QString::fromLatin1( "AlwaysDecrypt" ) ))
03424         self()->mAlwaysDecrypt = v;
03425     }
03426 
03430     static
03431     bool alwaysDecrypt()
03432     {
03433       return self()->mAlwaysDecrypt;
03434     }
03435 
03439     ItemBool *alwaysDecryptItem()
03440     {
03441       return mAlwaysDecryptItem;
03442     }
03443 
03447     static
03448     void setAutomaticDecrypt( bool v )
03449     {
03450       if (!self()->isImmutable( QString::fromLatin1( "automaticDecrypt" ) ))
03451         self()->mAutomaticDecrypt = v;
03452     }
03453 
03457     static
03458     bool automaticDecrypt()
03459     {
03460       return self()->mAutomaticDecrypt;
03461     }
03462 
03466     ItemBool *automaticDecryptItem()
03467     {
03468       return mAutomaticDecryptItem;
03469     }
03470 
03474     static
03475     void setSendMDNsWithEmptySender( bool v )
03476     {
03477       if (!self()->isImmutable( QString::fromLatin1( "SendMDNsWithEmptySender" ) ))
03478         self()->mSendMDNsWithEmptySender = v;
03479     }
03480 
03484     static
03485     bool sendMDNsWithEmptySender()
03486     {
03487       return self()->mSendMDNsWithEmptySender;
03488     }
03489 
03493     ItemBool *sendMDNsWithEmptySenderItem()
03494     {
03495       return mSendMDNsWithEmptySenderItem;
03496     }
03497 
03501     static
03502     void setPhrasesConverted( bool v )
03503     {
03504       if (!self()->isImmutable( QString::fromLatin1( "PhrasesConverted" ) ))
03505         self()->mPhrasesConverted = v;
03506     }
03507 
03511     static
03512     bool phrasesConverted()
03513     {
03514       return self()->mPhrasesConverted;
03515     }
03516 
03520     ItemBool *phrasesConvertedItem()
03521     {
03522       return mPhrasesConvertedItem;
03523     }
03524 
03528     static
03529     void setTemplateNewMessage( const QString & v )
03530     {
03531       if (!self()->isImmutable( QString::fromLatin1( "TemplateNewMessage" ) ))
03532         self()->mTemplateNewMessage = v;
03533     }
03534 
03538     static
03539     QString templateNewMessage()
03540     {
03541       return self()->mTemplateNewMessage;
03542     }
03543 
03547     ItemString *templateNewMessageItem()
03548     {
03549       return mTemplateNewMessageItem;
03550     }
03551 
03555     static
03556     void setTemplateReply( const QString & v )
03557     {
03558       if (!self()->isImmutable( QString::fromLatin1( "TemplateReply" ) ))
03559         self()->mTemplateReply = v;
03560     }
03561 
03565     static
03566     QString templateReply()
03567     {
03568       return self()->mTemplateReply;
03569     }
03570 
03574     ItemString *templateReplyItem()
03575     {
03576       return mTemplateReplyItem;
03577     }
03578 
03582     static
03583     void setTemplateReplyAll( const QString & v )
03584     {
03585       if (!self()->isImmutable( QString::fromLatin1( "TemplateReplyAll" ) ))
03586         self()->mTemplateReplyAll = v;
03587     }
03588 
03592     static
03593     QString templateReplyAll()
03594     {
03595       return self()->mTemplateReplyAll;
03596     }
03597 
03601     ItemString *templateReplyAllItem()
03602     {
03603       return mTemplateReplyAllItem;
03604     }
03605 
03609     static
03610     void setTemplateForward( const QString & v )
03611     {
03612       if (!self()->isImmutable( QString::fromLatin1( "TemplateForward" ) ))
03613         self()->mTemplateForward = v;
03614     }
03615 
03619     static
03620     QString templateForward()
03621     {
03622       return self()->mTemplateForward;
03623     }
03624 
03628     ItemString *templateForwardItem()
03629     {
03630       return mTemplateForwardItem;
03631     }
03632 
03636     static
03637     void setQuoteString( const QString & v )
03638     {
03639       if (!self()->isImmutable( QString::fromLatin1( "QuoteString" ) ))
03640         self()->mQuoteString = v;
03641     }
03642 
03646     static
03647     QString quoteString()
03648     {
03649       return self()->mQuoteString;
03650     }
03651 
03655     ItemString *quoteStringItem()
03656     {
03657       return mQuoteStringItem;
03658     }
03659 
03663     static
03664     void setAllowOutOfOfficeSettings( bool v )
03665     {
03666       if (!self()->isImmutable( QString::fromLatin1( "AllowOutOfOfficeSettings" ) ))
03667         self()->mAllowOutOfOfficeSettings = v;
03668     }
03669 
03673     static
03674     bool allowOutOfOfficeSettings()
03675     {
03676       return self()->mAllowOutOfOfficeSettings;
03677     }
03678 
03682     ItemBool *allowOutOfOfficeSettingsItem()
03683     {
03684       return mAllowOutOfOfficeSettingsItem;
03685     }
03686 
03690     static
03691     void setAllowOutOfOfficeUploadButNoSettings( bool v )
03692     {
03693       if (!self()->isImmutable( QString::fromLatin1( "AllowOutOfOfficeUploadButNoSettings" ) ))
03694         self()->mAllowOutOfOfficeUploadButNoSettings = v;
03695     }
03696 
03700     static
03701     bool allowOutOfOfficeUploadButNoSettings()
03702     {
03703       return self()->mAllowOutOfOfficeUploadButNoSettings;
03704     }
03705 
03709     ItemBool *allowOutOfOfficeUploadButNoSettingsItem()
03710     {
03711       return mAllowOutOfOfficeUploadButNoSettingsItem;
03712     }
03713 
03717     static
03718     void setOutOfOfficeDomain( const QString & v )
03719     {
03720       if (!self()->isImmutable( QString::fromLatin1( "OutOfOfficeDomain" ) ))
03721         self()->mOutOfOfficeDomain = v;
03722     }
03723 
03727     static
03728     QString outOfOfficeDomain()
03729     {
03730       return self()->mOutOfOfficeDomain;
03731     }
03732 
03736     ItemString *outOfOfficeDomainItem()
03737     {
03738       return mOutOfOfficeDomainItem;
03739     }
03740 
03744     static
03745     void setOutOfOfficeReactToSpam( bool v )
03746     {
03747       if (!self()->isImmutable( QString::fromLatin1( "OutOfOfficeReactToSpam" ) ))
03748         self()->mOutOfOfficeReactToSpam = v;
03749     }
03750 
03754     static
03755     bool outOfOfficeReactToSpam()
03756     {
03757       return self()->mOutOfOfficeReactToSpam;
03758     }
03759 
03763     ItemBool *outOfOfficeReactToSpamItem()
03764     {
03765       return mOutOfOfficeReactToSpamItem;
03766     }
03767 
03771     static
03772     void setCheckOutOfOfficeOnStartup( bool v )
03773     {
03774       if (!self()->isImmutable( QString::fromLatin1( "CheckOutOfOfficeOnStartup" ) ))
03775         self()->mCheckOutOfOfficeOnStartup = v;
03776     }
03777 
03781     static
03782     bool checkOutOfOfficeOnStartup()
03783     {
03784       return self()->mCheckOutOfOfficeOnStartup;
03785     }
03786 
03790     ItemBool *checkOutOfOfficeOnStartupItem()
03791     {
03792       return mCheckOutOfOfficeOnStartupItem;
03793     }
03794 
03798     static
03799     void setEnableFavoriteFolderView( bool v )
03800     {
03801       if (!self()->isImmutable( QString::fromLatin1( "EnableFavoriteFolderView" ) ))
03802         self()->mEnableFavoriteFolderView = v;
03803     }
03804 
03808     static
03809     bool enableFavoriteFolderView()
03810     {
03811       return self()->mEnableFavoriteFolderView;
03812     }
03813 
03817     ItemBool *enableFavoriteFolderViewItem()
03818     {
03819       return mEnableFavoriteFolderViewItem;
03820     }
03821 
03825     static
03826     void setFolderViewSplitterPosition( const QValueList<int> & v )
03827     {
03828       if (!self()->isImmutable( QString::fromLatin1( "FolderViewSplitterPosition" ) ))
03829         self()->mFolderViewSplitterPosition = v;
03830     }
03831 
03835     static
03836     QValueList<int> folderViewSplitterPosition()
03837     {
03838       return self()->mFolderViewSplitterPosition;
03839     }
03840 
03844     ItemIntList *folderViewSplitterPositionItem()
03845     {
03846       return mFolderViewSplitterPositionItem;
03847     }
03848 
03852     static
03853     void setFavoriteFolderIds( const QValueList<int> & v )
03854     {
03855       if (!self()->isImmutable( QString::fromLatin1( "FavoriteFolderIds" ) ))
03856         self()->mFavoriteFolderIds = v;
03857     }
03858 
03862     static
03863     QValueList<int> favoriteFolderIds()
03864     {
03865       return self()->mFavoriteFolderIds;
03866     }
03867 
03871     ItemIntList *favoriteFolderIdsItem()
03872     {
03873       return mFavoriteFolderIdsItem;
03874     }
03875 
03879     static
03880     void setFavoriteFolderNames( const QStringList & v )
03881     {
03882       if (!self()->isImmutable( QString::fromLatin1( "FavoriteFolderNames" ) ))
03883         self()->mFavoriteFolderNames = v;
03884     }
03885 
03889     static
03890     QStringList favoriteFolderNames()
03891     {
03892       return self()->mFavoriteFolderNames;
03893     }
03894 
03898     ItemStringList *favoriteFolderNamesItem()
03899     {
03900       return mFavoriteFolderNamesItem;
03901     }
03902 
03906     static
03907     void setFavoriteFolderViewSeenInboxes( const QValueList<int> & v )
03908     {
03909       if (!self()->isImmutable( QString::fromLatin1( "FavoriteFolderViewSeenInboxes" ) ))
03910         self()->mFavoriteFolderViewSeenInboxes = v;
03911     }
03912 
03916     static
03917     QValueList<int> favoriteFolderViewSeenInboxes()
03918     {
03919       return self()->mFavoriteFolderViewSeenInboxes;
03920     }
03921 
03925     ItemIntList *favoriteFolderViewSeenInboxesItem()
03926     {
03927       return mFavoriteFolderViewSeenInboxesItem;
03928     }
03929 
03930     static
03931     void writeConfig()
03932     {
03933       static_cast<KConfigSkeleton*>(self())->writeConfig();
03934     }
03935   protected:
03936     GlobalSettingsBase();
03937     static GlobalSettingsBase *mSelf;
03938 
03939 
03940     // Behaviour
03941     bool mDelayedMarkAsRead;
03942     uint mDelayedMarkTime;
03943     int mActionEnterFolder;
03944     int mNetworkState;
03945     int mLoopOnGotoUnread;
03946     bool mShowPopupAfterDnD;
03947     bool mExcludeImportantMailFromExpiry;
03948     int mSendOnCheck;
03949     bool mAutoLostFoundMove;
03950     bool mAllowLocalFlags;
03951 
03952     // ConfigurationDialogRestrictions
03953     int mMinimumCheckInterval;
03954 
03955     // FolderSelectionDialog
03956     QString mLastSelectedFolder;
03957 
03958     // General
03959     bool mDisregardUmask;
03960     bool mSystemTrayEnabled;
03961     int mSystemTrayPolicy;
03962     bool mCloseDespiteSystemTray;
03963     bool mVerboseNewMailNotification;
03964     QString mExternalEditor;
03965     bool mUseExternalEditor;
03966     int mCustHeaderCount;
03967     int mReplyCurrentLanguage;
03968     int mReplyLanguagesCount;
03969     int mFolderLoadingTimeout;
03970     int mQuotaUnit;
03971     int mCloseToQuotaThreshold;
03972 
03973     // Groupware
03974     bool mGroupwareEnabled;
03975     bool mLegacyMangleFromToHeaders;
03976     bool mLegacyBodyInvites;
03977     bool mExchangeCompatibleInvitations;
03978     bool mOutlookCompatibleInvitationReplyComments;
03979     bool mAutomaticSending;
03980     int mAskForCommentWhenReactingToInvitation;
03981     bool mDeleteInvitationEmailsAfterSendingReply;
03982     bool mShowToltecReplacementText;
03983     QString mToltecReplacementText;
03984 
03985     // IMAP Resource
03986     bool mTheIMAPResourceEnabled;
03987     bool mHideGroupwareFolders;
03988     bool mShowOnlyGroupwareFoldersForGroupwareAccount;
03989     int mTheIMAPResourceStorageFormat;
03990     QString mTheIMAPResourceFolderParent;
03991     int mTheIMAPResourceAccount;
03992     int mTheIMAPResourceFolderLanguage;
03993     bool mFilterGroupwareFolders;
03994     QValueList<int> mFilterSourceFolders;
03995     bool mImmediatlySyncDIMAPOnGroupwareChanges;
03996 
03997     // Internal
03998     int mMsgDictSizeHint;
03999     QString mPreviousNewFeaturesMD5;
04000 
04001     // Network
04002     int mMaxConnectionsPerHost;
04003 
04004     // UserInterface
04005     bool mQuickSearchActive;
04006     bool mHideLocalInbox;
04007 
04008     // Composer
04009     bool mForwardingInlineByDefault;
04010     bool mAllowSemicolonAsAddressSeparator;
04011     bool mForceReplyCharset;
04012     QString mAutoTextSignature;
04013     bool mStickyIdentity;
04014     bool mStickyFcc;
04015     bool mStickyTransport;
04016     bool mWordWrap;
04017     bool mUseFixedFont;
04018     int mLineWrapWidth;
04019     bool mTooManyRecipients;
04020     int mRecipientThreshold;
04021     uint mPreviousIdentity;
04022     QString mPreviousFcc;
04023     QStringList mTransportHistory;
04024     QString mCurrentTransport;
04025     QString mDefaultTransport;
04026     int mMaxTransportEntries;
04027     bool mOutlookCompatibleAttachments;
04028     bool mUseHtmlMarkup;
04029     bool mPgpAutoSign;
04030     bool mPgpAutoEncrypt;
04031     bool mNeverEncryptDrafts;
04032     QString mChiasmusKey;
04033     QString mChiasmusOptions;
04034     bool mConfirmBeforeSend;
04035     bool mRequestMDN;
04036     bool mShowRecentAddressesInComposer;
04037     int mHeaders;
04038     int mCompletionMode;
04039     bool mAutoSpellChecking;
04040     bool mShowForgottenAttachmentWarning;
04041     QStringList mAttachmentKeywords;
04042     bool mShowMessagePartDialogOnAttach;
04043     int mAutosaveInterval;
04044     bool mPrependSignature;
04045     QStringList mReplyPrefixes;
04046     bool mReplaceReplyPrefix;
04047     QStringList mForwardPrefixes;
04048     bool mReplaceForwardPrefix;
04049     bool mSmartQuote;
04050     bool mStripSignature;
04051     bool mQuoteSelectionOnly;
04052     int mAddresseeSelectorType;
04053     int mRecipientsEditorType;
04054     int mSecondRecipientTypeDefault;
04055     int mMaximumRecipients;
04056     QStringList mCustomTemplates;
04057     QStringList mMimetypesToStripWhenInlineForwarding;
04058     int mMaximumAttachmentSize;
04059     bool mShowSnippetManager;
04060     QValueList<int> mSnippetSplitterPosition;
04061     bool mShowGnuPGAuditLogAfterSuccessfulSignEncrypt;
04062 
04063     // Fonts
04064     bool mUseDefaultFonts;
04065     QFont mComposerFont;
04066     QFont mFixedFont;
04067 
04068     // Geometry
04069     QSize mComposerSize;
04070 
04071     // Reader
04072     bool mCloseAfterReplyOrForward;
04073     bool mUseDefaultColors;
04074     QColor mForegroundColor;
04075     QColor mBackgroundColor;
04076     QString mFallbackCharacterEncoding;
04077     QString mOverrideCharacterEncoding;
04078     bool mShowEmoticons;
04079     bool mShowExpandQuotesMark;
04080     int mCollapseQuoteLevelSpin;
04081     bool mShrinkQuotes;
04082     QString mChiasmusDecryptionKey;
04083     QString mChiasmusDecryptionOptions;
04084     bool mShowUserAgent;
04085     bool mAllowAttachmentDeletion;
04086     bool mAllowAttachmentEditing;
04087     bool mAlwaysDecrypt;
04088 
04089     // TextIndex
04090     bool mAutomaticDecrypt;
04091 
04092     // MDN
04093     bool mSendMDNsWithEmptySender;
04094 
04095     // GlobalTemplates
04096     bool mPhrasesConverted;
04097     QString mTemplateNewMessage;
04098     QString mTemplateReply;
04099     QString mTemplateReplyAll;
04100     QString mTemplateForward;
04101     QString mQuoteString;
04102 
04103     // OutOfOffice
04104     bool mAllowOutOfOfficeSettings;
04105     bool mAllowOutOfOfficeUploadButNoSettings;
04106     QString mOutOfOfficeDomain;
04107     bool mOutOfOfficeReactToSpam;
04108     bool mCheckOutOfOfficeOnStartup;
04109 
04110     // FavoriteFolderView
04111     bool mEnableFavoriteFolderView;
04112     QValueList<int> mFolderViewSplitterPosition;
04113     QValueList<int> mFavoriteFolderIds;
04114     QStringList mFavoriteFolderNames;
04115     QValueList<int> mFavoriteFolderViewSeenInboxes;
04116 
04117   private:
04118     ItemBool *mDelayedMarkAsReadItem;
04119     ItemUInt *mDelayedMarkTimeItem;
04120     ItemEnum *mActionEnterFolderItem;
04121     ItemEnum *mNetworkStateItem;
04122     ItemEnum *mLoopOnGotoUnreadItem;
04123     ItemBool *mShowPopupAfterDnDItem;
04124     ItemBool *mExcludeImportantMailFromExpiryItem;
04125     ItemEnum *mSendOnCheckItem;
04126     ItemBool *mAutoLostFoundMoveItem;
04127     ItemBool *mAllowLocalFlagsItem;
04128     ItemInt *mMinimumCheckIntervalItem;
04129     ItemString *mLastSelectedFolderItem;
04130     ItemBool *mDisregardUmaskItem;
04131     ItemBool *mSystemTrayEnabledItem;
04132     ItemEnum *mSystemTrayPolicyItem;
04133     ItemBool *mCloseDespiteSystemTrayItem;
04134     ItemBool *mVerboseNewMailNotificationItem;
04135     ItemString *mExternalEditorItem;
04136     ItemBool *mUseExternalEditorItem;
04137     ItemInt *mCustHeaderCountItem;
04138     ItemInt *mReplyCurrentLanguageItem;
04139     ItemInt *mReplyLanguagesCountItem;
04140     ItemInt *mFolderLoadingTimeoutItem;
04141     ItemEnum *mQuotaUnitItem;
04142     ItemInt *mCloseToQuotaThresholdItem;
04143     ItemBool *mGroupwareEnabledItem;
04144     ItemBool *mLegacyMangleFromToHeadersItem;
04145     ItemBool *mLegacyBodyInvitesItem;
04146     ItemBool *mExchangeCompatibleInvitationsItem;
04147     ItemBool *mOutlookCompatibleInvitationReplyCommentsItem;
04148     ItemBool *mAutomaticSendingItem;
04149     ItemEnum *mAskForCommentWhenReactingToInvitationItem;
04150     ItemBool *mDeleteInvitationEmailsAfterSendingReplyItem;
04151     ItemBool *mShowToltecReplacementTextItem;
04152     ItemString *mToltecReplacementTextItem;
04153     ItemBool *mTheIMAPResourceEnabledItem;
04154     ItemBool *mHideGroupwareFoldersItem;
04155     ItemBool *mShowOnlyGroupwareFoldersForGroupwareAccountItem;
04156     ItemEnum *mTheIMAPResourceStorageFormatItem;
04157     ItemString *mTheIMAPResourceFolderParentItem;
04158     ItemInt *mTheIMAPResourceAccountItem;
04159     ItemInt *mTheIMAPResourceFolderLanguageItem;
04160     ItemBool *mFilterGroupwareFoldersItem;
04161     ItemIntList *mFilterSourceFoldersItem;
04162     ItemBool *mImmediatlySyncDIMAPOnGroupwareChangesItem;
04163     ItemInt *mMsgDictSizeHintItem;
04164     ItemString *mPreviousNewFeaturesMD5Item;
04165     ItemInt *mMaxConnectionsPerHostItem;
04166     ItemBool *mQuickSearchActiveItem;
04167     ItemBool *mHideLocalInboxItem;
04168     ItemBool *mForwardingInlineByDefaultItem;
04169     ItemBool *mAllowSemicolonAsAddressSeparatorItem;
04170     ItemBool *mForceReplyCharsetItem;
04171     ItemString *mAutoTextSignatureItem;
04172     ItemBool *mStickyIdentityItem;
04173     ItemBool *mStickyFccItem;
04174     ItemBool *mStickyTransportItem;
04175     ItemBool *mWordWrapItem;
04176     ItemBool *mUseFixedFontItem;
04177     ItemInt *mLineWrapWidthItem;
04178     ItemBool *mTooManyRecipientsItem;
04179     ItemInt *mRecipientThresholdItem;
04180     ItemUInt *mPreviousIdentityItem;
04181     ItemString *mPreviousFccItem;
04182     ItemStringList *mTransportHistoryItem;
04183     ItemString *mCurrentTransportItem;
04184     ItemString *mDefaultTransportItem;
04185     ItemInt *mMaxTransportEntriesItem;
04186     ItemBool *mOutlookCompatibleAttachmentsItem;
04187     ItemBool *mUseHtmlMarkupItem;
04188     ItemBool *mPgpAutoSignItem;
04189     ItemBool *mPgpAutoEncryptItem;
04190     ItemBool *mNeverEncryptDraftsItem;
04191     ItemString *mChiasmusKeyItem;
04192     ItemString *mChiasmusOptionsItem;
04193     ItemBool *mConfirmBeforeSendItem;
04194     ItemBool *mRequestMDNItem;
04195     ItemBool *mShowRecentAddressesInComposerItem;
04196     ItemInt *mHeadersItem;
04197     ItemInt *mCompletionModeItem;
04198     ItemBool *mAutoSpellCheckingItem;
04199     ItemBool *mShowForgottenAttachmentWarningItem;
04200     ItemStringList *mAttachmentKeywordsItem;
04201     ItemBool *mShowMessagePartDialogOnAttachItem;
04202     ItemInt *mAutosaveIntervalItem;
04203     ItemBool *mPrependSignatureItem;
04204     ItemStringList *mReplyPrefixesItem;
04205     ItemBool *mReplaceReplyPrefixItem;
04206     ItemStringList *mForwardPrefixesItem;
04207     ItemBool *mReplaceForwardPrefixItem;
04208     ItemBool *mSmartQuoteItem;
04209     ItemBool *mStripSignatureItem;
04210     ItemBool *mQuoteSelectionOnlyItem;
04211     ItemEnum *mAddresseeSelectorTypeItem;
04212     ItemEnum *mRecipientsEditorTypeItem;
04213     ItemEnum *mSecondRecipientTypeDefaultItem;
04214     ItemInt *mMaximumRecipientsItem;
04215     ItemStringList *mCustomTemplatesItem;
04216     ItemStringList *mMimetypesToStripWhenInlineForwardingItem;
04217     ItemInt *mMaximumAttachmentSizeItem;
04218     ItemBool *mShowSnippetManagerItem;
04219     ItemIntList *mSnippetSplitterPositionItem;
04220     ItemBool *mShowGnuPGAuditLogAfterSuccessfulSignEncryptItem;
04221     ItemBool *mUseDefaultFontsItem;
04222     ItemFont *mComposerFontItem;
04223     ItemFont *mFixedFontItem;
04224     ItemSize *mComposerSizeItem;
04225     ItemBool *mCloseAfterReplyOrForwardItem;
04226     ItemBool *mUseDefaultColorsItem;
04227     ItemColor *mForegroundColorItem;
04228     ItemColor *mBackgroundColorItem;
04229     ItemString *mFallbackCharacterEncodingItem;
04230     ItemString *mOverrideCharacterEncodingItem;
04231     ItemBool *mShowEmoticonsItem;
04232     ItemBool *mShowExpandQuotesMarkItem;
04233     ItemInt *mCollapseQuoteLevelSpinItem;
04234     ItemBool *mShrinkQuotesItem;
04235     ItemString *mChiasmusDecryptionKeyItem;
04236     ItemString *mChiasmusDecryptionOptionsItem;
04237     ItemBool *mShowUserAgentItem;
04238     ItemBool *mAllowAttachmentDeletionItem;
04239     ItemBool *mAllowAttachmentEditingItem;
04240     ItemBool *mAlwaysDecryptItem;
04241     ItemBool *mAutomaticDecryptItem;
04242     ItemBool *mSendMDNsWithEmptySenderItem;
04243     ItemBool *mPhrasesConvertedItem;
04244     ItemString *mTemplateNewMessageItem;
04245     ItemString *mTemplateReplyItem;
04246     ItemString *mTemplateReplyAllItem;
04247     ItemString *mTemplateForwardItem;
04248     ItemString *mQuoteStringItem;
04249     ItemBool *mAllowOutOfOfficeSettingsItem;
04250     ItemBool *mAllowOutOfOfficeUploadButNoSettingsItem;
04251     ItemString *mOutOfOfficeDomainItem;
04252     ItemBool *mOutOfOfficeReactToSpamItem;
04253     ItemBool *mCheckOutOfOfficeOnStartupItem;
04254     ItemBool *mEnableFavoriteFolderViewItem;
04255     ItemIntList *mFolderViewSplitterPositionItem;
04256     ItemIntList *mFavoriteFolderIdsItem;
04257     ItemStringList *mFavoriteFolderNamesItem;
04258     ItemIntList *mFavoriteFolderViewSeenInboxesItem;
04259 };
04260 
04261 #endif
04262 
KDE Home | KDE Accessibility Home | Description of Access Keys