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 EnumQuotaUnit
00038     {
00039       public:
00040       enum type { KB, MB, GB, COUNT };
00041     };
00042     class EnumSystemTrayPolicy
00043     {
00044       public:
00045       enum type { ShowAlways, ShowOnUnread, COUNT };
00046     };
00047     class EnumTheIMAPResourceStorageFormat
00048     {
00049       public:
00050       enum type { IcalVcard, XML, COUNT };
00051     };
00052     class EnumAddresseeSelectorType
00053     {
00054       public:
00055       enum type { New, Old, COUNT };
00056     };
00057     class EnumRecipientsEditorType
00058     {
00059       public:
00060       enum type { Classic, MultiLine, COUNT };
00061     };
00062     class EnumSecondRecipientTypeDefault
00063     {
00064       public:
00065       enum type { To, Cc, COUNT };
00066     };
00067 
00068     static GlobalSettingsBase *self();
00069     ~GlobalSettingsBase();
00070 
00074     static
00075     void setDelayedMarkAsRead( bool v )
00076     {
00077       if (!self()->isImmutable( QString::fromLatin1( "DelayedMarkAsRead" ) ))
00078         self()->mDelayedMarkAsRead = v;
00079     }
00080 
00084     static
00085     bool delayedMarkAsRead()
00086     {
00087       return self()->mDelayedMarkAsRead;
00088     }
00089 
00093     ItemBool *delayedMarkAsReadItem()
00094     {
00095       return mDelayedMarkAsReadItem;
00096     }
00097 
00101     static
00102     void setDelayedMarkTime( uint v )
00103     {
00104       if (!self()->isImmutable( QString::fromLatin1( "DelayedMarkTime" ) ))
00105         self()->mDelayedMarkTime = v;
00106     }
00107 
00111     static
00112     uint delayedMarkTime()
00113     {
00114       return self()->mDelayedMarkTime;
00115     }
00116 
00120     ItemUInt *delayedMarkTimeItem()
00121     {
00122       return mDelayedMarkTimeItem;
00123     }
00124 
00128     static
00129     void setActionEnterFolder( int v )
00130     {
00131       if (!self()->isImmutable( QString::fromLatin1( "ActionEnterFolder" ) ))
00132         self()->mActionEnterFolder = v;
00133     }
00134 
00138     static
00139     int actionEnterFolder()
00140     {
00141       return self()->mActionEnterFolder;
00142     }
00143 
00147     ItemEnum *actionEnterFolderItem()
00148     {
00149       return mActionEnterFolderItem;
00150     }
00151 
00155     static
00156     void setNetworkState( int v )
00157     {
00158       if (!self()->isImmutable( QString::fromLatin1( "NetworkState" ) ))
00159         self()->mNetworkState = v;
00160     }
00161 
00165     static
00166     int networkState()
00167     {
00168       return self()->mNetworkState;
00169     }
00170 
00174     ItemEnum *networkStateItem()
00175     {
00176       return mNetworkStateItem;
00177     }
00178 
00182     static
00183     void setLoopOnGotoUnread( int v )
00184     {
00185       if (!self()->isImmutable( QString::fromLatin1( "LoopOnGotoUnread" ) ))
00186         self()->mLoopOnGotoUnread = v;
00187     }
00188 
00192     static
00193     int loopOnGotoUnread()
00194     {
00195       return self()->mLoopOnGotoUnread;
00196     }
00197 
00201     ItemEnum *loopOnGotoUnreadItem()
00202     {
00203       return mLoopOnGotoUnreadItem;
00204     }
00205 
00209     static
00210     void setShowPopupAfterDnD( bool v )
00211     {
00212       if (!self()->isImmutable( QString::fromLatin1( "ShowPopupAfterDnD" ) ))
00213         self()->mShowPopupAfterDnD = v;
00214     }
00215 
00219     static
00220     bool showPopupAfterDnD()
00221     {
00222       return self()->mShowPopupAfterDnD;
00223     }
00224 
00228     ItemBool *showPopupAfterDnDItem()
00229     {
00230       return mShowPopupAfterDnDItem;
00231     }
00232 
00236     static
00237     void setExcludeImportantMailFromExpiry( bool v )
00238     {
00239       if (!self()->isImmutable( QString::fromLatin1( "ExcludeImportantMailFromExpiry" ) ))
00240         self()->mExcludeImportantMailFromExpiry = v;
00241     }
00242 
00246     static
00247     bool excludeImportantMailFromExpiry()
00248     {
00249       return self()->mExcludeImportantMailFromExpiry;
00250     }
00251 
00255     ItemBool *excludeImportantMailFromExpiryItem()
00256     {
00257       return mExcludeImportantMailFromExpiryItem;
00258     }
00259 
00263     static
00264     void setSendOnCheck( int v )
00265     {
00266       if (!self()->isImmutable( QString::fromLatin1( "SendOnCheck" ) ))
00267         self()->mSendOnCheck = v;
00268     }
00269 
00273     static
00274     int sendOnCheck()
00275     {
00276       return self()->mSendOnCheck;
00277     }
00278 
00282     ItemEnum *sendOnCheckItem()
00283     {
00284       return mSendOnCheckItem;
00285     }
00286 
00290     static
00291     void setLastSelectedFolder( const QString & v )
00292     {
00293       if (!self()->isImmutable( QString::fromLatin1( "LastSelectedFolder" ) ))
00294         self()->mLastSelectedFolder = v;
00295     }
00296 
00300     static
00301     QString lastSelectedFolder()
00302     {
00303       return self()->mLastSelectedFolder;
00304     }
00305 
00309     ItemString *lastSelectedFolderItem()
00310     {
00311       return mLastSelectedFolderItem;
00312     }
00313 
00317     static
00318     void setQuotaUnit( int v )
00319     {
00320       if (!self()->isImmutable( QString::fromLatin1( "QuotaUnit" ) ))
00321         self()->mQuotaUnit = v;
00322     }
00323 
00327     static
00328     int quotaUnit()
00329     {
00330       return self()->mQuotaUnit;
00331     }
00332 
00336     ItemEnum *quotaUnitItem()
00337     {
00338       return mQuotaUnitItem;
00339     }
00340 
00344     static
00345     void setSystemTrayEnabled( bool v )
00346     {
00347       if (!self()->isImmutable( QString::fromLatin1( "SystemTrayEnabled" ) ))
00348         self()->mSystemTrayEnabled = v;
00349     }
00350 
00354     static
00355     bool systemTrayEnabled()
00356     {
00357       return self()->mSystemTrayEnabled;
00358     }
00359 
00363     ItemBool *systemTrayEnabledItem()
00364     {
00365       return mSystemTrayEnabledItem;
00366     }
00367 
00371     static
00372     void setSystemTrayPolicy( int v )
00373     {
00374       if (!self()->isImmutable( QString::fromLatin1( "SystemTrayPolicy" ) ))
00375         self()->mSystemTrayPolicy = v;
00376     }
00377 
00381     static
00382     int systemTrayPolicy()
00383     {
00384       return self()->mSystemTrayPolicy;
00385     }
00386 
00390     ItemEnum *systemTrayPolicyItem()
00391     {
00392       return mSystemTrayPolicyItem;
00393     }
00394 
00398     static
00399     void setVerboseNewMailNotification( bool v )
00400     {
00401       if (!self()->isImmutable( QString::fromLatin1( "VerboseNewMailNotification" ) ))
00402         self()->mVerboseNewMailNotification = v;
00403     }
00404 
00408     static
00409     bool verboseNewMailNotification()
00410     {
00411       return self()->mVerboseNewMailNotification;
00412     }
00413 
00417     ItemBool *verboseNewMailNotificationItem()
00418     {
00419       return mVerboseNewMailNotificationItem;
00420     }
00421 
00425     static
00426     void setExternalEditor( const QString & v )
00427     {
00428       if (!self()->isImmutable( QString::fromLatin1( "ExternalEditor" ) ))
00429         self()->mExternalEditor = v;
00430     }
00431 
00435     static
00436     QString externalEditor()
00437     {
00438       return self()->mExternalEditor;
00439     }
00440 
00444     ItemString *externalEditorItem()
00445     {
00446       return mExternalEditorItem;
00447     }
00448 
00452     static
00453     void setUseExternalEditor( bool v )
00454     {
00455       if (!self()->isImmutable( QString::fromLatin1( "UseExternalEditor" ) ))
00456         self()->mUseExternalEditor = v;
00457     }
00458 
00462     static
00463     bool useExternalEditor()
00464     {
00465       return self()->mUseExternalEditor;
00466     }
00467 
00471     ItemBool *useExternalEditorItem()
00472     {
00473       return mUseExternalEditorItem;
00474     }
00475 
00479     static
00480     void setCustHeaderCount( int v )
00481     {
00482       if (!self()->isImmutable( QString::fromLatin1( "CustHeaderCount" ) ))
00483         self()->mCustHeaderCount = v;
00484     }
00485 
00489     static
00490     int custHeaderCount()
00491     {
00492       return self()->mCustHeaderCount;
00493     }
00494 
00498     ItemInt *custHeaderCountItem()
00499     {
00500       return mCustHeaderCountItem;
00501     }
00502 
00506     static
00507     void setReplyCurrentLanguage( int v )
00508     {
00509       if (!self()->isImmutable( QString::fromLatin1( "ReplyCurrentLanguage" ) ))
00510         self()->mReplyCurrentLanguage = v;
00511     }
00512 
00516     static
00517     int replyCurrentLanguage()
00518     {
00519       return self()->mReplyCurrentLanguage;
00520     }
00521 
00525     ItemInt *replyCurrentLanguageItem()
00526     {
00527       return mReplyCurrentLanguageItem;
00528     }
00529 
00533     static
00534     void setReplyLanguagesCount( int v )
00535     {
00536       if (v < 0)
00537       {
00538         kdDebug() << "setReplyLanguagesCount: value " << v << " is less than the minimum value of 0" << endl;
00539         v = 0;
00540       }
00541       if (!self()->isImmutable( QString::fromLatin1( "ReplyLanguagesCount" ) ))
00542         self()->mReplyLanguagesCount = v;
00543     }
00544 
00548     static
00549     int replyLanguagesCount()
00550     {
00551       return self()->mReplyLanguagesCount;
00552     }
00553 
00557     ItemInt *replyLanguagesCountItem()
00558     {
00559       return mReplyLanguagesCountItem;
00560     }
00561 
00565     static
00566     void setFolderLoadingTimeout( int v )
00567     {
00568       if (!self()->isImmutable( QString::fromLatin1( "FolderLoadingTimeout" ) ))
00569         self()->mFolderLoadingTimeout = v;
00570     }
00571 
00575     static
00576     int folderLoadingTimeout()
00577     {
00578       return self()->mFolderLoadingTimeout;
00579     }
00580 
00584     ItemInt *folderLoadingTimeoutItem()
00585     {
00586       return mFolderLoadingTimeoutItem;
00587     }
00588 
00592     static
00593     void setGroupwareEnabled( bool v )
00594     {
00595       if (!self()->isImmutable( QString::fromLatin1( "GroupwareEnabled" ) ))
00596         self()->mGroupwareEnabled = v;
00597     }
00598 
00602     static
00603     bool groupwareEnabled()
00604     {
00605       return self()->mGroupwareEnabled;
00606     }
00607 
00611     ItemBool *groupwareEnabledItem()
00612     {
00613       return mGroupwareEnabledItem;
00614     }
00615 
00619     static
00620     void setLegacyMangleFromToHeaders( bool v )
00621     {
00622       if (!self()->isImmutable( QString::fromLatin1( "LegacyMangleFromToHeaders" ) ))
00623         self()->mLegacyMangleFromToHeaders = v;
00624     }
00625 
00629     static
00630     bool legacyMangleFromToHeaders()
00631     {
00632       return self()->mLegacyMangleFromToHeaders;
00633     }
00634 
00638     ItemBool *legacyMangleFromToHeadersItem()
00639     {
00640       return mLegacyMangleFromToHeadersItem;
00641     }
00642 
00646     static
00647     void setLegacyBodyInvites( bool v )
00648     {
00649       if (!self()->isImmutable( QString::fromLatin1( "LegacyBodyInvites" ) ))
00650         self()->mLegacyBodyInvites = v;
00651     }
00652 
00656     static
00657     bool legacyBodyInvites()
00658     {
00659       return self()->mLegacyBodyInvites;
00660     }
00661 
00665     ItemBool *legacyBodyInvitesItem()
00666     {
00667       return mLegacyBodyInvitesItem;
00668     }
00669 
00673     static
00674     void setAutomaticSending( bool v )
00675     {
00676       if (!self()->isImmutable( QString::fromLatin1( "AutomaticSending" ) ))
00677         self()->mAutomaticSending = v;
00678     }
00679 
00683     static
00684     bool automaticSending()
00685     {
00686       return self()->mAutomaticSending;
00687     }
00688 
00692     ItemBool *automaticSendingItem()
00693     {
00694       return mAutomaticSendingItem;
00695     }
00696 
00700     static
00701     void setTheIMAPResourceEnabled( bool v )
00702     {
00703       if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceEnabled" ) ))
00704         self()->mTheIMAPResourceEnabled = v;
00705     }
00706 
00710     static
00711     bool theIMAPResourceEnabled()
00712     {
00713       return self()->mTheIMAPResourceEnabled;
00714     }
00715 
00719     ItemBool *theIMAPResourceEnabledItem()
00720     {
00721       return mTheIMAPResourceEnabledItem;
00722     }
00723 
00727     static
00728     void setHideGroupwareFolders( bool v )
00729     {
00730       if (!self()->isImmutable( QString::fromLatin1( "HideGroupwareFolders" ) ))
00731         self()->mHideGroupwareFolders = v;
00732     }
00733 
00737     static
00738     bool hideGroupwareFolders()
00739     {
00740       return self()->mHideGroupwareFolders;
00741     }
00742 
00746     ItemBool *hideGroupwareFoldersItem()
00747     {
00748       return mHideGroupwareFoldersItem;
00749     }
00750 
00754     static
00755     void setTheIMAPResourceStorageFormat( int v )
00756     {
00757       if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceStorageFormat" ) ))
00758         self()->mTheIMAPResourceStorageFormat = v;
00759     }
00760 
00764     static
00765     int theIMAPResourceStorageFormat()
00766     {
00767       return self()->mTheIMAPResourceStorageFormat;
00768     }
00769 
00773     ItemEnum *theIMAPResourceStorageFormatItem()
00774     {
00775       return mTheIMAPResourceStorageFormatItem;
00776     }
00777 
00781     static
00782     void setTheIMAPResourceFolderParent( const QString & v )
00783     {
00784       if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceFolderParent" ) ))
00785         self()->mTheIMAPResourceFolderParent = v;
00786     }
00787 
00791     static
00792     QString theIMAPResourceFolderParent()
00793     {
00794       return self()->mTheIMAPResourceFolderParent;
00795     }
00796 
00800     ItemString *theIMAPResourceFolderParentItem()
00801     {
00802       return mTheIMAPResourceFolderParentItem;
00803     }
00804 
00808     static
00809     void setTheIMAPResourceAccount( int v )
00810     {
00811       if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceAccount" ) ))
00812         self()->mTheIMAPResourceAccount = v;
00813     }
00814 
00818     static
00819     int theIMAPResourceAccount()
00820     {
00821       return self()->mTheIMAPResourceAccount;
00822     }
00823 
00827     ItemInt *theIMAPResourceAccountItem()
00828     {
00829       return mTheIMAPResourceAccountItem;
00830     }
00831 
00835     static
00836     void setTheIMAPResourceFolderLanguage( int v )
00837     {
00838       if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceFolderLanguage" ) ))
00839         self()->mTheIMAPResourceFolderLanguage = v;
00840     }
00841 
00845     static
00846     int theIMAPResourceFolderLanguage()
00847     {
00848       return self()->mTheIMAPResourceFolderLanguage;
00849     }
00850 
00854     ItemInt *theIMAPResourceFolderLanguageItem()
00855     {
00856       return mTheIMAPResourceFolderLanguageItem;
00857     }
00858 
00862     static
00863     void setMsgDictSizeHint( int v )
00864     {
00865       if (!self()->isImmutable( QString::fromLatin1( "MsgDictSizeHint" ) ))
00866         self()->mMsgDictSizeHint = v;
00867     }
00868 
00872     static
00873     int msgDictSizeHint()
00874     {
00875       return self()->mMsgDictSizeHint;
00876     }
00877 
00881     ItemInt *msgDictSizeHintItem()
00882     {
00883       return mMsgDictSizeHintItem;
00884     }
00885 
00889     static
00890     void setPreviousNewFeaturesMD5( const QString & v )
00891     {
00892       if (!self()->isImmutable( QString::fromLatin1( "PreviousNewFeaturesMD5" ) ))
00893         self()->mPreviousNewFeaturesMD5 = v;
00894     }
00895 
00899     static
00900     QString previousNewFeaturesMD5()
00901     {
00902       return self()->mPreviousNewFeaturesMD5;
00903     }
00904 
00908     ItemString *previousNewFeaturesMD5Item()
00909     {
00910       return mPreviousNewFeaturesMD5Item;
00911     }
00912 
00916     static
00917     void setMaxConnectionsPerHost( int v )
00918     {
00919       if (v < 0)
00920       {
00921         kdDebug() << "setMaxConnectionsPerHost: value " << v << " is less than the minimum value of 0" << endl;
00922         v = 0;
00923       }
00924       if (!self()->isImmutable( QString::fromLatin1( "MaxConnectionsPerHost" ) ))
00925         self()->mMaxConnectionsPerHost = v;
00926     }
00927 
00931     static
00932     int maxConnectionsPerHost()
00933     {
00934       return self()->mMaxConnectionsPerHost;
00935     }
00936 
00940     ItemInt *maxConnectionsPerHostItem()
00941     {
00942       return mMaxConnectionsPerHostItem;
00943     }
00944 
00948     static
00949     void setQuickSearchActive( bool v )
00950     {
00951       if (!self()->isImmutable( QString::fromLatin1( "QuickSearchActive" ) ))
00952         self()->mQuickSearchActive = v;
00953     }
00954 
00958     static
00959     bool quickSearchActive()
00960     {
00961       return self()->mQuickSearchActive;
00962     }
00963 
00967     ItemBool *quickSearchActiveItem()
00968     {
00969       return mQuickSearchActiveItem;
00970     }
00971 
00975     static
00976     void setForceReplyCharset( bool v )
00977     {
00978       if (!self()->isImmutable( QString::fromLatin1( "ForceReplyCharset" ) ))
00979         self()->mForceReplyCharset = v;
00980     }
00981 
00985     static
00986     bool forceReplyCharset()
00987     {
00988       return self()->mForceReplyCharset;
00989     }
00990 
00994     ItemBool *forceReplyCharsetItem()
00995     {
00996       return mForceReplyCharsetItem;
00997     }
00998 
01002     static
01003     void setAutoTextSignature( const QString & v )
01004     {
01005       if (!self()->isImmutable( QString::fromLatin1( "AutoTextSignature" ) ))
01006         self()->mAutoTextSignature = v;
01007     }
01008 
01012     static
01013     QString autoTextSignature()
01014     {
01015       return self()->mAutoTextSignature;
01016     }
01017 
01021     ItemString *autoTextSignatureItem()
01022     {
01023       return mAutoTextSignatureItem;
01024     }
01025 
01029     static
01030     void setStickyIdentity( bool v )
01031     {
01032       if (!self()->isImmutable( QString::fromLatin1( "StickyIdentity" ) ))
01033         self()->mStickyIdentity = v;
01034     }
01035 
01039     static
01040     bool stickyIdentity()
01041     {
01042       return self()->mStickyIdentity;
01043     }
01044 
01048     ItemBool *stickyIdentityItem()
01049     {
01050       return mStickyIdentityItem;
01051     }
01052 
01056     static
01057     void setStickyFcc( bool v )
01058     {
01059       if (!self()->isImmutable( QString::fromLatin1( "StickyFcc" ) ))
01060         self()->mStickyFcc = v;
01061     }
01062 
01066     static
01067     bool stickyFcc()
01068     {
01069       return self()->mStickyFcc;
01070     }
01071 
01075     ItemBool *stickyFccItem()
01076     {
01077       return mStickyFccItem;
01078     }
01079 
01083     static
01084     void setStickyTransport( bool v )
01085     {
01086       if (!self()->isImmutable( QString::fromLatin1( "StickyTransport" ) ))
01087         self()->mStickyTransport = v;
01088     }
01089 
01093     static
01094     bool stickyTransport()
01095     {
01096       return self()->mStickyTransport;
01097     }
01098 
01102     ItemBool *stickyTransportItem()
01103     {
01104       return mStickyTransportItem;
01105     }
01106 
01110     static
01111     void setWordWrap( bool v )
01112     {
01113       if (!self()->isImmutable( QString::fromLatin1( "WordWrap" ) ))
01114         self()->mWordWrap = v;
01115     }
01116 
01120     static
01121     bool wordWrap()
01122     {
01123       return self()->mWordWrap;
01124     }
01125 
01129     ItemBool *wordWrapItem()
01130     {
01131       return mWordWrapItem;
01132     }
01133 
01137     static
01138     void setUseFixedFont( bool v )
01139     {
01140       if (!self()->isImmutable( QString::fromLatin1( "UseFixedFont" ) ))
01141         self()->mUseFixedFont = v;
01142     }
01143 
01147     static
01148     bool useFixedFont()
01149     {
01150       return self()->mUseFixedFont;
01151     }
01152 
01156     ItemBool *useFixedFontItem()
01157     {
01158       return mUseFixedFontItem;
01159     }
01160 
01164     static
01165     void setLineWrapWidth( int v )
01166     {
01167       if (v < 30)
01168       {
01169         kdDebug() << "setLineWrapWidth: value " << v << " is less than the minimum value of 30" << endl;
01170         v = 30;
01171       }
01172 
01173       if (v > 78)
01174       {
01175         kdDebug() << "setLineWrapWidth: value " << v << " is greater than the maximum value of 78" << endl;
01176         v = 78;
01177       }
01178 
01179       if (!self()->isImmutable( QString::fromLatin1( "LineWrapWidth" ) ))
01180         self()->mLineWrapWidth = v;
01181     }
01182 
01186     static
01187     int lineWrapWidth()
01188     {
01189       return self()->mLineWrapWidth;
01190     }
01191 
01195     ItemInt *lineWrapWidthItem()
01196     {
01197       return mLineWrapWidthItem;
01198     }
01199 
01203     static
01204     void setPreviousIdentity( uint v )
01205     {
01206       if (!self()->isImmutable( QString::fromLatin1( "PreviousIdentity" ) ))
01207         self()->mPreviousIdentity = v;
01208     }
01209 
01213     static
01214     uint previousIdentity()
01215     {
01216       return self()->mPreviousIdentity;
01217     }
01218 
01222     ItemUInt *previousIdentityItem()
01223     {
01224       return mPreviousIdentityItem;
01225     }
01226 
01230     static
01231     void setPreviousFcc( const QString & v )
01232     {
01233       if (!self()->isImmutable( QString::fromLatin1( "PreviousFcc" ) ))
01234         self()->mPreviousFcc = v;
01235     }
01236 
01240     static
01241     QString previousFcc()
01242     {
01243       return self()->mPreviousFcc;
01244     }
01245 
01249     ItemString *previousFccItem()
01250     {
01251       return mPreviousFccItem;
01252     }
01253 
01257     static
01258     void setTransportHistory( const QStringList & v )
01259     {
01260       if (!self()->isImmutable( QString::fromLatin1( "TransportHistory" ) ))
01261         self()->mTransportHistory = v;
01262     }
01263 
01267     static
01268     QStringList transportHistory()
01269     {
01270       return self()->mTransportHistory;
01271     }
01272 
01276     ItemStringList *transportHistoryItem()
01277     {
01278       return mTransportHistoryItem;
01279     }
01280 
01284     static
01285     void setCurrentTransport( const QString & v )
01286     {
01287       if (!self()->isImmutable( QString::fromLatin1( "CurrentTransport" ) ))
01288         self()->mCurrentTransport = v;
01289     }
01290 
01294     static
01295     QString currentTransport()
01296     {
01297       return self()->mCurrentTransport;
01298     }
01299 
01303     ItemString *currentTransportItem()
01304     {
01305       return mCurrentTransportItem;
01306     }
01307 
01311     static
01312     void setDefaultTransport( const QString & v )
01313     {
01314       if (!self()->isImmutable( QString::fromLatin1( "DefaultTransport" ) ))
01315         self()->mDefaultTransport = v;
01316     }
01317 
01321     static
01322     QString defaultTransport()
01323     {
01324       return self()->mDefaultTransport;
01325     }
01326 
01330     ItemString *defaultTransportItem()
01331     {
01332       return mDefaultTransportItem;
01333     }
01334 
01338     static
01339     void setMaxTransportEntries( int v )
01340     {
01341       if (!self()->isImmutable( QString::fromLatin1( "MaxTransportEntries" ) ))
01342         self()->mMaxTransportEntries = v;
01343     }
01344 
01348     static
01349     int maxTransportEntries()
01350     {
01351       return self()->mMaxTransportEntries;
01352     }
01353 
01357     ItemInt *maxTransportEntriesItem()
01358     {
01359       return mMaxTransportEntriesItem;
01360     }
01361 
01365     static
01366     void setOutlookCompatibleAttachments( bool v )
01367     {
01368       if (!self()->isImmutable( QString::fromLatin1( "OutlookCompatibleAttachments" ) ))
01369         self()->mOutlookCompatibleAttachments = v;
01370     }
01371 
01375     static
01376     bool outlookCompatibleAttachments()
01377     {
01378       return self()->mOutlookCompatibleAttachments;
01379     }
01380 
01384     ItemBool *outlookCompatibleAttachmentsItem()
01385     {
01386       return mOutlookCompatibleAttachmentsItem;
01387     }
01388 
01392     static
01393     void setUseHtmlMarkup( bool v )
01394     {
01395       if (!self()->isImmutable( QString::fromLatin1( "UseHtmlMarkup" ) ))
01396         self()->mUseHtmlMarkup = v;
01397     }
01398 
01402     static
01403     bool useHtmlMarkup()
01404     {
01405       return self()->mUseHtmlMarkup;
01406     }
01407 
01411     ItemBool *useHtmlMarkupItem()
01412     {
01413       return mUseHtmlMarkupItem;
01414     }
01415 
01419     static
01420     void setPgpAutoSign( bool v )
01421     {
01422       if (!self()->isImmutable( QString::fromLatin1( "PgpAutoSign" ) ))
01423         self()->mPgpAutoSign = v;
01424     }
01425 
01429     static
01430     bool pgpAutoSign()
01431     {
01432       return self()->mPgpAutoSign;
01433     }
01434 
01438     ItemBool *pgpAutoSignItem()
01439     {
01440       return mPgpAutoSignItem;
01441     }
01442 
01446     static
01447     void setPgpAutoEncrypt( bool v )
01448     {
01449       if (!self()->isImmutable( QString::fromLatin1( "PgpAutoEncrypt" ) ))
01450         self()->mPgpAutoEncrypt = v;
01451     }
01452 
01456     static
01457     bool pgpAutoEncrypt()
01458     {
01459       return self()->mPgpAutoEncrypt;
01460     }
01461 
01465     ItemBool *pgpAutoEncryptItem()
01466     {
01467       return mPgpAutoEncryptItem;
01468     }
01469 
01473     static
01474     void setNeverEncryptDrafts( bool v )
01475     {
01476       if (!self()->isImmutable( QString::fromLatin1( "NeverEncryptDrafts" ) ))
01477         self()->mNeverEncryptDrafts = v;
01478     }
01479 
01483     static
01484     bool neverEncryptDrafts()
01485     {
01486       return self()->mNeverEncryptDrafts;
01487     }
01488 
01492     ItemBool *neverEncryptDraftsItem()
01493     {
01494       return mNeverEncryptDraftsItem;
01495     }
01496 
01500     static
01501     void setChiasmusKey( const QString & v )
01502     {
01503       if (!self()->isImmutable( QString::fromLatin1( "ChiasmusKey" ) ))
01504         self()->mChiasmusKey = v;
01505     }
01506 
01510     static
01511     QString chiasmusKey()
01512     {
01513       return self()->mChiasmusKey;
01514     }
01515 
01519     ItemString *chiasmusKeyItem()
01520     {
01521       return mChiasmusKeyItem;
01522     }
01523 
01527     static
01528     void setChiasmusOptions( const QString & v )
01529     {
01530       if (!self()->isImmutable( QString::fromLatin1( "ChiasmusOptions" ) ))
01531         self()->mChiasmusOptions = v;
01532     }
01533 
01537     static
01538     QString chiasmusOptions()
01539     {
01540       return self()->mChiasmusOptions;
01541     }
01542 
01546     ItemString *chiasmusOptionsItem()
01547     {
01548       return mChiasmusOptionsItem;
01549     }
01550 
01554     static
01555     void setConfirmBeforeSend( bool v )
01556     {
01557       if (!self()->isImmutable( QString::fromLatin1( "ConfirmBeforeSend" ) ))
01558         self()->mConfirmBeforeSend = v;
01559     }
01560 
01564     static
01565     bool confirmBeforeSend()
01566     {
01567       return self()->mConfirmBeforeSend;
01568     }
01569 
01573     ItemBool *confirmBeforeSendItem()
01574     {
01575       return mConfirmBeforeSendItem;
01576     }
01577 
01581     static
01582     void setRequestMDN( bool v )
01583     {
01584       if (!self()->isImmutable( QString::fromLatin1( "RequestMDN" ) ))
01585         self()->mRequestMDN = v;
01586     }
01587 
01591     static
01592     bool requestMDN()
01593     {
01594       return self()->mRequestMDN;
01595     }
01596 
01600     ItemBool *requestMDNItem()
01601     {
01602       return mRequestMDNItem;
01603     }
01604 
01608     static
01609     void setShowRecentAddressesInComposer( bool v )
01610     {
01611       if (!self()->isImmutable( QString::fromLatin1( "ShowRecentAddressesInComposer" ) ))
01612         self()->mShowRecentAddressesInComposer = v;
01613     }
01614 
01618     static
01619     bool showRecentAddressesInComposer()
01620     {
01621       return self()->mShowRecentAddressesInComposer;
01622     }
01623 
01627     ItemBool *showRecentAddressesInComposerItem()
01628     {
01629       return mShowRecentAddressesInComposerItem;
01630     }
01631 
01635     static
01636     void setHeaders( int v )
01637     {
01638       if (!self()->isImmutable( QString::fromLatin1( "Headers" ) ))
01639         self()->mHeaders = v;
01640     }
01641 
01645     static
01646     int headers()
01647     {
01648       return self()->mHeaders;
01649     }
01650 
01654     ItemInt *headersItem()
01655     {
01656       return mHeadersItem;
01657     }
01658 
01662     static
01663     void setCompletionMode( int v )
01664     {
01665       if (!self()->isImmutable( QString::fromLatin1( "CompletionMode" ) ))
01666         self()->mCompletionMode = v;
01667     }
01668 
01672     static
01673     int completionMode()
01674     {
01675       return self()->mCompletionMode;
01676     }
01677 
01681     ItemInt *completionModeItem()
01682     {
01683       return mCompletionModeItem;
01684     }
01685 
01689     static
01690     void setAutoSpellChecking( bool v )
01691     {
01692       if (!self()->isImmutable( QString::fromLatin1( "AutoSpellChecking" ) ))
01693         self()->mAutoSpellChecking = v;
01694     }
01695 
01699     static
01700     bool autoSpellChecking()
01701     {
01702       return self()->mAutoSpellChecking;
01703     }
01704 
01708     ItemBool *autoSpellCheckingItem()
01709     {
01710       return mAutoSpellCheckingItem;
01711     }
01712 
01716     static
01717     void setShowForgottenAttachmentWarning( bool v )
01718     {
01719       if (!self()->isImmutable( QString::fromLatin1( "ShowForgottenAttachmentWarning" ) ))
01720         self()->mShowForgottenAttachmentWarning = v;
01721     }
01722 
01726     static
01727     bool showForgottenAttachmentWarning()
01728     {
01729       return self()->mShowForgottenAttachmentWarning;
01730     }
01731 
01735     ItemBool *showForgottenAttachmentWarningItem()
01736     {
01737       return mShowForgottenAttachmentWarningItem;
01738     }
01739 
01743     static
01744     void setAttachmentKeywords( const QStringList & v )
01745     {
01746       if (!self()->isImmutable( QString::fromLatin1( "AttachmentKeywords" ) ))
01747         self()->mAttachmentKeywords = v;
01748     }
01749 
01753     static
01754     QStringList attachmentKeywords()
01755     {
01756       return self()->mAttachmentKeywords;
01757     }
01758 
01762     ItemStringList *attachmentKeywordsItem()
01763     {
01764       return mAttachmentKeywordsItem;
01765     }
01766 
01770     static
01771     void setShowMessagePartDialogOnAttach( bool v )
01772     {
01773       if (!self()->isImmutable( QString::fromLatin1( "ShowMessagePartDialogOnAttach" ) ))
01774         self()->mShowMessagePartDialogOnAttach = v;
01775     }
01776 
01780     static
01781     bool showMessagePartDialogOnAttach()
01782     {
01783       return self()->mShowMessagePartDialogOnAttach;
01784     }
01785 
01789     ItemBool *showMessagePartDialogOnAttachItem()
01790     {
01791       return mShowMessagePartDialogOnAttachItem;
01792     }
01793 
01797     static
01798     void setAutosaveInterval( int v )
01799     {
01800       if (!self()->isImmutable( QString::fromLatin1( "AutosaveInterval" ) ))
01801         self()->mAutosaveInterval = v;
01802     }
01803 
01807     static
01808     int autosaveInterval()
01809     {
01810       return self()->mAutosaveInterval;
01811     }
01812 
01816     ItemInt *autosaveIntervalItem()
01817     {
01818       return mAutosaveIntervalItem;
01819     }
01820 
01824     static
01825     void setReplyPrefixes( const QStringList & v )
01826     {
01827       if (!self()->isImmutable( QString::fromLatin1( "ReplyPrefixes" ) ))
01828         self()->mReplyPrefixes = v;
01829     }
01830 
01834     static
01835     QStringList replyPrefixes()
01836     {
01837       return self()->mReplyPrefixes;
01838     }
01839 
01843     ItemStringList *replyPrefixesItem()
01844     {
01845       return mReplyPrefixesItem;
01846     }
01847 
01851     static
01852     void setReplaceReplyPrefix( bool v )
01853     {
01854       if (!self()->isImmutable( QString::fromLatin1( "ReplaceReplyPrefix" ) ))
01855         self()->mReplaceReplyPrefix = v;
01856     }
01857 
01861     static
01862     bool replaceReplyPrefix()
01863     {
01864       return self()->mReplaceReplyPrefix;
01865     }
01866 
01870     ItemBool *replaceReplyPrefixItem()
01871     {
01872       return mReplaceReplyPrefixItem;
01873     }
01874 
01878     static
01879     void setForwardPrefixes( const QStringList & v )
01880     {
01881       if (!self()->isImmutable( QString::fromLatin1( "ForwardPrefixes" ) ))
01882         self()->mForwardPrefixes = v;
01883     }
01884 
01888     static
01889     QStringList forwardPrefixes()
01890     {
01891       return self()->mForwardPrefixes;
01892     }
01893 
01897     ItemStringList *forwardPrefixesItem()
01898     {
01899       return mForwardPrefixesItem;
01900     }
01901 
01905     static
01906     void setReplaceForwardPrefix( bool v )
01907     {
01908       if (!self()->isImmutable( QString::fromLatin1( "ReplaceForwardPrefix" ) ))
01909         self()->mReplaceForwardPrefix = v;
01910     }
01911 
01915     static
01916     bool replaceForwardPrefix()
01917     {
01918       return self()->mReplaceForwardPrefix;
01919     }
01920 
01924     ItemBool *replaceForwardPrefixItem()
01925     {
01926       return mReplaceForwardPrefixItem;
01927     }
01928 
01932     static
01933     void setSmartQuote( bool v )
01934     {
01935       if (!self()->isImmutable( QString::fromLatin1( "SmartQuote" ) ))
01936         self()->mSmartQuote = v;
01937     }
01938 
01942     static
01943     bool smartQuote()
01944     {
01945       return self()->mSmartQuote;
01946     }
01947 
01951     ItemBool *smartQuoteItem()
01952     {
01953       return mSmartQuoteItem;
01954     }
01955 
01959     static
01960     void setAddresseeSelectorType( int v )
01961     {
01962       if (!self()->isImmutable( QString::fromLatin1( "AddresseeSelectorType" ) ))
01963         self()->mAddresseeSelectorType = v;
01964     }
01965 
01969     static
01970     int addresseeSelectorType()
01971     {
01972       return self()->mAddresseeSelectorType;
01973     }
01974 
01978     ItemEnum *addresseeSelectorTypeItem()
01979     {
01980       return mAddresseeSelectorTypeItem;
01981     }
01982 
01986     static
01987     void setRecipientsEditorType( int v )
01988     {
01989       if (!self()->isImmutable( QString::fromLatin1( "RecipientsEditorType" ) ))
01990         self()->mRecipientsEditorType = v;
01991     }
01992 
01996     static
01997     int recipientsEditorType()
01998     {
01999       return self()->mRecipientsEditorType;
02000     }
02001 
02005     ItemEnum *recipientsEditorTypeItem()
02006     {
02007       return mRecipientsEditorTypeItem;
02008     }
02009 
02013     static
02014     void setSecondRecipientTypeDefault( int v )
02015     {
02016       if (!self()->isImmutable( QString::fromLatin1( "SecondRecipientTypeDefault" ) ))
02017         self()->mSecondRecipientTypeDefault = v;
02018     }
02019 
02023     static
02024     int secondRecipientTypeDefault()
02025     {
02026       return self()->mSecondRecipientTypeDefault;
02027     }
02028 
02032     ItemEnum *secondRecipientTypeDefaultItem()
02033     {
02034       return mSecondRecipientTypeDefaultItem;
02035     }
02036 
02040     static
02041     void setMaximumRecipients( int v )
02042     {
02043       if (!self()->isImmutable( QString::fromLatin1( "MaximumRecipients" ) ))
02044         self()->mMaximumRecipients = v;
02045     }
02046 
02050     static
02051     int maximumRecipients()
02052     {
02053       return self()->mMaximumRecipients;
02054     }
02055 
02059     ItemInt *maximumRecipientsItem()
02060     {
02061       return mMaximumRecipientsItem;
02062     }
02063 
02067     static
02068     void setCustomTemplates( const QStringList & v )
02069     {
02070       if (!self()->isImmutable( QString::fromLatin1( "CustomTemplates" ) ))
02071         self()->mCustomTemplates = v;
02072     }
02073 
02077     static
02078     QStringList customTemplates()
02079     {
02080       return self()->mCustomTemplates;
02081     }
02082 
02086     ItemStringList *customTemplatesItem()
02087     {
02088       return mCustomTemplatesItem;
02089     }
02090 
02094     static
02095     void setUseDefaultFonts( bool v )
02096     {
02097       if (!self()->isImmutable( QString::fromLatin1( "UseDefaultFonts" ) ))
02098         self()->mUseDefaultFonts = v;
02099     }
02100 
02104     static
02105     bool useDefaultFonts()
02106     {
02107       return self()->mUseDefaultFonts;
02108     }
02109 
02113     ItemBool *useDefaultFontsItem()
02114     {
02115       return mUseDefaultFontsItem;
02116     }
02117 
02121     static
02122     void setComposerFont( const QFont & v )
02123     {
02124       if (!self()->isImmutable( QString::fromLatin1( "ComposerFont" ) ))
02125         self()->mComposerFont = v;
02126     }
02127 
02131     static
02132     QFont composerFont()
02133     {
02134       return self()->mComposerFont;
02135     }
02136 
02140     ItemFont *composerFontItem()
02141     {
02142       return mComposerFontItem;
02143     }
02144 
02148     static
02149     void setFixedFont( const QFont & v )
02150     {
02151       if (!self()->isImmutable( QString::fromLatin1( "FixedFont" ) ))
02152         self()->mFixedFont = v;
02153     }
02154 
02158     static
02159     QFont fixedFont()
02160     {
02161       return self()->mFixedFont;
02162     }
02163 
02167     ItemFont *fixedFontItem()
02168     {
02169       return mFixedFontItem;
02170     }
02171 
02175     static
02176     void setComposerSize( const QSize & v )
02177     {
02178       if (!self()->isImmutable( QString::fromLatin1( "ComposerSize" ) ))
02179         self()->mComposerSize = v;
02180     }
02181 
02185     static
02186     QSize composerSize()
02187     {
02188       return self()->mComposerSize;
02189     }
02190 
02194     ItemSize *composerSizeItem()
02195     {
02196       return mComposerSizeItem;
02197     }
02198 
02202     static
02203     void setUseDefaultColors( bool v )
02204     {
02205       if (!self()->isImmutable( QString::fromLatin1( "UseDefaultColors" ) ))
02206         self()->mUseDefaultColors = v;
02207     }
02208 
02212     static
02213     bool useDefaultColors()
02214     {
02215       return self()->mUseDefaultColors;
02216     }
02217 
02221     ItemBool *useDefaultColorsItem()
02222     {
02223       return mUseDefaultColorsItem;
02224     }
02225 
02229     static
02230     void setForegroundColor( const QColor & v )
02231     {
02232       if (!self()->isImmutable( QString::fromLatin1( "ForegroundColor" ) ))
02233         self()->mForegroundColor = v;
02234     }
02235 
02239     static
02240     QColor foregroundColor()
02241     {
02242       return self()->mForegroundColor;
02243     }
02244 
02248     ItemColor *foregroundColorItem()
02249     {
02250       return mForegroundColorItem;
02251     }
02252 
02256     static
02257     void setBackgroundColor( const QColor & v )
02258     {
02259       if (!self()->isImmutable( QString::fromLatin1( "BackgroundColor" ) ))
02260         self()->mBackgroundColor = v;
02261     }
02262 
02266     static
02267     QColor backgroundColor()
02268     {
02269       return self()->mBackgroundColor;
02270     }
02271 
02275     ItemColor *backgroundColorItem()
02276     {
02277       return mBackgroundColorItem;
02278     }
02279 
02283     static
02284     void setFallbackCharacterEncoding( const QString & v )
02285     {
02286       if (!self()->isImmutable( QString::fromLatin1( "FallbackCharacterEncoding" ) ))
02287         self()->mFallbackCharacterEncoding = v;
02288     }
02289 
02293     static
02294     QString fallbackCharacterEncoding()
02295     {
02296       return self()->mFallbackCharacterEncoding;
02297     }
02298 
02302     ItemString *fallbackCharacterEncodingItem()
02303     {
02304       return mFallbackCharacterEncodingItem;
02305     }
02306 
02310     static
02311     void setOverrideCharacterEncoding( const QString & v )
02312     {
02313       if (!self()->isImmutable( QString::fromLatin1( "OverrideCharacterEncoding" ) ))
02314         self()->mOverrideCharacterEncoding = v;
02315     }
02316 
02320     static
02321     QString overrideCharacterEncoding()
02322     {
02323       return self()->mOverrideCharacterEncoding;
02324     }
02325 
02329     ItemString *overrideCharacterEncodingItem()
02330     {
02331       return mOverrideCharacterEncodingItem;
02332     }
02333 
02337     static
02338     void setShowEmoticons( bool v )
02339     {
02340       if (!self()->isImmutable( QString::fromLatin1( "ShowEmoticons" ) ))
02341         self()->mShowEmoticons = v;
02342     }
02343 
02347     static
02348     bool showEmoticons()
02349     {
02350       return self()->mShowEmoticons;
02351     }
02352 
02356     ItemBool *showEmoticonsItem()
02357     {
02358       return mShowEmoticonsItem;
02359     }
02360 
02364     static
02365     void setShowExpandQuotesMark( bool v )
02366     {
02367       if (!self()->isImmutable( QString::fromLatin1( "ShowExpandQuotesMark" ) ))
02368         self()->mShowExpandQuotesMark = v;
02369     }
02370 
02374     static
02375     bool showExpandQuotesMark()
02376     {
02377       return self()->mShowExpandQuotesMark;
02378     }
02379 
02383     ItemBool *showExpandQuotesMarkItem()
02384     {
02385       return mShowExpandQuotesMarkItem;
02386     }
02387 
02391     static
02392     void setCollapseQuoteLevelSpin( int v )
02393     {
02394       if (v < 0)
02395       {
02396         kdDebug() << "setCollapseQuoteLevelSpin: value " << v << " is less than the minimum value of 0" << endl;
02397         v = 0;
02398       }
02399 
02400       if (v > 10)
02401       {
02402         kdDebug() << "setCollapseQuoteLevelSpin: value " << v << " is greater than the maximum value of 10" << endl;
02403         v = 10;
02404       }
02405 
02406       if (!self()->isImmutable( QString::fromLatin1( "CollapseQuoteLevelSpin" ) ))
02407         self()->mCollapseQuoteLevelSpin = v;
02408     }
02409 
02413     static
02414     int collapseQuoteLevelSpin()
02415     {
02416       return self()->mCollapseQuoteLevelSpin;
02417     }
02418 
02422     ItemInt *collapseQuoteLevelSpinItem()
02423     {
02424       return mCollapseQuoteLevelSpinItem;
02425     }
02426 
02430     static
02431     void setShrinkQuotes( bool v )
02432     {
02433       if (!self()->isImmutable( QString::fromLatin1( "ShrinkQuotes" ) ))
02434         self()->mShrinkQuotes = v;
02435     }
02436 
02440     static
02441     bool shrinkQuotes()
02442     {
02443       return self()->mShrinkQuotes;
02444     }
02445 
02449     ItemBool *shrinkQuotesItem()
02450     {
02451       return mShrinkQuotesItem;
02452     }
02453 
02457     static
02458     void setChiasmusDecryptionKey( const QString & v )
02459     {
02460       if (!self()->isImmutable( QString::fromLatin1( "ChiasmusDecryptionKey" ) ))
02461         self()->mChiasmusDecryptionKey = v;
02462     }
02463 
02467     static
02468     QString chiasmusDecryptionKey()
02469     {
02470       return self()->mChiasmusDecryptionKey;
02471     }
02472 
02476     ItemString *chiasmusDecryptionKeyItem()
02477     {
02478       return mChiasmusDecryptionKeyItem;
02479     }
02480 
02484     static
02485     void setChiasmusDecryptionOptions( const QString & v )
02486     {
02487       if (!self()->isImmutable( QString::fromLatin1( "ChiasmusDecryptionOptions" ) ))
02488         self()->mChiasmusDecryptionOptions = v;
02489     }
02490 
02494     static
02495     QString chiasmusDecryptionOptions()
02496     {
02497       return self()->mChiasmusDecryptionOptions;
02498     }
02499 
02503     ItemString *chiasmusDecryptionOptionsItem()
02504     {
02505       return mChiasmusDecryptionOptionsItem;
02506     }
02507 
02511     static
02512     void setAutomaticDecrypt( bool v )
02513     {
02514       if (!self()->isImmutable( QString::fromLatin1( "automaticDecrypt" ) ))
02515         self()->mAutomaticDecrypt = v;
02516     }
02517 
02521     static
02522     bool automaticDecrypt()
02523     {
02524       return self()->mAutomaticDecrypt;
02525     }
02526 
02530     ItemBool *automaticDecryptItem()
02531     {
02532       return mAutomaticDecryptItem;
02533     }
02534 
02538     static
02539     void setSendMDNsWithEmptySender( bool v )
02540     {
02541       if (!self()->isImmutable( QString::fromLatin1( "SendMDNsWithEmptySender" ) ))
02542         self()->mSendMDNsWithEmptySender = v;
02543     }
02544 
02548     static
02549     bool sendMDNsWithEmptySender()
02550     {
02551       return self()->mSendMDNsWithEmptySender;
02552     }
02553 
02557     ItemBool *sendMDNsWithEmptySenderItem()
02558     {
02559       return mSendMDNsWithEmptySenderItem;
02560     }
02561 
02565     static
02566     void setPhrasesConverted( bool v )
02567     {
02568       if (!self()->isImmutable( QString::fromLatin1( "PhrasesConverted" ) ))
02569         self()->mPhrasesConverted = v;
02570     }
02571 
02575     static
02576     bool phrasesConverted()
02577     {
02578       return self()->mPhrasesConverted;
02579     }
02580 
02584     ItemBool *phrasesConvertedItem()
02585     {
02586       return mPhrasesConvertedItem;
02587     }
02588 
02592     static
02593     void setTemplateNewMessage( const QString & v )
02594     {
02595       if (!self()->isImmutable( QString::fromLatin1( "TemplateNewMessage" ) ))
02596         self()->mTemplateNewMessage = v;
02597     }
02598 
02602     static
02603     QString templateNewMessage()
02604     {
02605       return self()->mTemplateNewMessage;
02606     }
02607 
02611     ItemString *templateNewMessageItem()
02612     {
02613       return mTemplateNewMessageItem;
02614     }
02615 
02619     static
02620     void setTemplateReply( const QString & v )
02621     {
02622       if (!self()->isImmutable( QString::fromLatin1( "TemplateReply" ) ))
02623         self()->mTemplateReply = v;
02624     }
02625 
02629     static
02630     QString templateReply()
02631     {
02632       return self()->mTemplateReply;
02633     }
02634 
02638     ItemString *templateReplyItem()
02639     {
02640       return mTemplateReplyItem;
02641     }
02642 
02646     static
02647     void setTemplateReplyAll( const QString & v )
02648     {
02649       if (!self()->isImmutable( QString::fromLatin1( "TemplateReplyAll" ) ))
02650         self()->mTemplateReplyAll = v;
02651     }
02652 
02656     static
02657     QString templateReplyAll()
02658     {
02659       return self()->mTemplateReplyAll;
02660     }
02661 
02665     ItemString *templateReplyAllItem()
02666     {
02667       return mTemplateReplyAllItem;
02668     }
02669 
02673     static
02674     void setTemplateForward( const QString & v )
02675     {
02676       if (!self()->isImmutable( QString::fromLatin1( "TemplateForward" ) ))
02677         self()->mTemplateForward = v;
02678     }
02679 
02683     static
02684     QString templateForward()
02685     {
02686       return self()->mTemplateForward;
02687     }
02688 
02692     ItemString *templateForwardItem()
02693     {
02694       return mTemplateForwardItem;
02695     }
02696 
02700     static
02701     void setQuoteString( const QString & v )
02702     {
02703       if (!self()->isImmutable( QString::fromLatin1( "QuoteString" ) ))
02704         self()->mQuoteString = v;
02705     }
02706 
02710     static
02711     QString quoteString()
02712     {
02713       return self()->mQuoteString;
02714     }
02715 
02719     ItemString *quoteStringItem()
02720     {
02721       return mQuoteStringItem;
02722     }
02723 
02724     static
02725     void writeConfig()
02726     {
02727       static_cast<KConfigSkeleton*>(self())->writeConfig();
02728     }
02729   protected:
02730     GlobalSettingsBase();
02731     static GlobalSettingsBase *mSelf;
02732 
02733 
02734     // Behaviour
02735     bool mDelayedMarkAsRead;
02736     uint mDelayedMarkTime;
02737     int mActionEnterFolder;
02738     int mNetworkState;
02739     int mLoopOnGotoUnread;
02740     bool mShowPopupAfterDnD;
02741     bool mExcludeImportantMailFromExpiry;
02742     int mSendOnCheck;
02743 
02744     // FolderSelectionDialog
02745     QString mLastSelectedFolder;
02746     int mQuotaUnit;
02747 
02748     // General
02749     bool mSystemTrayEnabled;
02750     int mSystemTrayPolicy;
02751     bool mVerboseNewMailNotification;
02752     QString mExternalEditor;
02753     bool mUseExternalEditor;
02754     int mCustHeaderCount;
02755     int mReplyCurrentLanguage;
02756     int mReplyLanguagesCount;
02757     int mFolderLoadingTimeout;
02758 
02759     // Groupware
02760     bool mGroupwareEnabled;
02761     bool mLegacyMangleFromToHeaders;
02762     bool mLegacyBodyInvites;
02763     bool mAutomaticSending;
02764 
02765     // IMAP Resource
02766     bool mTheIMAPResourceEnabled;
02767     bool mHideGroupwareFolders;
02768     int mTheIMAPResourceStorageFormat;
02769     QString mTheIMAPResourceFolderParent;
02770     int mTheIMAPResourceAccount;
02771     int mTheIMAPResourceFolderLanguage;
02772 
02773     // Internal
02774     int mMsgDictSizeHint;
02775     QString mPreviousNewFeaturesMD5;
02776 
02777     // Network
02778     int mMaxConnectionsPerHost;
02779 
02780     // UserInterface
02781     bool mQuickSearchActive;
02782 
02783     // Composer
02784     bool mForceReplyCharset;
02785     QString mAutoTextSignature;
02786     bool mStickyIdentity;
02787     bool mStickyFcc;
02788     bool mStickyTransport;
02789     bool mWordWrap;
02790     bool mUseFixedFont;
02791     int mLineWrapWidth;
02792     uint mPreviousIdentity;
02793     QString mPreviousFcc;
02794     QStringList mTransportHistory;
02795     QString mCurrentTransport;
02796     QString mDefaultTransport;
02797     int mMaxTransportEntries;
02798     bool mOutlookCompatibleAttachments;
02799     bool mUseHtmlMarkup;
02800     bool mPgpAutoSign;
02801     bool mPgpAutoEncrypt;
02802     bool mNeverEncryptDrafts;
02803     QString mChiasmusKey;
02804     QString mChiasmusOptions;
02805     bool mConfirmBeforeSend;
02806     bool mRequestMDN;
02807     bool mShowRecentAddressesInComposer;
02808     int mHeaders;
02809     int mCompletionMode;
02810     bool mAutoSpellChecking;
02811     bool mShowForgottenAttachmentWarning;
02812     QStringList mAttachmentKeywords;
02813     bool mShowMessagePartDialogOnAttach;
02814     int mAutosaveInterval;
02815     QStringList mReplyPrefixes;
02816     bool mReplaceReplyPrefix;
02817     QStringList mForwardPrefixes;
02818     bool mReplaceForwardPrefix;
02819     bool mSmartQuote;
02820     int mAddresseeSelectorType;
02821     int mRecipientsEditorType;
02822     int mSecondRecipientTypeDefault;
02823     int mMaximumRecipients;
02824     QStringList mCustomTemplates;
02825 
02826     // Fonts
02827     bool mUseDefaultFonts;
02828     QFont mComposerFont;
02829     QFont mFixedFont;
02830 
02831     // Geometry
02832     QSize mComposerSize;
02833 
02834     // Reader
02835     bool mUseDefaultColors;
02836     QColor mForegroundColor;
02837     QColor mBackgroundColor;
02838     QString mFallbackCharacterEncoding;
02839     QString mOverrideCharacterEncoding;
02840     bool mShowEmoticons;
02841     bool mShowExpandQuotesMark;
02842     int mCollapseQuoteLevelSpin;
02843     bool mShrinkQuotes;
02844     QString mChiasmusDecryptionKey;
02845     QString mChiasmusDecryptionOptions;
02846 
02847     // TextIndex
02848     bool mAutomaticDecrypt;
02849 
02850     // MDN
02851     bool mSendMDNsWithEmptySender;
02852 
02853     // GlobalTemplates
02854     bool mPhrasesConverted;
02855     QString mTemplateNewMessage;
02856     QString mTemplateReply;
02857     QString mTemplateReplyAll;
02858     QString mTemplateForward;
02859     QString mQuoteString;
02860 
02861   private:
02862     ItemBool *mDelayedMarkAsReadItem;
02863     ItemUInt *mDelayedMarkTimeItem;
02864     ItemEnum *mActionEnterFolderItem;
02865     ItemEnum *mNetworkStateItem;
02866     ItemEnum *mLoopOnGotoUnreadItem;
02867     ItemBool *mShowPopupAfterDnDItem;
02868     ItemBool *mExcludeImportantMailFromExpiryItem;
02869     ItemEnum *mSendOnCheckItem;
02870     ItemString *mLastSelectedFolderItem;
02871     ItemEnum *mQuotaUnitItem;
02872     ItemBool *mSystemTrayEnabledItem;
02873     ItemEnum *mSystemTrayPolicyItem;
02874     ItemBool *mVerboseNewMailNotificationItem;
02875     ItemString *mExternalEditorItem;
02876     ItemBool *mUseExternalEditorItem;
02877     ItemInt *mCustHeaderCountItem;
02878     ItemInt *mReplyCurrentLanguageItem;
02879     ItemInt *mReplyLanguagesCountItem;
02880     ItemInt *mFolderLoadingTimeoutItem;
02881     ItemBool *mGroupwareEnabledItem;
02882     ItemBool *mLegacyMangleFromToHeadersItem;
02883     ItemBool *mLegacyBodyInvitesItem;
02884     ItemBool *mAutomaticSendingItem;
02885     ItemBool *mTheIMAPResourceEnabledItem;
02886     ItemBool *mHideGroupwareFoldersItem;
02887     ItemEnum *mTheIMAPResourceStorageFormatItem;
02888     ItemString *mTheIMAPResourceFolderParentItem;
02889     ItemInt *mTheIMAPResourceAccountItem;
02890     ItemInt *mTheIMAPResourceFolderLanguageItem;
02891     ItemInt *mMsgDictSizeHintItem;
02892     ItemString *mPreviousNewFeaturesMD5Item;
02893     ItemInt *mMaxConnectionsPerHostItem;
02894     ItemBool *mQuickSearchActiveItem;
02895     ItemBool *mForceReplyCharsetItem;
02896     ItemString *mAutoTextSignatureItem;
02897     ItemBool *mStickyIdentityItem;
02898     ItemBool *mStickyFccItem;
02899     ItemBool *mStickyTransportItem;
02900     ItemBool *mWordWrapItem;
02901     ItemBool *mUseFixedFontItem;
02902     ItemInt *mLineWrapWidthItem;
02903     ItemUInt *mPreviousIdentityItem;
02904     ItemString *mPreviousFccItem;
02905     ItemStringList *mTransportHistoryItem;
02906     ItemString *mCurrentTransportItem;
02907     ItemString *mDefaultTransportItem;
02908     ItemInt *mMaxTransportEntriesItem;
02909     ItemBool *mOutlookCompatibleAttachmentsItem;
02910     ItemBool *mUseHtmlMarkupItem;
02911     ItemBool *mPgpAutoSignItem;
02912     ItemBool *mPgpAutoEncryptItem;
02913     ItemBool *mNeverEncryptDraftsItem;
02914     ItemString *mChiasmusKeyItem;
02915     ItemString *mChiasmusOptionsItem;
02916     ItemBool *mConfirmBeforeSendItem;
02917     ItemBool *mRequestMDNItem;
02918     ItemBool *mShowRecentAddressesInComposerItem;
02919     ItemInt *mHeadersItem;
02920     ItemInt *mCompletionModeItem;
02921     ItemBool *mAutoSpellCheckingItem;
02922     ItemBool *mShowForgottenAttachmentWarningItem;
02923     ItemStringList *mAttachmentKeywordsItem;
02924     ItemBool *mShowMessagePartDialogOnAttachItem;
02925     ItemInt *mAutosaveIntervalItem;
02926     ItemStringList *mReplyPrefixesItem;
02927     ItemBool *mReplaceReplyPrefixItem;
02928     ItemStringList *mForwardPrefixesItem;
02929     ItemBool *mReplaceForwardPrefixItem;
02930     ItemBool *mSmartQuoteItem;
02931     ItemEnum *mAddresseeSelectorTypeItem;
02932     ItemEnum *mRecipientsEditorTypeItem;
02933     ItemEnum *mSecondRecipientTypeDefaultItem;
02934     ItemInt *mMaximumRecipientsItem;
02935     ItemStringList *mCustomTemplatesItem;
02936     ItemBool *mUseDefaultFontsItem;
02937     ItemFont *mComposerFontItem;
02938     ItemFont *mFixedFontItem;
02939     ItemSize *mComposerSizeItem;
02940     ItemBool *mUseDefaultColorsItem;
02941     ItemColor *mForegroundColorItem;
02942     ItemColor *mBackgroundColorItem;
02943     ItemString *mFallbackCharacterEncodingItem;
02944     ItemString *mOverrideCharacterEncodingItem;
02945     ItemBool *mShowEmoticonsItem;
02946     ItemBool *mShowExpandQuotesMarkItem;
02947     ItemInt *mCollapseQuoteLevelSpinItem;
02948     ItemBool *mShrinkQuotesItem;
02949     ItemString *mChiasmusDecryptionKeyItem;
02950     ItemString *mChiasmusDecryptionOptionsItem;
02951     ItemBool *mAutomaticDecryptItem;
02952     ItemBool *mSendMDNsWithEmptySenderItem;
02953     ItemBool *mPhrasesConvertedItem;
02954     ItemString *mTemplateNewMessageItem;
02955     ItemString *mTemplateReplyItem;
02956     ItemString *mTemplateReplyAllItem;
02957     ItemString *mTemplateForwardItem;
02958     ItemString *mQuoteStringItem;
02959 };
02960 
02961 #endif
02962 
KDE Home | KDE Accessibility Home | Description of Access Keys