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 class GlobalSettingsBase : public KConfigSkeleton
00014 {
00015   public:
00016     class EnumActionEnterFolder
00017     {
00018       public:
00019       enum type { SelectFirstNew, SelectFirstUnreadNew, SelectLastSelected, COUNT };
00020     };
00021     class EnumNetworkState
00022     {
00023       public:
00024       enum type { Online, Offline, COUNT };
00025     };
00026     class EnumLoopOnGotoUnread
00027     {
00028       public:
00029       enum type { DontLoop, LoopInCurrentFolder, LoopInAllFolders, COUNT };
00030     };
00031     class EnumSendOnCheck
00032     {
00033       public:
00034       enum type { DontSendOnCheck, SendOnManualChecks, SendOnAllChecks, COUNT };
00035     };
00036     class EnumSystemTrayPolicy
00037     {
00038       public:
00039       enum type { ShowAlways, ShowOnUnread, COUNT };
00040     };
00041     class EnumTheIMAPResourceStorageFormat
00042     {
00043       public:
00044       enum type { IcalVcard, XML, COUNT };
00045     };
00046     class EnumAddresseeSelectorType
00047     {
00048       public:
00049       enum type { New, Old, COUNT };
00050     };
00051     class EnumRecipientsEditorType
00052     {
00053       public:
00054       enum type { Classic, MultiLine, COUNT };
00055     };
00056     class EnumSecondRecipientTypeDefault
00057     {
00058       public:
00059       enum type { To, Cc, COUNT };
00060     };
00061 
00062     static GlobalSettingsBase *self();
00063     ~GlobalSettingsBase();
00064 
00068     static
00069     void setDelayedMarkAsRead( bool v )
00070     {
00071       if (!self()->isImmutable( QString::fromLatin1( "DelayedMarkAsRead" ) ))
00072         self()->mDelayedMarkAsRead = v;
00073     }
00074 
00078     static
00079     bool delayedMarkAsRead()
00080     {
00081       return self()->mDelayedMarkAsRead;
00082     }
00083 
00087     ItemBool *delayedMarkAsReadItem()
00088     {
00089       return mDelayedMarkAsReadItem;
00090     }
00091 
00095     static
00096     void setDelayedMarkTime( uint v )
00097     {
00098       if (!self()->isImmutable( QString::fromLatin1( "DelayedMarkTime" ) ))
00099         self()->mDelayedMarkTime = v;
00100     }
00101 
00105     static
00106     uint delayedMarkTime()
00107     {
00108       return self()->mDelayedMarkTime;
00109     }
00110 
00114     ItemUInt *delayedMarkTimeItem()
00115     {
00116       return mDelayedMarkTimeItem;
00117     }
00118 
00122     static
00123     void setActionEnterFolder( int v )
00124     {
00125       if (!self()->isImmutable( QString::fromLatin1( "ActionEnterFolder" ) ))
00126         self()->mActionEnterFolder = v;
00127     }
00128 
00132     static
00133     int actionEnterFolder()
00134     {
00135       return self()->mActionEnterFolder;
00136     }
00137 
00141     ItemEnum *actionEnterFolderItem()
00142     {
00143       return mActionEnterFolderItem;
00144     }
00145 
00149     static
00150     void setNetworkState( int v )
00151     {
00152       if (!self()->isImmutable( QString::fromLatin1( "NetworkState" ) ))
00153         self()->mNetworkState = v;
00154     }
00155 
00159     static
00160     int networkState()
00161     {
00162       return self()->mNetworkState;
00163     }
00164 
00168     ItemEnum *networkStateItem()
00169     {
00170       return mNetworkStateItem;
00171     }
00172 
00176     static
00177     void setLoopOnGotoUnread( int v )
00178     {
00179       if (!self()->isImmutable( QString::fromLatin1( "LoopOnGotoUnread" ) ))
00180         self()->mLoopOnGotoUnread = v;
00181     }
00182 
00186     static
00187     int loopOnGotoUnread()
00188     {
00189       return self()->mLoopOnGotoUnread;
00190     }
00191 
00195     ItemEnum *loopOnGotoUnreadItem()
00196     {
00197       return mLoopOnGotoUnreadItem;
00198     }
00199 
00203     static
00204     void setShowPopupAfterDnD( bool v )
00205     {
00206       if (!self()->isImmutable( QString::fromLatin1( "ShowPopupAfterDnD" ) ))
00207         self()->mShowPopupAfterDnD = v;
00208     }
00209 
00213     static
00214     bool showPopupAfterDnD()
00215     {
00216       return self()->mShowPopupAfterDnD;
00217     }
00218 
00222     ItemBool *showPopupAfterDnDItem()
00223     {
00224       return mShowPopupAfterDnDItem;
00225     }
00226 
00230     static
00231     void setExcludeImportantMailFromExpiry( bool v )
00232     {
00233       if (!self()->isImmutable( QString::fromLatin1( "ExcludeImportantMailFromExpiry" ) ))
00234         self()->mExcludeImportantMailFromExpiry = v;
00235     }
00236 
00240     static
00241     bool excludeImportantMailFromExpiry()
00242     {
00243       return self()->mExcludeImportantMailFromExpiry;
00244     }
00245 
00249     ItemBool *excludeImportantMailFromExpiryItem()
00250     {
00251       return mExcludeImportantMailFromExpiryItem;
00252     }
00253 
00257     static
00258     void setSendOnCheck( int v )
00259     {
00260       if (!self()->isImmutable( QString::fromLatin1( "SendOnCheck" ) ))
00261         self()->mSendOnCheck = v;
00262     }
00263 
00267     static
00268     int sendOnCheck()
00269     {
00270       return self()->mSendOnCheck;
00271     }
00272 
00276     ItemEnum *sendOnCheckItem()
00277     {
00278       return mSendOnCheckItem;
00279     }
00280 
00284     static
00285     void setLastSelectedFolder( const QString & v )
00286     {
00287       if (!self()->isImmutable( QString::fromLatin1( "LastSelectedFolder" ) ))
00288         self()->mLastSelectedFolder = v;
00289     }
00290 
00294     static
00295     QString lastSelectedFolder()
00296     {
00297       return self()->mLastSelectedFolder;
00298     }
00299 
00303     ItemString *lastSelectedFolderItem()
00304     {
00305       return mLastSelectedFolderItem;
00306     }
00307 
00311     static
00312     void setSystemTrayEnabled( bool v )
00313     {
00314       if (!self()->isImmutable( QString::fromLatin1( "SystemTrayEnabled" ) ))
00315         self()->mSystemTrayEnabled = v;
00316     }
00317 
00321     static
00322     bool systemTrayEnabled()
00323     {
00324       return self()->mSystemTrayEnabled;
00325     }
00326 
00330     ItemBool *systemTrayEnabledItem()
00331     {
00332       return mSystemTrayEnabledItem;
00333     }
00334 
00338     static
00339     void setSystemTrayPolicy( int v )
00340     {
00341       if (!self()->isImmutable( QString::fromLatin1( "SystemTrayPolicy" ) ))
00342         self()->mSystemTrayPolicy = v;
00343     }
00344 
00348     static
00349     int systemTrayPolicy()
00350     {
00351       return self()->mSystemTrayPolicy;
00352     }
00353 
00357     ItemEnum *systemTrayPolicyItem()
00358     {
00359       return mSystemTrayPolicyItem;
00360     }
00361 
00365     static
00366     void setVerboseNewMailNotification( bool v )
00367     {
00368       if (!self()->isImmutable( QString::fromLatin1( "VerboseNewMailNotification" ) ))
00369         self()->mVerboseNewMailNotification = v;
00370     }
00371 
00375     static
00376     bool verboseNewMailNotification()
00377     {
00378       return self()->mVerboseNewMailNotification;
00379     }
00380 
00384     ItemBool *verboseNewMailNotificationItem()
00385     {
00386       return mVerboseNewMailNotificationItem;
00387     }
00388 
00392     static
00393     void setExternalEditor( const QString & v )
00394     {
00395       if (!self()->isImmutable( QString::fromLatin1( "ExternalEditor" ) ))
00396         self()->mExternalEditor = v;
00397     }
00398 
00402     static
00403     QString externalEditor()
00404     {
00405       return self()->mExternalEditor;
00406     }
00407 
00411     ItemString *externalEditorItem()
00412     {
00413       return mExternalEditorItem;
00414     }
00415 
00419     static
00420     void setUseExternalEditor( bool v )
00421     {
00422       if (!self()->isImmutable( QString::fromLatin1( "UseExternalEditor" ) ))
00423         self()->mUseExternalEditor = v;
00424     }
00425 
00429     static
00430     bool useExternalEditor()
00431     {
00432       return self()->mUseExternalEditor;
00433     }
00434 
00438     ItemBool *useExternalEditorItem()
00439     {
00440       return mUseExternalEditorItem;
00441     }
00442 
00446     static
00447     void setCustHeaderCount( int v )
00448     {
00449       if (!self()->isImmutable( QString::fromLatin1( "CustHeaderCount" ) ))
00450         self()->mCustHeaderCount = v;
00451     }
00452 
00456     static
00457     int custHeaderCount()
00458     {
00459       return self()->mCustHeaderCount;
00460     }
00461 
00465     ItemInt *custHeaderCountItem()
00466     {
00467       return mCustHeaderCountItem;
00468     }
00469 
00473     static
00474     void setReplyCurrentLanguage( int v )
00475     {
00476       if (!self()->isImmutable( QString::fromLatin1( "ReplyCurrentLanguage" ) ))
00477         self()->mReplyCurrentLanguage = v;
00478     }
00479 
00483     static
00484     int replyCurrentLanguage()
00485     {
00486       return self()->mReplyCurrentLanguage;
00487     }
00488 
00492     ItemInt *replyCurrentLanguageItem()
00493     {
00494       return mReplyCurrentLanguageItem;
00495     }
00496 
00500     static
00501     void setReplyLanguagesCount( int v )
00502     {
00503       if (v < 0)
00504       {
00505         kdDebug() << "setReplyLanguagesCount: value " << v << " is less than the minimum value of 0" << endl;
00506         v = 0;
00507       }
00508       if (!self()->isImmutable( QString::fromLatin1( "ReplyLanguagesCount" ) ))
00509         self()->mReplyLanguagesCount = v;
00510     }
00511 
00515     static
00516     int replyLanguagesCount()
00517     {
00518       return self()->mReplyLanguagesCount;
00519     }
00520 
00524     ItemInt *replyLanguagesCountItem()
00525     {
00526       return mReplyLanguagesCountItem;
00527     }
00528 
00532     static
00533     void setFolderLoadingTimeout( int v )
00534     {
00535       if (!self()->isImmutable( QString::fromLatin1( "FolderLoadingTimeout" ) ))
00536         self()->mFolderLoadingTimeout = v;
00537     }
00538 
00542     static
00543     int folderLoadingTimeout()
00544     {
00545       return self()->mFolderLoadingTimeout;
00546     }
00547 
00551     ItemInt *folderLoadingTimeoutItem()
00552     {
00553       return mFolderLoadingTimeoutItem;
00554     }
00555 
00559     static
00560     void setGroupwareEnabled( bool v )
00561     {
00562       if (!self()->isImmutable( QString::fromLatin1( "GroupwareEnabled" ) ))
00563         self()->mGroupwareEnabled = v;
00564     }
00565 
00569     static
00570     bool groupwareEnabled()
00571     {
00572       return self()->mGroupwareEnabled;
00573     }
00574 
00578     ItemBool *groupwareEnabledItem()
00579     {
00580       return mGroupwareEnabledItem;
00581     }
00582 
00586     static
00587     void setLegacyMangleFromToHeaders( bool v )
00588     {
00589       if (!self()->isImmutable( QString::fromLatin1( "LegacyMangleFromToHeaders" ) ))
00590         self()->mLegacyMangleFromToHeaders = v;
00591     }
00592 
00596     static
00597     bool legacyMangleFromToHeaders()
00598     {
00599       return self()->mLegacyMangleFromToHeaders;
00600     }
00601 
00605     ItemBool *legacyMangleFromToHeadersItem()
00606     {
00607       return mLegacyMangleFromToHeadersItem;
00608     }
00609 
00613     static
00614     void setLegacyBodyInvites( bool v )
00615     {
00616       if (!self()->isImmutable( QString::fromLatin1( "LegacyBodyInvites" ) ))
00617         self()->mLegacyBodyInvites = v;
00618     }
00619 
00623     static
00624     bool legacyBodyInvites()
00625     {
00626       return self()->mLegacyBodyInvites;
00627     }
00628 
00632     ItemBool *legacyBodyInvitesItem()
00633     {
00634       return mLegacyBodyInvitesItem;
00635     }
00636 
00640     static
00641     void setAutomaticSending( bool v )
00642     {
00643       if (!self()->isImmutable( QString::fromLatin1( "AutomaticSending" ) ))
00644         self()->mAutomaticSending = v;
00645     }
00646 
00650     static
00651     bool automaticSending()
00652     {
00653       return self()->mAutomaticSending;
00654     }
00655 
00659     ItemBool *automaticSendingItem()
00660     {
00661       return mAutomaticSendingItem;
00662     }
00663 
00667     static
00668     void setTheIMAPResourceEnabled( bool v )
00669     {
00670       if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceEnabled" ) ))
00671         self()->mTheIMAPResourceEnabled = v;
00672     }
00673 
00677     static
00678     bool theIMAPResourceEnabled()
00679     {
00680       return self()->mTheIMAPResourceEnabled;
00681     }
00682 
00686     ItemBool *theIMAPResourceEnabledItem()
00687     {
00688       return mTheIMAPResourceEnabledItem;
00689     }
00690 
00694     static
00695     void setHideGroupwareFolders( bool v )
00696     {
00697       if (!self()->isImmutable( QString::fromLatin1( "HideGroupwareFolders" ) ))
00698         self()->mHideGroupwareFolders = v;
00699     }
00700 
00704     static
00705     bool hideGroupwareFolders()
00706     {
00707       return self()->mHideGroupwareFolders;
00708     }
00709 
00713     ItemBool *hideGroupwareFoldersItem()
00714     {
00715       return mHideGroupwareFoldersItem;
00716     }
00717 
00721     static
00722     void setTheIMAPResourceStorageFormat( int v )
00723     {
00724       if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceStorageFormat" ) ))
00725         self()->mTheIMAPResourceStorageFormat = v;
00726     }
00727 
00731     static
00732     int theIMAPResourceStorageFormat()
00733     {
00734       return self()->mTheIMAPResourceStorageFormat;
00735     }
00736 
00740     ItemEnum *theIMAPResourceStorageFormatItem()
00741     {
00742       return mTheIMAPResourceStorageFormatItem;
00743     }
00744 
00748     static
00749     void setTheIMAPResourceFolderParent( const QString & v )
00750     {
00751       if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceFolderParent" ) ))
00752         self()->mTheIMAPResourceFolderParent = v;
00753     }
00754 
00758     static
00759     QString theIMAPResourceFolderParent()
00760     {
00761       return self()->mTheIMAPResourceFolderParent;
00762     }
00763 
00767     ItemString *theIMAPResourceFolderParentItem()
00768     {
00769       return mTheIMAPResourceFolderParentItem;
00770     }
00771 
00775     static
00776     void setTheIMAPResourceAccount( int v )
00777     {
00778       if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceAccount" ) ))
00779         self()->mTheIMAPResourceAccount = v;
00780     }
00781 
00785     static
00786     int theIMAPResourceAccount()
00787     {
00788       return self()->mTheIMAPResourceAccount;
00789     }
00790 
00794     ItemInt *theIMAPResourceAccountItem()
00795     {
00796       return mTheIMAPResourceAccountItem;
00797     }
00798 
00802     static
00803     void setTheIMAPResourceFolderLanguage( int v )
00804     {
00805       if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceFolderLanguage" ) ))
00806         self()->mTheIMAPResourceFolderLanguage = v;
00807     }
00808 
00812     static
00813     int theIMAPResourceFolderLanguage()
00814     {
00815       return self()->mTheIMAPResourceFolderLanguage;
00816     }
00817 
00821     ItemInt *theIMAPResourceFolderLanguageItem()
00822     {
00823       return mTheIMAPResourceFolderLanguageItem;
00824     }
00825 
00829     static
00830     void setMsgDictSizeHint( int v )
00831     {
00832       if (!self()->isImmutable( QString::fromLatin1( "MsgDictSizeHint" ) ))
00833         self()->mMsgDictSizeHint = v;
00834     }
00835 
00839     static
00840     int msgDictSizeHint()
00841     {
00842       return self()->mMsgDictSizeHint;
00843     }
00844 
00848     ItemInt *msgDictSizeHintItem()
00849     {
00850       return mMsgDictSizeHintItem;
00851     }
00852 
00856     static
00857     void setPreviousNewFeaturesMD5( const QString & v )
00858     {
00859       if (!self()->isImmutable( QString::fromLatin1( "PreviousNewFeaturesMD5" ) ))
00860         self()->mPreviousNewFeaturesMD5 = v;
00861     }
00862 
00866     static
00867     QString previousNewFeaturesMD5()
00868     {
00869       return self()->mPreviousNewFeaturesMD5;
00870     }
00871 
00875     ItemString *previousNewFeaturesMD5Item()
00876     {
00877       return mPreviousNewFeaturesMD5Item;
00878     }
00879 
00883     static
00884     void setMaxConnectionsPerHost( int v )
00885     {
00886       if (v < 0)
00887       {
00888         kdDebug() << "setMaxConnectionsPerHost: value " << v << " is less than the minimum value of 0" << endl;
00889         v = 0;
00890       }
00891       if (!self()->isImmutable( QString::fromLatin1( "MaxConnectionsPerHost" ) ))
00892         self()->mMaxConnectionsPerHost = v;
00893     }
00894 
00898     static
00899     int maxConnectionsPerHost()
00900     {
00901       return self()->mMaxConnectionsPerHost;
00902     }
00903 
00907     ItemInt *maxConnectionsPerHostItem()
00908     {
00909       return mMaxConnectionsPerHostItem;
00910     }
00911 
00915     static
00916     void setQuickSearchActive( bool v )
00917     {
00918       if (!self()->isImmutable( QString::fromLatin1( "QuickSearchActive" ) ))
00919         self()->mQuickSearchActive = v;
00920     }
00921 
00925     static
00926     bool quickSearchActive()
00927     {
00928       return self()->mQuickSearchActive;
00929     }
00930 
00934     ItemBool *quickSearchActiveItem()
00935     {
00936       return mQuickSearchActiveItem;
00937     }
00938 
00942     static
00943     void setForceReplyCharset( bool v )
00944     {
00945       if (!self()->isImmutable( QString::fromLatin1( "ForceReplyCharset" ) ))
00946         self()->mForceReplyCharset = v;
00947     }
00948 
00952     static
00953     bool forceReplyCharset()
00954     {
00955       return self()->mForceReplyCharset;
00956     }
00957 
00961     ItemBool *forceReplyCharsetItem()
00962     {
00963       return mForceReplyCharsetItem;
00964     }
00965 
00969     static
00970     void setAutoTextSignature( const QString & v )
00971     {
00972       if (!self()->isImmutable( QString::fromLatin1( "AutoTextSignature" ) ))
00973         self()->mAutoTextSignature = v;
00974     }
00975 
00979     static
00980     QString autoTextSignature()
00981     {
00982       return self()->mAutoTextSignature;
00983     }
00984 
00988     ItemString *autoTextSignatureItem()
00989     {
00990       return mAutoTextSignatureItem;
00991     }
00992 
00996     static
00997     void setStickyIdentity( bool v )
00998     {
00999       if (!self()->isImmutable( QString::fromLatin1( "StickyIdentity" ) ))
01000         self()->mStickyIdentity = v;
01001     }
01002 
01006     static
01007     bool stickyIdentity()
01008     {
01009       return self()->mStickyIdentity;
01010     }
01011 
01015     ItemBool *stickyIdentityItem()
01016     {
01017       return mStickyIdentityItem;
01018     }
01019 
01023     static
01024     void setStickyFcc( bool v )
01025     {
01026       if (!self()->isImmutable( QString::fromLatin1( "StickyFcc" ) ))
01027         self()->mStickyFcc = v;
01028     }
01029 
01033     static
01034     bool stickyFcc()
01035     {
01036       return self()->mStickyFcc;
01037     }
01038 
01042     ItemBool *stickyFccItem()
01043     {
01044       return mStickyFccItem;
01045     }
01046 
01050     static
01051     void setStickyTransport( bool v )
01052     {
01053       if (!self()->isImmutable( QString::fromLatin1( "StickyTransport" ) ))
01054         self()->mStickyTransport = v;
01055     }
01056 
01060     static
01061     bool stickyTransport()
01062     {
01063       return self()->mStickyTransport;
01064     }
01065 
01069     ItemBool *stickyTransportItem()
01070     {
01071       return mStickyTransportItem;
01072     }
01073 
01077     static
01078     void setWordWrap( bool v )
01079     {
01080       if (!self()->isImmutable( QString::fromLatin1( "WordWrap" ) ))
01081         self()->mWordWrap = v;
01082     }
01083 
01087     static
01088     bool wordWrap()
01089     {
01090       return self()->mWordWrap;
01091     }
01092 
01096     ItemBool *wordWrapItem()
01097     {
01098       return mWordWrapItem;
01099     }
01100 
01104     static
01105     void setUseFixedFont( bool v )
01106     {
01107       if (!self()->isImmutable( QString::fromLatin1( "UseFixedFont" ) ))
01108         self()->mUseFixedFont = v;
01109     }
01110 
01114     static
01115     bool useFixedFont()
01116     {
01117       return self()->mUseFixedFont;
01118     }
01119 
01123     ItemBool *useFixedFontItem()
01124     {
01125       return mUseFixedFontItem;
01126     }
01127 
01131     static
01132     void setLineWrapWidth( int v )
01133     {
01134       if (v < 30)
01135       {
01136         kdDebug() << "setLineWrapWidth: value " << v << " is less than the minimum value of 30" << endl;
01137         v = 30;
01138       }
01139 
01140       if (v > 78)
01141       {
01142         kdDebug() << "setLineWrapWidth: value " << v << " is greater than the maximum value of 78" << endl;
01143         v = 78;
01144       }
01145 
01146       if (!self()->isImmutable( QString::fromLatin1( "LineWrapWidth" ) ))
01147         self()->mLineWrapWidth = v;
01148     }
01149 
01153     static
01154     int lineWrapWidth()
01155     {
01156       return self()->mLineWrapWidth;
01157     }
01158 
01162     ItemInt *lineWrapWidthItem()
01163     {
01164       return mLineWrapWidthItem;
01165     }
01166 
01170     static
01171     void setPreviousIdentity( uint v )
01172     {
01173       if (!self()->isImmutable( QString::fromLatin1( "PreviousIdentity" ) ))
01174         self()->mPreviousIdentity = v;
01175     }
01176 
01180     static
01181     uint previousIdentity()
01182     {
01183       return self()->mPreviousIdentity;
01184     }
01185 
01189     ItemUInt *previousIdentityItem()
01190     {
01191       return mPreviousIdentityItem;
01192     }
01193 
01197     static
01198     void setPreviousFcc( const QString & v )
01199     {
01200       if (!self()->isImmutable( QString::fromLatin1( "PreviousFcc" ) ))
01201         self()->mPreviousFcc = v;
01202     }
01203 
01207     static
01208     QString previousFcc()
01209     {
01210       return self()->mPreviousFcc;
01211     }
01212 
01216     ItemString *previousFccItem()
01217     {
01218       return mPreviousFccItem;
01219     }
01220 
01224     static
01225     void setTransportHistory( const QStringList & v )
01226     {
01227       if (!self()->isImmutable( QString::fromLatin1( "TransportHistory" ) ))
01228         self()->mTransportHistory = v;
01229     }
01230 
01234     static
01235     QStringList transportHistory()
01236     {
01237       return self()->mTransportHistory;
01238     }
01239 
01243     ItemStringList *transportHistoryItem()
01244     {
01245       return mTransportHistoryItem;
01246     }
01247 
01251     static
01252     void setCurrentTransport( const QString & v )
01253     {
01254       if (!self()->isImmutable( QString::fromLatin1( "CurrentTransport" ) ))
01255         self()->mCurrentTransport = v;
01256     }
01257 
01261     static
01262     QString currentTransport()
01263     {
01264       return self()->mCurrentTransport;
01265     }
01266 
01270     ItemString *currentTransportItem()
01271     {
01272       return mCurrentTransportItem;
01273     }
01274 
01278     static
01279     void setDefaultTransport( const QString & v )
01280     {
01281       if (!self()->isImmutable( QString::fromLatin1( "DefaultTransport" ) ))
01282         self()->mDefaultTransport = v;
01283     }
01284 
01288     static
01289     QString defaultTransport()
01290     {
01291       return self()->mDefaultTransport;
01292     }
01293 
01297     ItemString *defaultTransportItem()
01298     {
01299       return mDefaultTransportItem;
01300     }
01301 
01305     static
01306     void setMaxTransportEntries( int v )
01307     {
01308       if (!self()->isImmutable( QString::fromLatin1( "MaxTransportEntries" ) ))
01309         self()->mMaxTransportEntries = v;
01310     }
01311 
01315     static
01316     int maxTransportEntries()
01317     {
01318       return self()->mMaxTransportEntries;
01319     }
01320 
01324     ItemInt *maxTransportEntriesItem()
01325     {
01326       return mMaxTransportEntriesItem;
01327     }
01328 
01332     static
01333     void setOutlookCompatibleAttachments( bool v )
01334     {
01335       if (!self()->isImmutable( QString::fromLatin1( "OutlookCompatibleAttachments" ) ))
01336         self()->mOutlookCompatibleAttachments = v;
01337     }
01338 
01342     static
01343     bool outlookCompatibleAttachments()
01344     {
01345       return self()->mOutlookCompatibleAttachments;
01346     }
01347 
01351     ItemBool *outlookCompatibleAttachmentsItem()
01352     {
01353       return mOutlookCompatibleAttachmentsItem;
01354     }
01355 
01359     static
01360     void setUseHtmlMarkup( bool v )
01361     {
01362       if (!self()->isImmutable( QString::fromLatin1( "UseHtmlMarkup" ) ))
01363         self()->mUseHtmlMarkup = v;
01364     }
01365 
01369     static
01370     bool useHtmlMarkup()
01371     {
01372       return self()->mUseHtmlMarkup;
01373     }
01374 
01378     ItemBool *useHtmlMarkupItem()
01379     {
01380       return mUseHtmlMarkupItem;
01381     }
01382 
01386     static
01387     void setPgpAutoSign( bool v )
01388     {
01389       if (!self()->isImmutable( QString::fromLatin1( "PgpAutoSign" ) ))
01390         self()->mPgpAutoSign = v;
01391     }
01392 
01396     static
01397     bool pgpAutoSign()
01398     {
01399       return self()->mPgpAutoSign;
01400     }
01401 
01405     ItemBool *pgpAutoSignItem()
01406     {
01407       return mPgpAutoSignItem;
01408     }
01409 
01413     static
01414     void setPgpAutoEncrypt( bool v )
01415     {
01416       if (!self()->isImmutable( QString::fromLatin1( "PgpAutoEncrypt" ) ))
01417         self()->mPgpAutoEncrypt = v;
01418     }
01419 
01423     static
01424     bool pgpAutoEncrypt()
01425     {
01426       return self()->mPgpAutoEncrypt;
01427     }
01428 
01432     ItemBool *pgpAutoEncryptItem()
01433     {
01434       return mPgpAutoEncryptItem;
01435     }
01436 
01440     static
01441     void setNeverEncryptDrafts( bool v )
01442     {
01443       if (!self()->isImmutable( QString::fromLatin1( "NeverEncryptDrafts" ) ))
01444         self()->mNeverEncryptDrafts = v;
01445     }
01446 
01450     static
01451     bool neverEncryptDrafts()
01452     {
01453       return self()->mNeverEncryptDrafts;
01454     }
01455 
01459     ItemBool *neverEncryptDraftsItem()
01460     {
01461       return mNeverEncryptDraftsItem;
01462     }
01463 
01467     static
01468     void setChiasmusKey( const QString & v )
01469     {
01470       if (!self()->isImmutable( QString::fromLatin1( "ChiasmusKey" ) ))
01471         self()->mChiasmusKey = v;
01472     }
01473 
01477     static
01478     QString chiasmusKey()
01479     {
01480       return self()->mChiasmusKey;
01481     }
01482 
01486     ItemString *chiasmusKeyItem()
01487     {
01488       return mChiasmusKeyItem;
01489     }
01490 
01494     static
01495     void setChiasmusOptions( const QString & v )
01496     {
01497       if (!self()->isImmutable( QString::fromLatin1( "ChiasmusOptions" ) ))
01498         self()->mChiasmusOptions = v;
01499     }
01500 
01504     static
01505     QString chiasmusOptions()
01506     {
01507       return self()->mChiasmusOptions;
01508     }
01509 
01513     ItemString *chiasmusOptionsItem()
01514     {
01515       return mChiasmusOptionsItem;
01516     }
01517 
01521     static
01522     void setConfirmBeforeSend( bool v )
01523     {
01524       if (!self()->isImmutable( QString::fromLatin1( "ConfirmBeforeSend" ) ))
01525         self()->mConfirmBeforeSend = v;
01526     }
01527 
01531     static
01532     bool confirmBeforeSend()
01533     {
01534       return self()->mConfirmBeforeSend;
01535     }
01536 
01540     ItemBool *confirmBeforeSendItem()
01541     {
01542       return mConfirmBeforeSendItem;
01543     }
01544 
01548     static
01549     void setRequestMDN( bool v )
01550     {
01551       if (!self()->isImmutable( QString::fromLatin1( "RequestMDN" ) ))
01552         self()->mRequestMDN = v;
01553     }
01554 
01558     static
01559     bool requestMDN()
01560     {
01561       return self()->mRequestMDN;
01562     }
01563 
01567     ItemBool *requestMDNItem()
01568     {
01569       return mRequestMDNItem;
01570     }
01571 
01575     static
01576     void setShowRecentAddressesInComposer( bool v )
01577     {
01578       if (!self()->isImmutable( QString::fromLatin1( "ShowRecentAddressesInComposer" ) ))
01579         self()->mShowRecentAddressesInComposer = v;
01580     }
01581 
01585     static
01586     bool showRecentAddressesInComposer()
01587     {
01588       return self()->mShowRecentAddressesInComposer;
01589     }
01590 
01594     ItemBool *showRecentAddressesInComposerItem()
01595     {
01596       return mShowRecentAddressesInComposerItem;
01597     }
01598 
01602     static
01603     void setHeaders( int v )
01604     {
01605       if (!self()->isImmutable( QString::fromLatin1( "Headers" ) ))
01606         self()->mHeaders = v;
01607     }
01608 
01612     static
01613     int headers()
01614     {
01615       return self()->mHeaders;
01616     }
01617 
01621     ItemInt *headersItem()
01622     {
01623       return mHeadersItem;
01624     }
01625 
01629     static
01630     void setCompletionMode( int v )
01631     {
01632       if (!self()->isImmutable( QString::fromLatin1( "CompletionMode" ) ))
01633         self()->mCompletionMode = v;
01634     }
01635 
01639     static
01640     int completionMode()
01641     {
01642       return self()->mCompletionMode;
01643     }
01644 
01648     ItemInt *completionModeItem()
01649     {
01650       return mCompletionModeItem;
01651     }
01652 
01656     static
01657     void setAutoSpellChecking( bool v )
01658     {
01659       if (!self()->isImmutable( QString::fromLatin1( "AutoSpellChecking" ) ))
01660         self()->mAutoSpellChecking = v;
01661     }
01662 
01666     static
01667     bool autoSpellChecking()
01668     {
01669       return self()->mAutoSpellChecking;
01670     }
01671 
01675     ItemBool *autoSpellCheckingItem()
01676     {
01677       return mAutoSpellCheckingItem;
01678     }
01679 
01683     static
01684     void setShowForgottenAttachmentWarning( bool v )
01685     {
01686       if (!self()->isImmutable( QString::fromLatin1( "ShowForgottenAttachmentWarning" ) ))
01687         self()->mShowForgottenAttachmentWarning = v;
01688     }
01689 
01693     static
01694     bool showForgottenAttachmentWarning()
01695     {
01696       return self()->mShowForgottenAttachmentWarning;
01697     }
01698 
01702     ItemBool *showForgottenAttachmentWarningItem()
01703     {
01704       return mShowForgottenAttachmentWarningItem;
01705     }
01706 
01710     static
01711     void setAttachmentKeywords( const QStringList & v )
01712     {
01713       if (!self()->isImmutable( QString::fromLatin1( "AttachmentKeywords" ) ))
01714         self()->mAttachmentKeywords = v;
01715     }
01716 
01720     static
01721     QStringList attachmentKeywords()
01722     {
01723       return self()->mAttachmentKeywords;
01724     }
01725 
01729     ItemStringList *attachmentKeywordsItem()
01730     {
01731       return mAttachmentKeywordsItem;
01732     }
01733 
01737     static
01738     void setShowMessagePartDialogOnAttach( bool v )
01739     {
01740       if (!self()->isImmutable( QString::fromLatin1( "ShowMessagePartDialogOnAttach" ) ))
01741         self()->mShowMessagePartDialogOnAttach = v;
01742     }
01743 
01747     static
01748     bool showMessagePartDialogOnAttach()
01749     {
01750       return self()->mShowMessagePartDialogOnAttach;
01751     }
01752 
01756     ItemBool *showMessagePartDialogOnAttachItem()
01757     {
01758       return mShowMessagePartDialogOnAttachItem;
01759     }
01760 
01764     static
01765     void setAutosaveInterval( int v )
01766     {
01767       if (!self()->isImmutable( QString::fromLatin1( "AutosaveInterval" ) ))
01768         self()->mAutosaveInterval = v;
01769     }
01770 
01774     static
01775     int autosaveInterval()
01776     {
01777       return self()->mAutosaveInterval;
01778     }
01779 
01783     ItemInt *autosaveIntervalItem()
01784     {
01785       return mAutosaveIntervalItem;
01786     }
01787 
01791     static
01792     void setReplyPrefixes( const QStringList & v )
01793     {
01794       if (!self()->isImmutable( QString::fromLatin1( "ReplyPrefixes" ) ))
01795         self()->mReplyPrefixes = v;
01796     }
01797 
01801     static
01802     QStringList replyPrefixes()
01803     {
01804       return self()->mReplyPrefixes;
01805     }
01806 
01810     ItemStringList *replyPrefixesItem()
01811     {
01812       return mReplyPrefixesItem;
01813     }
01814 
01818     static
01819     void setReplaceReplyPrefix( bool v )
01820     {
01821       if (!self()->isImmutable( QString::fromLatin1( "ReplaceReplyPrefix" ) ))
01822         self()->mReplaceReplyPrefix = v;
01823     }
01824 
01828     static
01829     bool replaceReplyPrefix()
01830     {
01831       return self()->mReplaceReplyPrefix;
01832     }
01833 
01837     ItemBool *replaceReplyPrefixItem()
01838     {
01839       return mReplaceReplyPrefixItem;
01840     }
01841 
01845     static
01846     void setForwardPrefixes( const QStringList & v )
01847     {
01848       if (!self()->isImmutable( QString::fromLatin1( "ForwardPrefixes" ) ))
01849         self()->mForwardPrefixes = v;
01850     }
01851 
01855     static
01856     QStringList forwardPrefixes()
01857     {
01858       return self()->mForwardPrefixes;
01859     }
01860 
01864     ItemStringList *forwardPrefixesItem()
01865     {
01866       return mForwardPrefixesItem;
01867     }
01868 
01872     static
01873     void setReplaceForwardPrefix( bool v )
01874     {
01875       if (!self()->isImmutable( QString::fromLatin1( "ReplaceForwardPrefix" ) ))
01876         self()->mReplaceForwardPrefix = v;
01877     }
01878 
01882     static
01883     bool replaceForwardPrefix()
01884     {
01885       return self()->mReplaceForwardPrefix;
01886     }
01887 
01891     ItemBool *replaceForwardPrefixItem()
01892     {
01893       return mReplaceForwardPrefixItem;
01894     }
01895 
01899     static
01900     void setSmartQuote( bool v )
01901     {
01902       if (!self()->isImmutable( QString::fromLatin1( "SmartQuote" ) ))
01903         self()->mSmartQuote = v;
01904     }
01905 
01909     static
01910     bool smartQuote()
01911     {
01912       return self()->mSmartQuote;
01913     }
01914 
01918     ItemBool *smartQuoteItem()
01919     {
01920       return mSmartQuoteItem;
01921     }
01922 
01926     static
01927     void setAddresseeSelectorType( int v )
01928     {
01929       if (!self()->isImmutable( QString::fromLatin1( "AddresseeSelectorType" ) ))
01930         self()->mAddresseeSelectorType = v;
01931     }
01932 
01936     static
01937     int addresseeSelectorType()
01938     {
01939       return self()->mAddresseeSelectorType;
01940     }
01941 
01945     ItemEnum *addresseeSelectorTypeItem()
01946     {
01947       return mAddresseeSelectorTypeItem;
01948     }
01949 
01953     static
01954     void setRecipientsEditorType( int v )
01955     {
01956       if (!self()->isImmutable( QString::fromLatin1( "RecipientsEditorType" ) ))
01957         self()->mRecipientsEditorType = v;
01958     }
01959 
01963     static
01964     int recipientsEditorType()
01965     {
01966       return self()->mRecipientsEditorType;
01967     }
01968 
01972     ItemEnum *recipientsEditorTypeItem()
01973     {
01974       return mRecipientsEditorTypeItem;
01975     }
01976 
01980     static
01981     void setSecondRecipientTypeDefault( int v )
01982     {
01983       if (!self()->isImmutable( QString::fromLatin1( "SecondRecipientTypeDefault" ) ))
01984         self()->mSecondRecipientTypeDefault = v;
01985     }
01986 
01990     static
01991     int secondRecipientTypeDefault()
01992     {
01993       return self()->mSecondRecipientTypeDefault;
01994     }
01995 
01999     ItemEnum *secondRecipientTypeDefaultItem()
02000     {
02001       return mSecondRecipientTypeDefaultItem;
02002     }
02003 
02007     static
02008     void setMaximumRecipients( int v )
02009     {
02010       if (!self()->isImmutable( QString::fromLatin1( "MaximumRecipients" ) ))
02011         self()->mMaximumRecipients = v;
02012     }
02013 
02017     static
02018     int maximumRecipients()
02019     {
02020       return self()->mMaximumRecipients;
02021     }
02022 
02026     ItemInt *maximumRecipientsItem()
02027     {
02028       return mMaximumRecipientsItem;
02029     }
02030 
02034     static
02035     void setUseDefaultFonts( bool v )
02036     {
02037       if (!self()->isImmutable( QString::fromLatin1( "UseDefaultFonts" ) ))
02038         self()->mUseDefaultFonts = v;
02039     }
02040 
02044     static
02045     bool useDefaultFonts()
02046     {
02047       return self()->mUseDefaultFonts;
02048     }
02049 
02053     ItemBool *useDefaultFontsItem()
02054     {
02055       return mUseDefaultFontsItem;
02056     }
02057 
02061     static
02062     void setComposerFont( const QFont & v )
02063     {
02064       if (!self()->isImmutable( QString::fromLatin1( "ComposerFont" ) ))
02065         self()->mComposerFont = v;
02066     }
02067 
02071     static
02072     QFont composerFont()
02073     {
02074       return self()->mComposerFont;
02075     }
02076 
02080     ItemFont *composerFontItem()
02081     {
02082       return mComposerFontItem;
02083     }
02084 
02088     static
02089     void setFixedFont( const QFont & v )
02090     {
02091       if (!self()->isImmutable( QString::fromLatin1( "FixedFont" ) ))
02092         self()->mFixedFont = v;
02093     }
02094 
02098     static
02099     QFont fixedFont()
02100     {
02101       return self()->mFixedFont;
02102     }
02103 
02107     ItemFont *fixedFontItem()
02108     {
02109       return mFixedFontItem;
02110     }
02111 
02115     static
02116     void setComposerSize( const QSize & v )
02117     {
02118       if (!self()->isImmutable( QString::fromLatin1( "ComposerSize" ) ))
02119         self()->mComposerSize = v;
02120     }
02121 
02125     static
02126     QSize composerSize()
02127     {
02128       return self()->mComposerSize;
02129     }
02130 
02134     ItemSize *composerSizeItem()
02135     {
02136       return mComposerSizeItem;
02137     }
02138 
02142     static
02143     void setUseDefaultColors( bool v )
02144     {
02145       if (!self()->isImmutable( QString::fromLatin1( "UseDefaultColors" ) ))
02146         self()->mUseDefaultColors = v;
02147     }
02148 
02152     static
02153     bool useDefaultColors()
02154     {
02155       return self()->mUseDefaultColors;
02156     }
02157 
02161     ItemBool *useDefaultColorsItem()
02162     {
02163       return mUseDefaultColorsItem;
02164     }
02165 
02169     static
02170     void setForegroundColor( const QColor & v )
02171     {
02172       if (!self()->isImmutable( QString::fromLatin1( "ForegroundColor" ) ))
02173         self()->mForegroundColor = v;
02174     }
02175 
02179     static
02180     QColor foregroundColor()
02181     {
02182       return self()->mForegroundColor;
02183     }
02184 
02188     ItemColor *foregroundColorItem()
02189     {
02190       return mForegroundColorItem;
02191     }
02192 
02196     static
02197     void setBackgroundColor( const QColor & v )
02198     {
02199       if (!self()->isImmutable( QString::fromLatin1( "BackgroundColor" ) ))
02200         self()->mBackgroundColor = v;
02201     }
02202 
02206     static
02207     QColor backgroundColor()
02208     {
02209       return self()->mBackgroundColor;
02210     }
02211 
02215     ItemColor *backgroundColorItem()
02216     {
02217       return mBackgroundColorItem;
02218     }
02219 
02223     static
02224     void setFallbackCharacterEncoding( const QString & v )
02225     {
02226       if (!self()->isImmutable( QString::fromLatin1( "FallbackCharacterEncoding" ) ))
02227         self()->mFallbackCharacterEncoding = v;
02228     }
02229 
02233     static
02234     QString fallbackCharacterEncoding()
02235     {
02236       return self()->mFallbackCharacterEncoding;
02237     }
02238 
02242     ItemString *fallbackCharacterEncodingItem()
02243     {
02244       return mFallbackCharacterEncodingItem;
02245     }
02246 
02250     static
02251     void setOverrideCharacterEncoding( const QString & v )
02252     {
02253       if (!self()->isImmutable( QString::fromLatin1( "OverrideCharacterEncoding" ) ))
02254         self()->mOverrideCharacterEncoding = v;
02255     }
02256 
02260     static
02261     QString overrideCharacterEncoding()
02262     {
02263       return self()->mOverrideCharacterEncoding;
02264     }
02265 
02269     ItemString *overrideCharacterEncodingItem()
02270     {
02271       return mOverrideCharacterEncodingItem;
02272     }
02273 
02277     static
02278     void setShowEmoticons( bool v )
02279     {
02280       if (!self()->isImmutable( QString::fromLatin1( "ShowEmoticons" ) ))
02281         self()->mShowEmoticons = v;
02282     }
02283 
02287     static
02288     bool showEmoticons()
02289     {
02290       return self()->mShowEmoticons;
02291     }
02292 
02296     ItemBool *showEmoticonsItem()
02297     {
02298       return mShowEmoticonsItem;
02299     }
02300 
02304     static
02305     void setShowExpandQuotesMark( bool v )
02306     {
02307       if (!self()->isImmutable( QString::fromLatin1( "ShowExpandQuotesMark" ) ))
02308         self()->mShowExpandQuotesMark = v;
02309     }
02310 
02314     static
02315     bool showExpandQuotesMark()
02316     {
02317       return self()->mShowExpandQuotesMark;
02318     }
02319 
02323     ItemBool *showExpandQuotesMarkItem()
02324     {
02325       return mShowExpandQuotesMarkItem;
02326     }
02327 
02331     static
02332     void setCollapseQuoteLevelSpin( int v )
02333     {
02334       if (v < 0)
02335       {
02336         kdDebug() << "setCollapseQuoteLevelSpin: value " << v << " is less than the minimum value of 0" << endl;
02337         v = 0;
02338       }
02339 
02340       if (v > 10)
02341       {
02342         kdDebug() << "setCollapseQuoteLevelSpin: value " << v << " is greater than the maximum value of 10" << endl;
02343         v = 10;
02344       }
02345 
02346       if (!self()->isImmutable( QString::fromLatin1( "CollapseQuoteLevelSpin" ) ))
02347         self()->mCollapseQuoteLevelSpin = v;
02348     }
02349 
02353     static
02354     int collapseQuoteLevelSpin()
02355     {
02356       return self()->mCollapseQuoteLevelSpin;
02357     }
02358 
02362     ItemInt *collapseQuoteLevelSpinItem()
02363     {
02364       return mCollapseQuoteLevelSpinItem;
02365     }
02366 
02370     static
02371     void setShrinkQuotes( bool v )
02372     {
02373       if (!self()->isImmutable( QString::fromLatin1( "ShrinkQuotes" ) ))
02374         self()->mShrinkQuotes = v;
02375     }
02376 
02380     static
02381     bool shrinkQuotes()
02382     {
02383       return self()->mShrinkQuotes;
02384     }
02385 
02389     ItemBool *shrinkQuotesItem()
02390     {
02391       return mShrinkQuotesItem;
02392     }
02393 
02397     static
02398     void setChiasmusDecryptionKey( const QString & v )
02399     {
02400       if (!self()->isImmutable( QString::fromLatin1( "ChiasmusDecryptionKey" ) ))
02401         self()->mChiasmusDecryptionKey = v;
02402     }
02403 
02407     static
02408     QString chiasmusDecryptionKey()
02409     {
02410       return self()->mChiasmusDecryptionKey;
02411     }
02412 
02416     ItemString *chiasmusDecryptionKeyItem()
02417     {
02418       return mChiasmusDecryptionKeyItem;
02419     }
02420 
02424     static
02425     void setChiasmusDecryptionOptions( const QString & v )
02426     {
02427       if (!self()->isImmutable( QString::fromLatin1( "ChiasmusDecryptionOptions" ) ))
02428         self()->mChiasmusDecryptionOptions = v;
02429     }
02430 
02434     static
02435     QString chiasmusDecryptionOptions()
02436     {
02437       return self()->mChiasmusDecryptionOptions;
02438     }
02439 
02443     ItemString *chiasmusDecryptionOptionsItem()
02444     {
02445       return mChiasmusDecryptionOptionsItem;
02446     }
02447 
02451     static
02452     void setAutomaticDecrypt( bool v )
02453     {
02454       if (!self()->isImmutable( QString::fromLatin1( "automaticDecrypt" ) ))
02455         self()->mAutomaticDecrypt = v;
02456     }
02457 
02461     static
02462     bool automaticDecrypt()
02463     {
02464       return self()->mAutomaticDecrypt;
02465     }
02466 
02470     ItemBool *automaticDecryptItem()
02471     {
02472       return mAutomaticDecryptItem;
02473     }
02474 
02478     static
02479     void setSendMDNsWithEmptySender( bool v )
02480     {
02481       if (!self()->isImmutable( QString::fromLatin1( "SendMDNsWithEmptySender" ) ))
02482         self()->mSendMDNsWithEmptySender = v;
02483     }
02484 
02488     static
02489     bool sendMDNsWithEmptySender()
02490     {
02491       return self()->mSendMDNsWithEmptySender;
02492     }
02493 
02497     ItemBool *sendMDNsWithEmptySenderItem()
02498     {
02499       return mSendMDNsWithEmptySenderItem;
02500     }
02501 
02502     static
02503     void writeConfig()
02504     {
02505       static_cast<KConfigSkeleton*>(self())->writeConfig();
02506     }
02507   protected:
02508     GlobalSettingsBase();
02509     static GlobalSettingsBase *mSelf;
02510 
02511 
02512     // Behaviour
02513     bool mDelayedMarkAsRead;
02514     uint mDelayedMarkTime;
02515     int mActionEnterFolder;
02516     int mNetworkState;
02517     int mLoopOnGotoUnread;
02518     bool mShowPopupAfterDnD;
02519     bool mExcludeImportantMailFromExpiry;
02520     int mSendOnCheck;
02521 
02522     // FolderSelectionDialog
02523     QString mLastSelectedFolder;
02524 
02525     // General
02526     bool mSystemTrayEnabled;
02527     int mSystemTrayPolicy;
02528     bool mVerboseNewMailNotification;
02529     QString mExternalEditor;
02530     bool mUseExternalEditor;
02531     int mCustHeaderCount;
02532     int mReplyCurrentLanguage;
02533     int mReplyLanguagesCount;
02534     int mFolderLoadingTimeout;
02535 
02536     // Groupware
02537     bool mGroupwareEnabled;
02538     bool mLegacyMangleFromToHeaders;
02539     bool mLegacyBodyInvites;
02540     bool mAutomaticSending;
02541 
02542     // IMAP Resource
02543     bool mTheIMAPResourceEnabled;
02544     bool mHideGroupwareFolders;
02545     int mTheIMAPResourceStorageFormat;
02546     QString mTheIMAPResourceFolderParent;
02547     int mTheIMAPResourceAccount;
02548     int mTheIMAPResourceFolderLanguage;
02549 
02550     // Internal
02551     int mMsgDictSizeHint;
02552     QString mPreviousNewFeaturesMD5;
02553 
02554     // Network
02555     int mMaxConnectionsPerHost;
02556 
02557     // UserInterface
02558     bool mQuickSearchActive;
02559 
02560     // Composer
02561     bool mForceReplyCharset;
02562     QString mAutoTextSignature;
02563     bool mStickyIdentity;
02564     bool mStickyFcc;
02565     bool mStickyTransport;
02566     bool mWordWrap;
02567     bool mUseFixedFont;
02568     int mLineWrapWidth;
02569     uint mPreviousIdentity;
02570     QString mPreviousFcc;
02571     QStringList mTransportHistory;
02572     QString mCurrentTransport;
02573     QString mDefaultTransport;
02574     int mMaxTransportEntries;
02575     bool mOutlookCompatibleAttachments;
02576     bool mUseHtmlMarkup;
02577     bool mPgpAutoSign;
02578     bool mPgpAutoEncrypt;
02579     bool mNeverEncryptDrafts;
02580     QString mChiasmusKey;
02581     QString mChiasmusOptions;
02582     bool mConfirmBeforeSend;
02583     bool mRequestMDN;
02584     bool mShowRecentAddressesInComposer;
02585     int mHeaders;
02586     int mCompletionMode;
02587     bool mAutoSpellChecking;
02588     bool mShowForgottenAttachmentWarning;
02589     QStringList mAttachmentKeywords;
02590     bool mShowMessagePartDialogOnAttach;
02591     int mAutosaveInterval;
02592     QStringList mReplyPrefixes;
02593     bool mReplaceReplyPrefix;
02594     QStringList mForwardPrefixes;
02595     bool mReplaceForwardPrefix;
02596     bool mSmartQuote;
02597     int mAddresseeSelectorType;
02598     int mRecipientsEditorType;
02599     int mSecondRecipientTypeDefault;
02600     int mMaximumRecipients;
02601 
02602     // Fonts
02603     bool mUseDefaultFonts;
02604     QFont mComposerFont;
02605     QFont mFixedFont;
02606 
02607     // Geometry
02608     QSize mComposerSize;
02609 
02610     // Reader
02611     bool mUseDefaultColors;
02612     QColor mForegroundColor;
02613     QColor mBackgroundColor;
02614     QString mFallbackCharacterEncoding;
02615     QString mOverrideCharacterEncoding;
02616     bool mShowEmoticons;
02617     bool mShowExpandQuotesMark;
02618     int mCollapseQuoteLevelSpin;
02619     bool mShrinkQuotes;
02620     QString mChiasmusDecryptionKey;
02621     QString mChiasmusDecryptionOptions;
02622 
02623     // TextIndex
02624     bool mAutomaticDecrypt;
02625 
02626     // MDN
02627     bool mSendMDNsWithEmptySender;
02628 
02629   private:
02630     ItemBool *mDelayedMarkAsReadItem;
02631     ItemUInt *mDelayedMarkTimeItem;
02632     ItemEnum *mActionEnterFolderItem;
02633     ItemEnum *mNetworkStateItem;
02634     ItemEnum *mLoopOnGotoUnreadItem;
02635     ItemBool *mShowPopupAfterDnDItem;
02636     ItemBool *mExcludeImportantMailFromExpiryItem;
02637     ItemEnum *mSendOnCheckItem;
02638     ItemString *mLastSelectedFolderItem;
02639     ItemBool *mSystemTrayEnabledItem;
02640     ItemEnum *mSystemTrayPolicyItem;
02641     ItemBool *mVerboseNewMailNotificationItem;
02642     ItemString *mExternalEditorItem;
02643     ItemBool *mUseExternalEditorItem;
02644     ItemInt *mCustHeaderCountItem;
02645     ItemInt *mReplyCurrentLanguageItem;
02646     ItemInt *mReplyLanguagesCountItem;
02647     ItemInt *mFolderLoadingTimeoutItem;
02648     ItemBool *mGroupwareEnabledItem;
02649     ItemBool *mLegacyMangleFromToHeadersItem;
02650     ItemBool *mLegacyBodyInvitesItem;
02651     ItemBool *mAutomaticSendingItem;
02652     ItemBool *mTheIMAPResourceEnabledItem;
02653     ItemBool *mHideGroupwareFoldersItem;
02654     ItemEnum *mTheIMAPResourceStorageFormatItem;
02655     ItemString *mTheIMAPResourceFolderParentItem;
02656     ItemInt *mTheIMAPResourceAccountItem;
02657     ItemInt *mTheIMAPResourceFolderLanguageItem;
02658     ItemInt *mMsgDictSizeHintItem;
02659     ItemString *mPreviousNewFeaturesMD5Item;
02660     ItemInt *mMaxConnectionsPerHostItem;
02661     ItemBool *mQuickSearchActiveItem;
02662     ItemBool *mForceReplyCharsetItem;
02663     ItemString *mAutoTextSignatureItem;
02664     ItemBool *mStickyIdentityItem;
02665     ItemBool *mStickyFccItem;
02666     ItemBool *mStickyTransportItem;
02667     ItemBool *mWordWrapItem;
02668     ItemBool *mUseFixedFontItem;
02669     ItemInt *mLineWrapWidthItem;
02670     ItemUInt *mPreviousIdentityItem;
02671     ItemString *mPreviousFccItem;
02672     ItemStringList *mTransportHistoryItem;
02673     ItemString *mCurrentTransportItem;
02674     ItemString *mDefaultTransportItem;
02675     ItemInt *mMaxTransportEntriesItem;
02676     ItemBool *mOutlookCompatibleAttachmentsItem;
02677     ItemBool *mUseHtmlMarkupItem;
02678     ItemBool *mPgpAutoSignItem;
02679     ItemBool *mPgpAutoEncryptItem;
02680     ItemBool *mNeverEncryptDraftsItem;
02681     ItemString *mChiasmusKeyItem;
02682     ItemString *mChiasmusOptionsItem;
02683     ItemBool *mConfirmBeforeSendItem;
02684     ItemBool *mRequestMDNItem;
02685     ItemBool *mShowRecentAddressesInComposerItem;
02686     ItemInt *mHeadersItem;
02687     ItemInt *mCompletionModeItem;
02688     ItemBool *mAutoSpellCheckingItem;
02689     ItemBool *mShowForgottenAttachmentWarningItem;
02690     ItemStringList *mAttachmentKeywordsItem;
02691     ItemBool *mShowMessagePartDialogOnAttachItem;
02692     ItemInt *mAutosaveIntervalItem;
02693     ItemStringList *mReplyPrefixesItem;
02694     ItemBool *mReplaceReplyPrefixItem;
02695     ItemStringList *mForwardPrefixesItem;
02696     ItemBool *mReplaceForwardPrefixItem;
02697     ItemBool *mSmartQuoteItem;
02698     ItemEnum *mAddresseeSelectorTypeItem;
02699     ItemEnum *mRecipientsEditorTypeItem;
02700     ItemEnum *mSecondRecipientTypeDefaultItem;
02701     ItemInt *mMaximumRecipientsItem;
02702     ItemBool *mUseDefaultFontsItem;
02703     ItemFont *mComposerFontItem;
02704     ItemFont *mFixedFontItem;
02705     ItemSize *mComposerSizeItem;
02706     ItemBool *mUseDefaultColorsItem;
02707     ItemColor *mForegroundColorItem;
02708     ItemColor *mBackgroundColorItem;
02709     ItemString *mFallbackCharacterEncodingItem;
02710     ItemString *mOverrideCharacterEncodingItem;
02711     ItemBool *mShowEmoticonsItem;
02712     ItemBool *mShowExpandQuotesMarkItem;
02713     ItemInt *mCollapseQuoteLevelSpinItem;
02714     ItemBool *mShrinkQuotesItem;
02715     ItemString *mChiasmusDecryptionKeyItem;
02716     ItemString *mChiasmusDecryptionOptionsItem;
02717     ItemBool *mAutomaticDecryptItem;
02718     ItemBool *mSendMDNsWithEmptySenderItem;
02719 };
02720 
02721 #endif
02722 
KDE Home | KDE Accessibility Home | Description of Access Keys