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