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 <kapplication.h>
00007 
00008 #include <kconfigskeleton.h>
00009 #include <kdebug.h>
00010 
00011 #include <kmglobal.h>
00012 #include <qtextcodec.h>
00013 #include <templatesconfiguration.h>
00014 class GlobalSettingsBase : public KConfigSkeleton
00015 {
00016   public:
00017     class EnumActionEnterFolder
00018     {
00019       public:
00020       enum type { SelectFirstNew, SelectFirstUnreadNew, SelectLastSelected, COUNT };
00021     };
00022     class EnumNetworkState
00023     {
00024       public:
00025       enum type { Online, Offline, COUNT };
00026     };
00027     class EnumLoopOnGotoUnread
00028     {
00029       public:
00030       enum type { DontLoop, LoopInCurrentFolder, LoopInAllFolders, COUNT };
00031     };
00032     class EnumSendOnCheck
00033     {
00034       public:
00035       enum type { DontSendOnCheck, SendOnManualChecks, SendOnAllChecks, COUNT };
00036     };
00037     class EnumSystemTrayPolicy
00038     {
00039       public:
00040       enum type { ShowAlways, ShowOnUnread, COUNT };
00041     };
00042     class EnumTheIMAPResourceStorageFormat
00043     {
00044       public:
00045       enum type { IcalVcard, XML, COUNT };
00046     };
00047     class EnumAddresseeSelectorType
00048     {
00049       public:
00050       enum type { New, Old, COUNT };
00051     };
00052     class EnumRecipientsEditorType
00053     {
00054       public:
00055       enum type { Classic, MultiLine, COUNT };
00056     };
00057     class EnumSecondRecipientTypeDefault
00058     {
00059       public:
00060       enum type { To, Cc, COUNT };
00061     };
00062 
00063     static GlobalSettingsBase *self();
00064     ~GlobalSettingsBase();
00065 
00069     static
00070     void setDelayedMarkAsRead( bool v )
00071     {
00072       if (!self()->isImmutable( QString::fromLatin1( "DelayedMarkAsRead" ) ))
00073         self()->mDelayedMarkAsRead = v;
00074     }
00075 
00079     static
00080     bool delayedMarkAsRead()
00081     {
00082       return self()->mDelayedMarkAsRead;
00083     }
00084 
00088     ItemBool *delayedMarkAsReadItem()
00089     {
00090       return mDelayedMarkAsReadItem;
00091     }
00092 
00096     static
00097     void setDelayedMarkTime( uint v )
00098     {
00099       if (!self()->isImmutable( QString::fromLatin1( "DelayedMarkTime" ) ))
00100         self()->mDelayedMarkTime = v;
00101     }
00102 
00106     static
00107     uint delayedMarkTime()
00108     {
00109       return self()->mDelayedMarkTime;
00110     }
00111 
00115     ItemUInt *delayedMarkTimeItem()
00116     {
00117       return mDelayedMarkTimeItem;
00118     }
00119 
00123     static
00124     void setActionEnterFolder( int v )
00125     {
00126       if (!self()->isImmutable( QString::fromLatin1( "ActionEnterFolder" ) ))
00127         self()->mActionEnterFolder = v;
00128     }
00129 
00133     static
00134     int actionEnterFolder()
00135     {
00136       return self()->mActionEnterFolder;
00137     }
00138 
00142     ItemEnum *actionEnterFolderItem()
00143     {
00144       return mActionEnterFolderItem;
00145     }
00146 
00150     static
00151     void setNetworkState( int v )
00152     {
00153       if (!self()->isImmutable( QString::fromLatin1( "NetworkState" ) ))
00154         self()->mNetworkState = v;
00155     }
00156 
00160     static
00161     int networkState()
00162     {
00163       return self()->mNetworkState;
00164     }
00165 
00169     ItemEnum *networkStateItem()
00170     {
00171       return mNetworkStateItem;
00172     }
00173 
00177     static
00178     void setLoopOnGotoUnread( int v )
00179     {
00180       if (!self()->isImmutable( QString::fromLatin1( "LoopOnGotoUnread" ) ))
00181         self()->mLoopOnGotoUnread = v;
00182     }
00183 
00187     static
00188     int loopOnGotoUnread()
00189     {
00190       return self()->mLoopOnGotoUnread;
00191     }
00192 
00196     ItemEnum *loopOnGotoUnreadItem()
00197     {
00198       return mLoopOnGotoUnreadItem;
00199     }
00200 
00204     static
00205     void setShowPopupAfterDnD( bool v )
00206     {
00207       if (!self()->isImmutable( QString::fromLatin1( "ShowPopupAfterDnD" ) ))
00208         self()->mShowPopupAfterDnD = v;
00209     }
00210 
00214     static
00215     bool showPopupAfterDnD()
00216     {
00217       return self()->mShowPopupAfterDnD;
00218     }
00219 
00223     ItemBool *showPopupAfterDnDItem()
00224     {
00225       return mShowPopupAfterDnDItem;
00226     }
00227 
00231     static
00232     void setExcludeImportantMailFromExpiry( bool v )
00233     {
00234       if (!self()->isImmutable( QString::fromLatin1( "ExcludeImportantMailFromExpiry" ) ))
00235         self()->mExcludeImportantMailFromExpiry = v;
00236     }
00237 
00241     static
00242     bool excludeImportantMailFromExpiry()
00243     {
00244       return self()->mExcludeImportantMailFromExpiry;
00245     }
00246 
00250     ItemBool *excludeImportantMailFromExpiryItem()
00251     {
00252       return mExcludeImportantMailFromExpiryItem;
00253     }
00254 
00258     static
00259     void setSendOnCheck( int v )
00260     {
00261       if (!self()->isImmutable( QString::fromLatin1( "SendOnCheck" ) ))
00262         self()->mSendOnCheck = v;
00263     }
00264 
00268     static
00269     int sendOnCheck()
00270     {
00271       return self()->mSendOnCheck;
00272     }
00273 
00277     ItemEnum *sendOnCheckItem()
00278     {
00279       return mSendOnCheckItem;
00280     }
00281 
00285     static
00286     void setLastSelectedFolder( const QString & v )
00287     {
00288       if (!self()->isImmutable( QString::fromLatin1( "LastSelectedFolder" ) ))
00289         self()->mLastSelectedFolder = v;
00290     }
00291 
00295     static
00296     QString lastSelectedFolder()
00297     {
00298       return self()->mLastSelectedFolder;
00299     }
00300 
00304     ItemString *lastSelectedFolderItem()
00305     {
00306       return mLastSelectedFolderItem;
00307     }
00308 
00312     static
00313     void setSystemTrayEnabled( bool v )
00314     {
00315       if (!self()->isImmutable( QString::fromLatin1( "SystemTrayEnabled" ) ))
00316         self()->mSystemTrayEnabled = v;
00317     }
00318 
00322     static
00323     bool systemTrayEnabled()
00324     {
00325       return self()->mSystemTrayEnabled;
00326     }
00327 
00331     ItemBool *systemTrayEnabledItem()
00332     {
00333       return mSystemTrayEnabledItem;
00334     }
00335 
00339     static
00340     void setSystemTrayPolicy( int v )
00341     {
00342       if (!self()->isImmutable( QString::fromLatin1( "SystemTrayPolicy" ) ))
00343         self()->mSystemTrayPolicy = v;
00344     }
00345 
00349     static
00350     int systemTrayPolicy()
00351     {
00352       return self()->mSystemTrayPolicy;
00353     }
00354 
00358     ItemEnum *systemTrayPolicyItem()
00359     {
00360       return mSystemTrayPolicyItem;
00361     }
00362 
00366     static
00367     void setVerboseNewMailNotification( bool v )
00368     {
00369       if (!self()->isImmutable( QString::fromLatin1( "VerboseNewMailNotification" ) ))
00370         self()->mVerboseNewMailNotification = v;
00371     }
00372 
00376     static
00377     bool verboseNewMailNotification()
00378     {
00379       return self()->mVerboseNewMailNotification;
00380     }
00381 
00385     ItemBool *verboseNewMailNotificationItem()
00386     {
00387       return mVerboseNewMailNotificationItem;
00388     }
00389 
00393     static
00394     void setExternalEditor( const QString & v )
00395     {
00396       if (!self()->isImmutable( QString::fromLatin1( "ExternalEditor" ) ))
00397         self()->mExternalEditor = v;
00398     }
00399 
00403     static
00404     QString externalEditor()
00405     {
00406       return self()->mExternalEditor;
00407     }
00408 
00412     ItemString *externalEditorItem()
00413     {
00414       return mExternalEditorItem;
00415     }
00416 
00420     static
00421     void setUseExternalEditor( bool v )
00422     {
00423       if (!self()->isImmutable( QString::fromLatin1( "UseExternalEditor" ) ))
00424         self()->mUseExternalEditor = v;
00425     }
00426 
00430     static
00431     bool useExternalEditor()
00432     {
00433       return self()->mUseExternalEditor;
00434     }
00435 
00439     ItemBool *useExternalEditorItem()
00440     {
00441       return mUseExternalEditorItem;
00442     }
00443 
00447     static
00448     void setCustHeaderCount( int v )
00449     {
00450       if (!self()->isImmutable( QString::fromLatin1( "CustHeaderCount" ) ))
00451         self()->mCustHeaderCount = v;
00452     }
00453 
00457     static
00458     int custHeaderCount()
00459     {
00460       return self()->mCustHeaderCount;
00461     }
00462 
00466     ItemInt *custHeaderCountItem()
00467     {
00468       return mCustHeaderCountItem;
00469     }
00470 
00474     static
00475     void setReplyCurrentLanguage( int v )
00476     {
00477       if (!self()->isImmutable( QString::fromLatin1( "ReplyCurrentLanguage" ) ))
00478         self()->mReplyCurrentLanguage = v;
00479     }
00480 
00484     static
00485     int replyCurrentLanguage()
00486     {
00487       return self()->mReplyCurrentLanguage;
00488     }
00489 
00493     ItemInt *replyCurrentLanguageItem()
00494     {
00495       return mReplyCurrentLanguageItem;
00496     }
00497 
00501     static
00502     void setReplyLanguagesCount( int v )
00503     {
00504       if (v < 0)
00505       {
00506         kdDebug() << "setReplyLanguagesCount: value " << v << " is less than the minimum value of 0" << endl;
00507         v = 0;
00508       }
00509       if (!self()->isImmutable( QString::fromLatin1( "ReplyLanguagesCount" ) ))
00510         self()->mReplyLanguagesCount = v;
00511     }
00512 
00516     static
00517     int replyLanguagesCount()
00518     {
00519       return self()->mReplyLanguagesCount;
00520     }
00521 
00525     ItemInt *replyLanguagesCountItem()
00526     {
00527       return mReplyLanguagesCountItem;
00528     }
00529 
00533     static
00534     void setFolderLoadingTimeout( int v )
00535     {
00536       if (!self()->isImmutable( QString::fromLatin1( "FolderLoadingTimeout" ) ))
00537         self()->mFolderLoadingTimeout = v;
00538     }
00539 
00543     static
00544     int folderLoadingTimeout()
00545     {
00546       return self()->mFolderLoadingTimeout;
00547     }
00548 
00552     ItemInt *folderLoadingTimeoutItem()
00553     {
00554       return mFolderLoadingTimeoutItem;
00555     }
00556 
00560     static
00561     void setGroupwareEnabled( bool v )
00562     {
00563       if (!self()->isImmutable( QString::fromLatin1( "GroupwareEnabled" ) ))
00564         self()->mGroupwareEnabled = v;
00565     }
00566 
00570     static
00571     bool groupwareEnabled()
00572     {
00573       return self()->mGroupwareEnabled;
00574     }
00575 
00579     ItemBool *groupwareEnabledItem()
00580     {
00581       return mGroupwareEnabledItem;
00582     }
00583 
00587     static
00588     void setLegacyMangleFromToHeaders( bool v )
00589     {
00590       if (!self()->isImmutable( QString::fromLatin1( "LegacyMangleFromToHeaders" ) ))
00591         self()->mLegacyMangleFromToHeaders = v;
00592     }
00593 
00597     static
00598     bool legacyMangleFromToHeaders()
00599     {
00600       return self()->mLegacyMangleFromToHeaders;
00601     }
00602 
00606     ItemBool *legacyMangleFromToHeadersItem()
00607     {
00608       return mLegacyMangleFromToHeadersItem;
00609     }
00610 
00614     static
00615     void setLegacyBodyInvites( bool v )
00616     {
00617       if (!self()->isImmutable( QString::fromLatin1( "LegacyBodyInvites" ) ))
00618         self()->mLegacyBodyInvites = v;
00619     }
00620 
00624     static
00625     bool legacyBodyInvites()
00626     {
00627       return self()->mLegacyBodyInvites;
00628     }
00629 
00633     ItemBool *legacyBodyInvitesItem()
00634     {
00635       return mLegacyBodyInvitesItem;
00636     }
00637 
00641     static
00642     void setAutomaticSending( bool v )
00643     {
00644       if (!self()->isImmutable( QString::fromLatin1( "AutomaticSending" ) ))
00645         self()->mAutomaticSending = v;
00646     }
00647 
00651     static
00652     bool automaticSending()
00653     {
00654       return self()->mAutomaticSending;
00655     }
00656 
00660     ItemBool *automaticSendingItem()
00661     {
00662       return mAutomaticSendingItem;
00663     }
00664 
00668     static
00669     void setTheIMAPResourceEnabled( bool v )
00670     {
00671       if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceEnabled" ) ))
00672         self()->mTheIMAPResourceEnabled = v;
00673     }
00674 
00678     static
00679     bool theIMAPResourceEnabled()
00680     {
00681       return self()->mTheIMAPResourceEnabled;
00682     }
00683 
00687     ItemBool *theIMAPResourceEnabledItem()
00688     {
00689       return mTheIMAPResourceEnabledItem;
00690     }
00691 
00695     static
00696     void setHideGroupwareFolders( bool v )
00697     {
00698       if (!self()->isImmutable( QString::fromLatin1( "HideGroupwareFolders" ) ))
00699         self()->mHideGroupwareFolders = v;
00700     }
00701 
00705     static
00706     bool hideGroupwareFolders()
00707     {
00708       return self()->mHideGroupwareFolders;
00709     }
00710 
00714     ItemBool *hideGroupwareFoldersItem()
00715     {
00716       return mHideGroupwareFoldersItem;
00717     }
00718 
00722     static
00723     void setTheIMAPResourceStorageFormat( int v )
00724     {
00725       if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceStorageFormat" ) ))
00726         self()->mTheIMAPResourceStorageFormat = v;
00727     }
00728 
00732     static
00733     int theIMAPResourceStorageFormat()
00734     {
00735       return self()->mTheIMAPResourceStorageFormat;
00736     }
00737 
00741     ItemEnum *theIMAPResourceStorageFormatItem()
00742     {
00743       return mTheIMAPResourceStorageFormatItem;
00744     }
00745 
00749     static
00750     void setTheIMAPResourceFolderParent( const QString & v )
00751     {
00752       if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceFolderParent" ) ))
00753         self()->mTheIMAPResourceFolderParent = v;
00754     }
00755 
00759     static
00760     QString theIMAPResourceFolderParent()
00761     {
00762       return self()->mTheIMAPResourceFolderParent;
00763     }
00764 
00768     ItemString *theIMAPResourceFolderParentItem()
00769     {
00770       return mTheIMAPResourceFolderParentItem;
00771     }
00772 
00776     static
00777     void setTheIMAPResourceAccount( int v )
00778     {
00779       if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceAccount" ) ))
00780         self()->mTheIMAPResourceAccount = v;
00781     }
00782 
00786     static
00787     int theIMAPResourceAccount()
00788     {
00789       return self()->mTheIMAPResourceAccount;
00790     }
00791 
00795     ItemInt *theIMAPResourceAccountItem()
00796     {
00797       return mTheIMAPResourceAccountItem;
00798     }
00799 
00803     static
00804     void setTheIMAPResourceFolderLanguage( int v )
00805     {
00806       if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceFolderLanguage" ) ))
00807         self()->mTheIMAPResourceFolderLanguage = v;
00808     }
00809 
00813     static
00814     int theIMAPResourceFolderLanguage()
00815     {
00816       return self()->mTheIMAPResourceFolderLanguage;
00817     }
00818 
00822     ItemInt *theIMAPResourceFolderLanguageItem()
00823     {
00824       return mTheIMAPResourceFolderLanguageItem;
00825     }
00826 
00830     static
00831     void setMsgDictSizeHint( int v )
00832     {
00833       if (!self()->isImmutable( QString::fromLatin1( "MsgDictSizeHint" ) ))
00834         self()->mMsgDictSizeHint = v;
00835     }
00836 
00840     static
00841     int msgDictSizeHint()
00842     {
00843       return self()->mMsgDictSizeHint;
00844     }
00845 
00849     ItemInt *msgDictSizeHintItem()
00850     {
00851       return mMsgDictSizeHintItem;
00852     }
00853 
00857     static
00858     void setPreviousNewFeaturesMD5( const QString & v )
00859     {
00860       if (!self()->isImmutable( QString::fromLatin1( "PreviousNewFeaturesMD5" ) ))
00861         self()->mPreviousNewFeaturesMD5 = v;
00862     }
00863 
00867     static
00868     QString previousNewFeaturesMD5()
00869     {
00870       return self()->mPreviousNewFeaturesMD5;
00871     }
00872 
00876     ItemString *previousNewFeaturesMD5Item()
00877     {
00878       return mPreviousNewFeaturesMD5Item;
00879     }
00880 
00884     static
00885     void setMaxConnectionsPerHost( int v )
00886     {
00887       if (v < 0)
00888       {
00889         kdDebug() << "setMaxConnectionsPerHost: value " << v << " is less than the minimum value of 0" << endl;
00890         v = 0;
00891       }
00892       if (!self()->isImmutable( QString::fromLatin1( "MaxConnectionsPerHost" ) ))
00893         self()->mMaxConnectionsPerHost = v;
00894     }
00895 
00899     static
00900     int maxConnectionsPerHost()
00901     {
00902       return self()->mMaxConnectionsPerHost;
00903     }
00904 
00908     ItemInt *maxConnectionsPerHostItem()
00909     {
00910       return mMaxConnectionsPerHostItem;
00911     }
00912 
00916     static
00917     void setQuickSearchActive( bool v )
00918     {
00919       if (!self()->isImmutable( QString::fromLatin1( "QuickSearchActive" ) ))
00920         self()->mQuickSearchActive = v;
00921     }
00922 
00926     static
00927     bool quickSearchActive()
00928     {
00929       return self()->mQuickSearchActive;
00930     }
00931 
00935     ItemBool *quickSearchActiveItem()
00936     {
00937       return mQuickSearchActiveItem;
00938     }
00939 
00943     static
00944     void setForceReplyCharset( bool v )
00945     {
00946       if (!self()->isImmutable( QString::fromLatin1( "ForceReplyCharset" ) ))
00947         self()->mForceReplyCharset = v;
00948     }
00949 
00953     static
00954     bool forceReplyCharset()
00955     {
00956       return self()->mForceReplyCharset;
00957     }
00958 
00962     ItemBool *forceReplyCharsetItem()
00963     {
00964       return mForceReplyCharsetItem;
00965     }
00966 
00970     static
00971     void setAutoTextSignature( const QString & v )
00972     {
00973       if (!self()->isImmutable( QString::fromLatin1( "AutoTextSignature" ) ))
00974         self()->mAutoTextSignature = v;
00975     }
00976 
00980     static
00981     QString autoTextSignature()
00982     {
00983       return self()->mAutoTextSignature;
00984     }
00985 
00989     ItemString *autoTextSignatureItem()
00990     {
00991       return mAutoTextSignatureItem;
00992     }
00993 
00997     static
00998     void setStickyIdentity( bool v )
00999     {
01000       if (!self()->isImmutable( QString::fromLatin1( "StickyIdentity" ) ))
01001         self()->mStickyIdentity = v;
01002     }
01003 
01007     static
01008     bool stickyIdentity()
01009     {
01010       return self()->mStickyIdentity;
01011     }
01012 
01016     ItemBool *stickyIdentityItem()
01017     {
01018       return mStickyIdentityItem;
01019     }
01020 
01024     static
01025     void setStickyFcc( bool v )
01026     {
01027       if (!self()->isImmutable( QString::fromLatin1( "StickyFcc" ) ))
01028         self()->mStickyFcc = v;
01029     }
01030 
01034     static
01035     bool stickyFcc()
01036     {
01037       return self()->mStickyFcc;
01038     }
01039 
01043     ItemBool *stickyFccItem()
01044     {
01045       return mStickyFccItem;
01046     }
01047 
01051     static
01052     void setStickyTransport( bool v )
01053     {
01054       if (!self()->isImmutable( QString::fromLatin1( "StickyTransport" ) ))
01055         self()->mStickyTransport = v;
01056     }
01057 
01061     static
01062     bool stickyTransport()
01063     {
01064       return self()->mStickyTransport;
01065     }
01066 
01070     ItemBool *stickyTransportItem()
01071     {
01072       return mStickyTransportItem;
01073     }
01074 
01078     static
01079     void setWordWrap( bool v )
01080     {
01081       if (!self()->isImmutable( QString::fromLatin1( "WordWrap" ) ))
01082         self()->mWordWrap = v;
01083     }
01084 
01088     static
01089     bool wordWrap()
01090     {
01091       return self()->mWordWrap;
01092     }
01093 
01097     ItemBool *wordWrapItem()
01098     {
01099       return mWordWrapItem;
01100     }
01101 
01105     static
01106     void setUseFixedFont( bool v )
01107     {
01108       if (!self()->isImmutable( QString::fromLatin1( "UseFixedFont" ) ))
01109         self()->mUseFixedFont = v;
01110     }
01111 
01115     static
01116     bool useFixedFont()
01117     {
01118       return self()->mUseFixedFont;
01119     }
01120 
01124     ItemBool *useFixedFontItem()
01125     {
01126       return mUseFixedFontItem;
01127     }
01128 
01132     static
01133     void setLineWrapWidth( int v )
01134     {
01135       if (v < 30)
01136       {
01137         kdDebug() << "setLineWrapWidth: value " << v << " is less than the minimum value of 30" << endl;
01138         v = 30;
01139       }
01140 
01141       if (v > 78)
01142       {
01143         kdDebug() << "setLineWrapWidth: value " << v << " is greater than the maximum value of 78" << endl;
01144         v = 78;
01145       }
01146 
01147       if (!self()->isImmutable( QString::fromLatin1( "LineWrapWidth" ) ))
01148         self()->mLineWrapWidth = v;
01149     }
01150 
01154     static
01155     int lineWrapWidth()
01156     {
01157       return self()->mLineWrapWidth;
01158     }
01159 
01163     ItemInt *lineWrapWidthItem()
01164     {
01165       return mLineWrapWidthItem;
01166     }
01167 
01171     static
01172     void setPreviousIdentity( uint v )
01173     {
01174       if (!self()->isImmutable( QString::fromLatin1( "PreviousIdentity" ) ))
01175         self()->mPreviousIdentity = v;
01176     }
01177 
01181     static
01182     uint previousIdentity()
01183     {
01184       return self()->mPreviousIdentity;
01185     }
01186 
01190     ItemUInt *previousIdentityItem()
01191     {
01192       return mPreviousIdentityItem;
01193     }
01194 
01198     static
01199     void setPreviousFcc( const QString & v )
01200     {
01201       if (!self()->isImmutable( QString::fromLatin1( "PreviousFcc" ) ))
01202         self()->mPreviousFcc = v;
01203     }
01204 
01208     static
01209     QString previousFcc()
01210     {
01211       return self()->mPreviousFcc;
01212     }
01213 
01217     ItemString *previousFccItem()
01218     {
01219       return mPreviousFccItem;
01220     }
01221 
01225     static
01226     void setTransportHistory( const QStringList & v )
01227     {
01228       if (!self()->isImmutable( QString::fromLatin1( "TransportHistory" ) ))
01229         self()->mTransportHistory = v;
01230     }
01231 
01235     static
01236     QStringList transportHistory()
01237     {
01238       return self()->mTransportHistory;
01239     }
01240 
01244     ItemStringList *transportHistoryItem()
01245     {
01246       return mTransportHistoryItem;
01247     }
01248 
01252     static
01253     void setCurrentTransport( const QString & v )
01254     {
01255       if (!self()->isImmutable( QString::fromLatin1( "CurrentTransport" ) ))
01256         self()->mCurrentTransport = v;
01257     }
01258 
01262     static
01263     QString currentTransport()
01264     {
01265       return self()->mCurrentTransport;
01266     }
01267 
01271     ItemString *currentTransportItem()
01272     {
01273       return mCurrentTransportItem;
01274     }
01275 
01279     static
01280     void setDefaultTransport( const QString & v )
01281     {
01282       if (!self()->isImmutable( QString::fromLatin1( "DefaultTransport" ) ))
01283         self()->mDefaultTransport = v;
01284     }
01285 
01289     static
01290     QString defaultTransport()
01291     {
01292       return self()->mDefaultTransport;
01293     }
01294 
01298     ItemString *defaultTransportItem()
01299     {
01300       return mDefaultTransportItem;
01301     }
01302 
01306     static
01307     void setMaxTransportEntries( int v )
01308     {
01309       if (!self()->isImmutable( QString::fromLatin1( "MaxTransportEntries" ) ))
01310         self()->mMaxTransportEntries = v;
01311     }
01312 
01316     static
01317     int maxTransportEntries()
01318     {
01319       return self()->mMaxTransportEntries;
01320     }
01321 
01325     ItemInt *maxTransportEntriesItem()
01326     {
01327       return mMaxTransportEntriesItem;
01328     }
01329 
01333     static
01334     void setOutlookCompatibleAttachments( bool v )
01335     {
01336       if (!self()->isImmutable( QString::fromLatin1( "OutlookCompatibleAttachments" ) ))
01337         self()->mOutlookCompatibleAttachments = v;
01338     }
01339 
01343     static
01344     bool outlookCompatibleAttachments()
01345     {
01346       return self()->mOutlookCompatibleAttachments;
01347     }
01348 
01352     ItemBool *outlookCompatibleAttachmentsItem()
01353     {
01354       return mOutlookCompatibleAttachmentsItem;
01355     }
01356 
01360     static
01361     void setUseHtmlMarkup( bool v )
01362     {
01363       if (!self()->isImmutable( QString::fromLatin1( "UseHtmlMarkup" ) ))
01364         self()->mUseHtmlMarkup = v;
01365     }
01366 
01370     static
01371     bool useHtmlMarkup()
01372     {
01373       return self()->mUseHtmlMarkup;
01374     }
01375 
01379     ItemBool *useHtmlMarkupItem()
01380     {
01381       return mUseHtmlMarkupItem;
01382     }
01383 
01387     static
01388     void setPgpAutoSign( bool v )
01389     {
01390       if (!self()->isImmutable( QString::fromLatin1( "PgpAutoSign" ) ))
01391         self()->mPgpAutoSign = v;
01392     }
01393 
01397     static
01398     bool pgpAutoSign()
01399     {
01400       return self()->mPgpAutoSign;
01401     }
01402 
01406     ItemBool *pgpAutoSignItem()
01407     {
01408       return mPgpAutoSignItem;
01409     }
01410 
01414     static
01415     void setPgpAutoEncrypt( bool v )
01416     {
01417       if (!self()->isImmutable( QString::fromLatin1( "PgpAutoEncrypt" ) ))
01418         self()->mPgpAutoEncrypt = v;
01419     }
01420 
01424     static
01425     bool pgpAutoEncrypt()
01426     {
01427       return self()->mPgpAutoEncrypt;
01428     }
01429 
01433     ItemBool *pgpAutoEncryptItem()
01434     {
01435       return mPgpAutoEncryptItem;
01436     }
01437 
01441     static
01442     void setNeverEncryptDrafts( bool v )
01443     {
01444       if (!self()->isImmutable( QString::fromLatin1( "NeverEncryptDrafts" ) ))
01445         self()->mNeverEncryptDrafts = v;
01446     }
01447 
01451     static
01452     bool neverEncryptDrafts()
01453     {
01454       return self()->mNeverEncryptDrafts;
01455     }
01456 
01460     ItemBool *neverEncryptDraftsItem()
01461     {
01462       return mNeverEncryptDraftsItem;
01463     }
01464 
01468     static
01469     void setChiasmusKey( const QString & v )
01470     {
01471       if (!self()->isImmutable( QString::fromLatin1( "ChiasmusKey" ) ))
01472         self()->mChiasmusKey = v;
01473     }
01474 
01478     static
01479     QString chiasmusKey()
01480     {
01481       return self()->mChiasmusKey;
01482     }
01483 
01487     ItemString *chiasmusKeyItem()
01488     {
01489       return mChiasmusKeyItem;
01490     }
01491 
01495     static
01496     void setChiasmusOptions( const QString & v )
01497     {
01498       if (!self()->isImmutable( QString::fromLatin1( "ChiasmusOptions" ) ))
01499         self()->mChiasmusOptions = v;
01500     }
01501 
01505     static
01506     QString chiasmusOptions()
01507     {
01508       return self()->mChiasmusOptions;
01509     }
01510 
01514     ItemString *chiasmusOptionsItem()
01515     {
01516       return mChiasmusOptionsItem;
01517     }
01518 
01522     static
01523     void setConfirmBeforeSend( bool v )
01524     {
01525       if (!self()->isImmutable( QString::fromLatin1( "ConfirmBeforeSend" ) ))
01526         self()->mConfirmBeforeSend = v;
01527     }
01528 
01532     static
01533     bool confirmBeforeSend()
01534     {
01535       return self()->mConfirmBeforeSend;
01536     }
01537 
01541     ItemBool *confirmBeforeSendItem()
01542     {
01543       return mConfirmBeforeSendItem;
01544     }
01545 
01549     static
01550     void setRequestMDN( bool v )
01551     {
01552       if (!self()->isImmutable( QString::fromLatin1( "RequestMDN" ) ))
01553         self()->mRequestMDN = v;
01554     }
01555 
01559     static
01560     bool requestMDN()
01561     {
01562       return self()->mRequestMDN;
01563     }
01564 
01568     ItemBool *requestMDNItem()
01569     {
01570       return mRequestMDNItem;
01571     }
01572 
01576     static
01577     void setShowRecentAddressesInComposer( bool v )
01578     {
01579       if (!self()->isImmutable( QString::fromLatin1( "ShowRecentAddressesInComposer" ) ))
01580         self()->mShowRecentAddressesInComposer = v;
01581     }
01582 
01586     static
01587     bool showRecentAddressesInComposer()
01588     {
01589       return self()->mShowRecentAddressesInComposer;
01590     }
01591 
01595     ItemBool *showRecentAddressesInComposerItem()
01596     {
01597       return mShowRecentAddressesInComposerItem;
01598     }
01599 
01603     static
01604     void setHeaders( int v )
01605     {
01606       if (!self()->isImmutable( QString::fromLatin1( "Headers" ) ))
01607         self()->mHeaders = v;
01608     }
01609 
01613     static
01614     int headers()
01615     {
01616       return self()->mHeaders;
01617     }
01618 
01622     ItemInt *headersItem()
01623     {
01624       return mHeadersItem;
01625     }
01626 
01630     static
01631     void setCompletionMode( int v )
01632     {
01633       if (!self()->isImmutable( QString::fromLatin1( "CompletionMode" ) ))
01634         self()->mCompletionMode = v;
01635     }
01636 
01640     static
01641     int completionMode()
01642     {
01643       return self()->mCompletionMode;
01644     }
01645 
01649     ItemInt *completionModeItem()
01650     {
01651       return mCompletionModeItem;
01652     }
01653 
01657     static
01658     void setAutoSpellChecking( bool v )
01659     {
01660       if (!self()->isImmutable( QString::fromLatin1( "AutoSpellChecking" ) ))
01661         self()->mAutoSpellChecking = v;
01662     }
01663 
01667     static
01668     bool autoSpellChecking()
01669     {
01670       return self()->mAutoSpellChecking;
01671     }
01672 
01676     ItemBool *autoSpellCheckingItem()
01677     {
01678       return mAutoSpellCheckingItem;
01679     }
01680 
01684     static
01685     void setShowForgottenAttachmentWarning( bool v )
01686     {
01687       if (!self()->isImmutable( QString::fromLatin1( "ShowForgottenAttachmentWarning" ) ))
01688         self()->mShowForgottenAttachmentWarning = v;
01689     }
01690 
01694     static
01695     bool showForgottenAttachmentWarning()
01696     {
01697       return self()->mShowForgottenAttachmentWarning;
01698     }
01699 
01703     ItemBool *showForgottenAttachmentWarningItem()
01704     {
01705       return mShowForgottenAttachmentWarningItem;
01706     }
01707 
01711     static
01712     void setAttachmentKeywords( const QStringList & v )
01713     {
01714       if (!self()->isImmutable( QString::fromLatin1( "AttachmentKeywords" ) ))
01715         self()->mAttachmentKeywords = v;
01716     }
01717 
01721     static
01722     QStringList attachmentKeywords()
01723     {
01724       return self()->mAttachmentKeywords;
01725     }
01726 
01730     ItemStringList *attachmentKeywordsItem()
01731     {
01732       return mAttachmentKeywordsItem;
01733     }
01734 
01738     static
01739     void setShowMessagePartDialogOnAttach( bool v )
01740     {
01741       if (!self()->isImmutable( QString::fromLatin1( "ShowMessagePartDialogOnAttach" ) ))
01742         self()->mShowMessagePartDialogOnAttach = v;
01743     }
01744 
01748     static
01749     bool showMessagePartDialogOnAttach()
01750     {
01751       return self()->mShowMessagePartDialogOnAttach;
01752     }
01753 
01757     ItemBool *showMessagePartDialogOnAttachItem()
01758     {
01759       return mShowMessagePartDialogOnAttachItem;
01760     }
01761 
01765     static
01766     void setAutosaveInterval( int v )
01767     {
01768       if (!self()->isImmutable( QString::fromLatin1( "AutosaveInterval" ) ))
01769         self()->mAutosaveInterval = v;
01770     }
01771 
01775     static
01776     int autosaveInterval()
01777     {
01778       return self()->mAutosaveInterval;
01779     }
01780 
01784     ItemInt *autosaveIntervalItem()
01785     {
01786       return mAutosaveIntervalItem;
01787     }
01788 
01792     static
01793     void setReplyPrefixes( const QStringList & v )
01794     {
01795       if (!self()->isImmutable( QString::fromLatin1( "ReplyPrefixes" ) ))
01796         self()->mReplyPrefixes = v;
01797     }
01798 
01802     static
01803     QStringList replyPrefixes()
01804     {
01805       return self()->mReplyPrefixes;
01806     }
01807 
01811     ItemStringList *replyPrefixesItem()
01812     {
01813       return mReplyPrefixesItem;
01814     }
01815 
01819     static
01820     void setReplaceReplyPrefix( bool v )
01821     {
01822       if (!self()->isImmutable( QString::fromLatin1( "ReplaceReplyPrefix" ) ))
01823         self()->mReplaceReplyPrefix = v;
01824     }
01825 
01829     static
01830     bool replaceReplyPrefix()
01831     {
01832       return self()->mReplaceReplyPrefix;
01833     }
01834 
01838     ItemBool *replaceReplyPrefixItem()
01839     {
01840       return mReplaceReplyPrefixItem;
01841     }
01842 
01846     static
01847     void setForwardPrefixes( const QStringList & v )
01848     {
01849       if (!self()->isImmutable( QString::fromLatin1( "ForwardPrefixes" ) ))
01850         self()->mForwardPrefixes = v;
01851     }
01852 
01856     static
01857     QStringList forwardPrefixes()
01858     {
01859       return self()->mForwardPrefixes;
01860     }
01861 
01865     ItemStringList *forwardPrefixesItem()
01866     {
01867       return mForwardPrefixesItem;
01868     }
01869 
01873     static
01874     void setReplaceForwardPrefix( bool v )
01875     {
01876       if (!self()->isImmutable( QString::fromLatin1( "ReplaceForwardPrefix" ) ))
01877         self()->mReplaceForwardPrefix = v;
01878     }
01879 
01883     static
01884     bool replaceForwardPrefix()
01885     {
01886       return self()->mReplaceForwardPrefix;
01887     }
01888 
01892     ItemBool *replaceForwardPrefixItem()
01893     {
01894       return mReplaceForwardPrefixItem;
01895     }
01896 
01900     static
01901     void setSmartQuote( bool v )
01902     {
01903       if (!self()->isImmutable( QString::fromLatin1( "SmartQuote" ) ))
01904         self()->mSmartQuote = v;
01905     }
01906 
01910     static
01911     bool smartQuote()
01912     {
01913       return self()->mSmartQuote;
01914     }
01915 
01919     ItemBool *smartQuoteItem()
01920     {
01921       return mSmartQuoteItem;
01922     }
01923 
01927     static
01928     void setAddresseeSelectorType( int v )
01929     {
01930       if (!self()->isImmutable( QString::fromLatin1( "AddresseeSelectorType" ) ))
01931         self()->mAddresseeSelectorType = v;
01932     }
01933 
01937     static
01938     int addresseeSelectorType()
01939     {
01940       return self()->mAddresseeSelectorType;
01941     }
01942 
01946     ItemEnum *addresseeSelectorTypeItem()
01947     {
01948       return mAddresseeSelectorTypeItem;
01949     }
01950 
01954     static
01955     void setRecipientsEditorType( int v )
01956     {
01957       if (!self()->isImmutable( QString::fromLatin1( "RecipientsEditorType" ) ))
01958         self()->mRecipientsEditorType = v;
01959     }
01960 
01964     static
01965     int recipientsEditorType()
01966     {
01967       return self()->mRecipientsEditorType;
01968     }
01969 
01973     ItemEnum *recipientsEditorTypeItem()
01974     {
01975       return mRecipientsEditorTypeItem;
01976     }
01977 
01981     static
01982     void setSecondRecipientTypeDefault( int v )
01983     {
01984       if (!self()->isImmutable( QString::fromLatin1( "SecondRecipientTypeDefault" ) ))
01985         self()->mSecondRecipientTypeDefault = v;
01986     }
01987 
01991     static
01992     int secondRecipientTypeDefault()
01993     {
01994       return self()->mSecondRecipientTypeDefault;
01995     }
01996 
02000     ItemEnum *secondRecipientTypeDefaultItem()
02001     {
02002       return mSecondRecipientTypeDefaultItem;
02003     }
02004 
02008     static
02009     void setMaximumRecipients( int v )
02010     {
02011       if (!self()->isImmutable( QString::fromLatin1( "MaximumRecipients" ) ))
02012         self()->mMaximumRecipients = v;
02013     }
02014 
02018     static
02019     int maximumRecipients()
02020     {
02021       return self()->mMaximumRecipients;
02022     }
02023 
02027     ItemInt *maximumRecipientsItem()
02028     {
02029       return mMaximumRecipientsItem;
02030     }
02031 
02035     static
02036     void setCustomTemplates( const QStringList & v )
02037     {
02038       if (!self()->isImmutable( QString::fromLatin1( "CustomTemplates" ) ))
02039         self()->mCustomTemplates = v;
02040     }
02041 
02045     static
02046     QStringList customTemplates()
02047     {
02048       return self()->mCustomTemplates;
02049     }
02050 
02054     ItemStringList *customTemplatesItem()
02055     {
02056       return mCustomTemplatesItem;
02057     }
02058 
02062     static
02063     void setUseDefaultFonts( bool v )
02064     {
02065       if (!self()->isImmutable( QString::fromLatin1( "UseDefaultFonts" ) ))
02066         self()->mUseDefaultFonts = v;
02067     }
02068 
02072     static
02073     bool useDefaultFonts()
02074     {
02075       return self()->mUseDefaultFonts;
02076     }
02077 
02081     ItemBool *useDefaultFontsItem()
02082     {
02083       return mUseDefaultFontsItem;
02084     }
02085 
02089     static
02090     void setComposerFont( const QFont & v )
02091     {
02092       if (!self()->isImmutable( QString::fromLatin1( "ComposerFont" ) ))
02093         self()->mComposerFont = v;
02094     }
02095 
02099     static
02100     QFont composerFont()
02101     {
02102       return self()->mComposerFont;
02103     }
02104 
02108     ItemFont *composerFontItem()
02109     {
02110       return mComposerFontItem;
02111     }
02112 
02116     static
02117     void setFixedFont( const QFont & v )
02118     {
02119       if (!self()->isImmutable( QString::fromLatin1( "FixedFont" ) ))
02120         self()->mFixedFont = v;
02121     }
02122 
02126     static
02127     QFont fixedFont()
02128     {
02129       return self()->mFixedFont;
02130     }
02131 
02135     ItemFont *fixedFontItem()
02136     {
02137       return mFixedFontItem;
02138     }
02139 
02143     static
02144     void setComposerSize( const QSize & v )
02145     {
02146       if (!self()->isImmutable( QString::fromLatin1( "ComposerSize" ) ))
02147         self()->mComposerSize = v;
02148     }
02149 
02153     static
02154     QSize composerSize()
02155     {
02156       return self()->mComposerSize;
02157     }
02158 
02162     ItemSize *composerSizeItem()
02163     {
02164       return mComposerSizeItem;
02165     }
02166 
02170     static
02171     void setUseDefaultColors( bool v )
02172     {
02173       if (!self()->isImmutable( QString::fromLatin1( "UseDefaultColors" ) ))
02174         self()->mUseDefaultColors = v;
02175     }
02176 
02180     static
02181     bool useDefaultColors()
02182     {
02183       return self()->mUseDefaultColors;
02184     }
02185 
02189     ItemBool *useDefaultColorsItem()
02190     {
02191       return mUseDefaultColorsItem;
02192     }
02193 
02197     static
02198     void setForegroundColor( const QColor & v )
02199     {
02200       if (!self()->isImmutable( QString::fromLatin1( "ForegroundColor" ) ))
02201         self()->mForegroundColor = v;
02202     }
02203 
02207     static
02208     QColor foregroundColor()
02209     {
02210       return self()->mForegroundColor;
02211     }
02212 
02216     ItemColor *foregroundColorItem()
02217     {
02218       return mForegroundColorItem;
02219     }
02220 
02224     static
02225     void setBackgroundColor( const QColor & v )
02226     {
02227       if (!self()->isImmutable( QString::fromLatin1( "BackgroundColor" ) ))
02228         self()->mBackgroundColor = v;
02229     }
02230 
02234     static
02235     QColor backgroundColor()
02236     {
02237       return self()->mBackgroundColor;
02238     }
02239 
02243     ItemColor *backgroundColorItem()
02244     {
02245       return mBackgroundColorItem;
02246     }
02247 
02251     static
02252     void setFallbackCharacterEncoding( const QString & v )
02253     {
02254       if (!self()->isImmutable( QString::fromLatin1( "FallbackCharacterEncoding" ) ))
02255         self()->mFallbackCharacterEncoding = v;
02256     }
02257 
02261     static
02262     QString fallbackCharacterEncoding()
02263     {
02264       return self()->mFallbackCharacterEncoding;
02265     }
02266 
02270     ItemString *fallbackCharacterEncodingItem()
02271     {
02272       return mFallbackCharacterEncodingItem;
02273     }
02274 
02278     static
02279     void setOverrideCharacterEncoding( const QString & v )
02280     {
02281       if (!self()->isImmutable( QString::fromLatin1( "OverrideCharacterEncoding" ) ))
02282         self()->mOverrideCharacterEncoding = v;
02283     }
02284 
02288     static
02289     QString overrideCharacterEncoding()
02290     {
02291       return self()->mOverrideCharacterEncoding;
02292     }
02293 
02297     ItemString *overrideCharacterEncodingItem()
02298     {
02299       return mOverrideCharacterEncodingItem;
02300     }
02301 
02305     static
02306     void setShowEmoticons( bool v )
02307     {
02308       if (!self()->isImmutable( QString::fromLatin1( "ShowEmoticons" ) ))
02309         self()->mShowEmoticons = v;
02310     }
02311 
02315     static
02316     bool showEmoticons()
02317     {
02318       return self()->mShowEmoticons;
02319     }
02320 
02324     ItemBool *showEmoticonsItem()
02325     {
02326       return mShowEmoticonsItem;
02327     }
02328 
02332     static
02333     void setShowExpandQuotesMark( bool v )
02334     {
02335       if (!self()->isImmutable( QString::fromLatin1( "ShowExpandQuotesMark" ) ))
02336         self()->mShowExpandQuotesMark = v;
02337     }
02338 
02342     static
02343     bool showExpandQuotesMark()
02344     {
02345       return self()->mShowExpandQuotesMark;
02346     }
02347 
02351     ItemBool *showExpandQuotesMarkItem()
02352     {
02353       return mShowExpandQuotesMarkItem;
02354     }
02355 
02359     static
02360     void setCollapseQuoteLevelSpin( int v )
02361     {
02362       if (v < 0)
02363       {
02364         kdDebug() << "setCollapseQuoteLevelSpin: value " << v << " is less than the minimum value of 0" << endl;
02365         v = 0;
02366       }
02367 
02368       if (v > 10)
02369       {
02370         kdDebug() << "setCollapseQuoteLevelSpin: value " << v << " is greater than the maximum value of 10" << endl;
02371         v = 10;
02372       }
02373 
02374       if (!self()->isImmutable( QString::fromLatin1( "CollapseQuoteLevelSpin" ) ))
02375         self()->mCollapseQuoteLevelSpin = v;
02376     }
02377 
02381     static
02382     int collapseQuoteLevelSpin()
02383     {
02384       return self()->mCollapseQuoteLevelSpin;
02385     }
02386 
02390     ItemInt *collapseQuoteLevelSpinItem()
02391     {
02392       return mCollapseQuoteLevelSpinItem;
02393     }
02394 
02398     static
02399     void setShrinkQuotes( bool v )
02400     {
02401       if (!self()->isImmutable( QString::fromLatin1( "ShrinkQuotes" ) ))
02402         self()->mShrinkQuotes = v;
02403     }
02404 
02408     static
02409     bool shrinkQuotes()
02410     {
02411       return self()->mShrinkQuotes;
02412     }
02413 
02417     ItemBool *shrinkQuotesItem()
02418     {
02419       return mShrinkQuotesItem;
02420     }
02421 
02425     static
02426     void setChiasmusDecryptionKey( const QString & v )
02427     {
02428       if (!self()->isImmutable( QString::fromLatin1( "ChiasmusDecryptionKey" ) ))
02429         self()->mChiasmusDecryptionKey = v;
02430     }
02431 
02435     static
02436     QString chiasmusDecryptionKey()
02437     {
02438       return self()->mChiasmusDecryptionKey;
02439     }
02440 
02444     ItemString *chiasmusDecryptionKeyItem()
02445     {
02446       return mChiasmusDecryptionKeyItem;
02447     }
02448 
02452     static
02453     void setChiasmusDecryptionOptions( const QString & v )
02454     {
02455       if (!self()->isImmutable( QString::fromLatin1( "ChiasmusDecryptionOptions" ) ))
02456         self()->mChiasmusDecryptionOptions = v;
02457     }
02458 
02462     static
02463     QString chiasmusDecryptionOptions()
02464     {
02465       return self()->mChiasmusDecryptionOptions;
02466     }
02467 
02471     ItemString *chiasmusDecryptionOptionsItem()
02472     {
02473       return mChiasmusDecryptionOptionsItem;
02474     }
02475 
02479     static
02480     void setAutomaticDecrypt( bool v )
02481     {
02482       if (!self()->isImmutable( QString::fromLatin1( "automaticDecrypt" ) ))
02483         self()->mAutomaticDecrypt = v;
02484     }
02485 
02489     static
02490     bool automaticDecrypt()
02491     {
02492       return self()->mAutomaticDecrypt;
02493     }
02494 
02498     ItemBool *automaticDecryptItem()
02499     {
02500       return mAutomaticDecryptItem;
02501     }
02502 
02506     static
02507     void setSendMDNsWithEmptySender( bool v )
02508     {
02509       if (!self()->isImmutable( QString::fromLatin1( "SendMDNsWithEmptySender" ) ))
02510         self()->mSendMDNsWithEmptySender = v;
02511     }
02512 
02516     static
02517     bool sendMDNsWithEmptySender()
02518     {
02519       return self()->mSendMDNsWithEmptySender;
02520     }
02521 
02525     ItemBool *sendMDNsWithEmptySenderItem()
02526     {
02527       return mSendMDNsWithEmptySenderItem;
02528     }
02529 
02533     static
02534     void setPhrasesConverted( bool v )
02535     {
02536       if (!self()->isImmutable( QString::fromLatin1( "PhrasesConverted" ) ))
02537         self()->mPhrasesConverted = v;
02538     }
02539 
02543     static
02544     bool phrasesConverted()
02545     {
02546       return self()->mPhrasesConverted;
02547     }
02548 
02552     ItemBool *phrasesConvertedItem()
02553     {
02554       return mPhrasesConvertedItem;
02555     }
02556 
02560     static
02561     void setTemplateNewMessage( const QString & v )
02562     {
02563       if (!self()->isImmutable( QString::fromLatin1( "TemplateNewMessage" ) ))
02564         self()->mTemplateNewMessage = v;
02565     }
02566 
02570     static
02571     QString templateNewMessage()
02572     {
02573       return self()->mTemplateNewMessage;
02574     }
02575 
02579     ItemString *templateNewMessageItem()
02580     {
02581       return mTemplateNewMessageItem;
02582     }
02583 
02587     static
02588     void setTemplateReply( const QString & v )
02589     {
02590       if (!self()->isImmutable( QString::fromLatin1( "TemplateReply" ) ))
02591         self()->mTemplateReply = v;
02592     }
02593 
02597     static
02598     QString templateReply()
02599     {
02600       return self()->mTemplateReply;
02601     }
02602 
02606     ItemString *templateReplyItem()
02607     {
02608       return mTemplateReplyItem;
02609     }
02610 
02614     static
02615     void setTemplateReplyAll( const QString & v )
02616     {
02617       if (!self()->isImmutable( QString::fromLatin1( "TemplateReplyAll" ) ))
02618         self()->mTemplateReplyAll = v;
02619     }
02620 
02624     static
02625     QString templateReplyAll()
02626     {
02627       return self()->mTemplateReplyAll;
02628     }
02629 
02633     ItemString *templateReplyAllItem()
02634     {
02635       return mTemplateReplyAllItem;
02636     }
02637 
02641     static
02642     void setTemplateForward( const QString & v )
02643     {
02644       if (!self()->isImmutable( QString::fromLatin1( "TemplateForward" ) ))
02645         self()->mTemplateForward = v;
02646     }
02647 
02651     static
02652     QString templateForward()
02653     {
02654       return self()->mTemplateForward;
02655     }
02656 
02660     ItemString *templateForwardItem()
02661     {
02662       return mTemplateForwardItem;
02663     }
02664 
02668     static
02669     void setQuoteString( const QString & v )
02670     {
02671       if (!self()->isImmutable( QString::fromLatin1( "QuoteString" ) ))
02672         self()->mQuoteString = v;
02673     }
02674 
02678     static
02679     QString quoteString()
02680     {
02681       return self()->mQuoteString;
02682     }
02683 
02687     ItemString *quoteStringItem()
02688     {
02689       return mQuoteStringItem;
02690     }
02691 
02692     static
02693     void writeConfig()
02694     {
02695       static_cast<KConfigSkeleton*>(self())->writeConfig();
02696     }
02697   protected:
02698     GlobalSettingsBase();
02699     static GlobalSettingsBase *mSelf;
02700 
02701 
02702     // Behaviour
02703     bool mDelayedMarkAsRead;
02704     uint mDelayedMarkTime;
02705     int mActionEnterFolder;
02706     int mNetworkState;
02707     int mLoopOnGotoUnread;
02708     bool mShowPopupAfterDnD;
02709     bool mExcludeImportantMailFromExpiry;
02710     int mSendOnCheck;
02711 
02712     // FolderSelectionDialog
02713     QString mLastSelectedFolder;
02714 
02715     // General
02716     bool mSystemTrayEnabled;
02717     int mSystemTrayPolicy;
02718     bool mVerboseNewMailNotification;
02719     QString mExternalEditor;
02720     bool mUseExternalEditor;
02721     int mCustHeaderCount;
02722     int mReplyCurrentLanguage;
02723     int mReplyLanguagesCount;
02724     int mFolderLoadingTimeout;
02725 
02726     // Groupware
02727     bool mGroupwareEnabled;
02728     bool mLegacyMangleFromToHeaders;
02729     bool mLegacyBodyInvites;
02730     bool mAutomaticSending;
02731 
02732     // IMAP Resource
02733     bool mTheIMAPResourceEnabled;
02734     bool mHideGroupwareFolders;
02735     int mTheIMAPResourceStorageFormat;
02736     QString mTheIMAPResourceFolderParent;
02737     int mTheIMAPResourceAccount;
02738     int mTheIMAPResourceFolderLanguage;
02739 
02740     // Internal
02741     int mMsgDictSizeHint;
02742     QString mPreviousNewFeaturesMD5;
02743 
02744     // Network
02745     int mMaxConnectionsPerHost;
02746 
02747     // UserInterface
02748     bool mQuickSearchActive;
02749 
02750     // Composer
02751     bool mForceReplyCharset;
02752     QString mAutoTextSignature;
02753     bool mStickyIdentity;
02754     bool mStickyFcc;
02755     bool mStickyTransport;
02756     bool mWordWrap;
02757     bool mUseFixedFont;
02758     int mLineWrapWidth;
02759     uint mPreviousIdentity;
02760     QString mPreviousFcc;
02761     QStringList mTransportHistory;
02762     QString mCurrentTransport;
02763     QString mDefaultTransport;
02764     int mMaxTransportEntries;
02765     bool mOutlookCompatibleAttachments;
02766     bool mUseHtmlMarkup;
02767     bool mPgpAutoSign;
02768     bool mPgpAutoEncrypt;
02769     bool mNeverEncryptDrafts;
02770     QString mChiasmusKey;
02771     QString mChiasmusOptions;
02772     bool mConfirmBeforeSend;
02773     bool mRequestMDN;
02774     bool mShowRecentAddressesInComposer;
02775     int mHeaders;
02776     int mCompletionMode;
02777     bool mAutoSpellChecking;
02778     bool mShowForgottenAttachmentWarning;
02779     QStringList mAttachmentKeywords;
02780     bool mShowMessagePartDialogOnAttach;
02781     int mAutosaveInterval;
02782     QStringList mReplyPrefixes;
02783     bool mReplaceReplyPrefix;
02784     QStringList mForwardPrefixes;
02785     bool mReplaceForwardPrefix;
02786     bool mSmartQuote;
02787     int mAddresseeSelectorType;
02788     int mRecipientsEditorType;
02789     int mSecondRecipientTypeDefault;
02790     int mMaximumRecipients;
02791     QStringList mCustomTemplates;
02792 
02793     // Fonts
02794     bool mUseDefaultFonts;
02795     QFont mComposerFont;
02796     QFont mFixedFont;
02797 
02798     // Geometry
02799     QSize mComposerSize;
02800 
02801     // Reader
02802     bool mUseDefaultColors;
02803     QColor mForegroundColor;
02804     QColor mBackgroundColor;
02805     QString mFallbackCharacterEncoding;
02806     QString mOverrideCharacterEncoding;
02807     bool mShowEmoticons;
02808     bool mShowExpandQuotesMark;
02809     int mCollapseQuoteLevelSpin;
02810     bool mShrinkQuotes;
02811     QString mChiasmusDecryptionKey;
02812     QString mChiasmusDecryptionOptions;
02813 
02814     // TextIndex
02815     bool mAutomaticDecrypt;
02816 
02817     // MDN
02818     bool mSendMDNsWithEmptySender;
02819 
02820     // GlobalTemplates
02821     bool mPhrasesConverted;
02822     QString mTemplateNewMessage;
02823     QString mTemplateReply;
02824     QString mTemplateReplyAll;
02825     QString mTemplateForward;
02826     QString mQuoteString;
02827 
02828   private:
02829     ItemBool *mDelayedMarkAsReadItem;
02830     ItemUInt *mDelayedMarkTimeItem;
02831     ItemEnum *mActionEnterFolderItem;
02832     ItemEnum *mNetworkStateItem;
02833     ItemEnum *mLoopOnGotoUnreadItem;
02834     ItemBool *mShowPopupAfterDnDItem;
02835     ItemBool *mExcludeImportantMailFromExpiryItem;
02836     ItemEnum *mSendOnCheckItem;
02837     ItemString *mLastSelectedFolderItem;
02838     ItemBool *mSystemTrayEnabledItem;
02839     ItemEnum *mSystemTrayPolicyItem;
02840     ItemBool *mVerboseNewMailNotificationItem;
02841     ItemString *mExternalEditorItem;
02842     ItemBool *mUseExternalEditorItem;
02843     ItemInt *mCustHeaderCountItem;
02844     ItemInt *mReplyCurrentLanguageItem;
02845     ItemInt *mReplyLanguagesCountItem;
02846     ItemInt *mFolderLoadingTimeoutItem;
02847     ItemBool *mGroupwareEnabledItem;
02848     ItemBool *mLegacyMangleFromToHeadersItem;
02849     ItemBool *mLegacyBodyInvitesItem;
02850     ItemBool *mAutomaticSendingItem;
02851     ItemBool *mTheIMAPResourceEnabledItem;
02852     ItemBool *mHideGroupwareFoldersItem;
02853     ItemEnum *mTheIMAPResourceStorageFormatItem;
02854     ItemString *mTheIMAPResourceFolderParentItem;
02855     ItemInt *mTheIMAPResourceAccountItem;
02856     ItemInt *mTheIMAPResourceFolderLanguageItem;
02857     ItemInt *mMsgDictSizeHintItem;
02858     ItemString *mPreviousNewFeaturesMD5Item;
02859     ItemInt *mMaxConnectionsPerHostItem;
02860     ItemBool *mQuickSearchActiveItem;
02861     ItemBool *mForceReplyCharsetItem;
02862     ItemString *mAutoTextSignatureItem;
02863     ItemBool *mStickyIdentityItem;
02864     ItemBool *mStickyFccItem;
02865     ItemBool *mStickyTransportItem;
02866     ItemBool *mWordWrapItem;
02867     ItemBool *mUseFixedFontItem;
02868     ItemInt *mLineWrapWidthItem;
02869     ItemUInt *mPreviousIdentityItem;
02870     ItemString *mPreviousFccItem;
02871     ItemStringList *mTransportHistoryItem;
02872     ItemString *mCurrentTransportItem;
02873     ItemString *mDefaultTransportItem;
02874     ItemInt *mMaxTransportEntriesItem;
02875     ItemBool *mOutlookCompatibleAttachmentsItem;
02876     ItemBool *mUseHtmlMarkupItem;
02877     ItemBool *mPgpAutoSignItem;
02878     ItemBool *mPgpAutoEncryptItem;
02879     ItemBool *mNeverEncryptDraftsItem;
02880     ItemString *mChiasmusKeyItem;
02881     ItemString *mChiasmusOptionsItem;
02882     ItemBool *mConfirmBeforeSendItem;
02883     ItemBool *mRequestMDNItem;
02884     ItemBool *mShowRecentAddressesInComposerItem;
02885     ItemInt *mHeadersItem;
02886     ItemInt *mCompletionModeItem;
02887     ItemBool *mAutoSpellCheckingItem;
02888     ItemBool *mShowForgottenAttachmentWarningItem;
02889     ItemStringList *mAttachmentKeywordsItem;
02890     ItemBool *mShowMessagePartDialogOnAttachItem;
02891     ItemInt *mAutosaveIntervalItem;
02892     ItemStringList *mReplyPrefixesItem;
02893     ItemBool *mReplaceReplyPrefixItem;
02894     ItemStringList *mForwardPrefixesItem;
02895     ItemBool *mReplaceForwardPrefixItem;
02896     ItemBool *mSmartQuoteItem;
02897     ItemEnum *mAddresseeSelectorTypeItem;
02898     ItemEnum *mRecipientsEditorTypeItem;
02899     ItemEnum *mSecondRecipientTypeDefaultItem;
02900     ItemInt *mMaximumRecipientsItem;
02901     ItemStringList *mCustomTemplatesItem;
02902     ItemBool *mUseDefaultFontsItem;
02903     ItemFont *mComposerFontItem;
02904     ItemFont *mFixedFontItem;
02905     ItemSize *mComposerSizeItem;
02906     ItemBool *mUseDefaultColorsItem;
02907     ItemColor *mForegroundColorItem;
02908     ItemColor *mBackgroundColorItem;
02909     ItemString *mFallbackCharacterEncodingItem;
02910     ItemString *mOverrideCharacterEncodingItem;
02911     ItemBool *mShowEmoticonsItem;
02912     ItemBool *mShowExpandQuotesMarkItem;
02913     ItemInt *mCollapseQuoteLevelSpinItem;
02914     ItemBool *mShrinkQuotesItem;
02915     ItemString *mChiasmusDecryptionKeyItem;
02916     ItemString *mChiasmusDecryptionOptionsItem;
02917     ItemBool *mAutomaticDecryptItem;
02918     ItemBool *mSendMDNsWithEmptySenderItem;
02919     ItemBool *mPhrasesConvertedItem;
02920     ItemString *mTemplateNewMessageItem;
02921     ItemString *mTemplateReplyItem;
02922     ItemString *mTemplateReplyAllItem;
02923     ItemString *mTemplateForwardItem;
02924     ItemString *mQuoteStringItem;
02925 };
02926 
02927 #endif
02928 
KDE Home | KDE Accessibility Home | Description of Access Keys