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