kmail

globalsettings_base.h

00001 // This file is generated by kconfig_compiler from kmail.kcfg.
00002 // All changes you do to this file will be lost.
00003 #ifndef GLOBALSETTINGSBASE_H
00004 #define GLOBALSETTINGSBASE_H
00005 
00006 #include <templatesconfiguration.h>
00007 #include <kmglobal.h>
00008 #include <templatesconfiguration_base.h>
00009 
00010 #include <kconfigskeleton.h>
00011 #include <kdebug.h>
00012 
00013 #include <qtextcodec.h>
00014 #include <kapplication.h>
00015 class GlobalSettingsBase : public KConfigSkeleton
00016 {
00017   public:
00018     class EnumActionEnterFolder
00019     {
00020       public:
00021       enum type { SelectFirstNew, SelectFirstUnreadNew, SelectLastSelected, COUNT };
00022     };
00023     class EnumNetworkState
00024     {
00025       public:
00026       enum type { Online, Offline, COUNT };
00027     };
00028     class EnumLoopOnGotoUnread
00029     {
00030       public:
00031       enum type { DontLoop, LoopInCurrentFolder, LoopInAllFolders, COUNT };
00032     };
00033     class EnumSendOnCheck
00034     {
00035       public:
00036       enum type { DontSendOnCheck, SendOnManualChecks, SendOnAllChecks, COUNT };
00037     };
00038     class EnumQuotaUnit
00039     {
00040       public:
00041       enum type { KB, MB, GB, COUNT };
00042     };
00043     class EnumSystemTrayPolicy
00044     {
00045       public:
00046       enum type { ShowAlways, ShowOnUnread, COUNT };
00047     };
00048     class EnumTheIMAPResourceStorageFormat
00049     {
00050       public:
00051       enum type { IcalVcard, XML, COUNT };
00052     };
00053     class EnumAddresseeSelectorType
00054     {
00055       public:
00056       enum type { New, Old, COUNT };
00057     };
00058     class EnumRecipientsEditorType
00059     {
00060       public:
00061       enum type { Classic, MultiLine, COUNT };
00062     };
00063     class EnumSecondRecipientTypeDefault
00064     {
00065       public:
00066       enum type { To, Cc, COUNT };
00067     };
00068 
00069     static GlobalSettingsBase *self();
00070     ~GlobalSettingsBase();
00071 
00075     static
00076     void setDelayedMarkAsRead( bool v )
00077     {
00078       if (!self()->isImmutable( QString::fromLatin1( "DelayedMarkAsRead" ) ))
00079         self()->mDelayedMarkAsRead = v;
00080     }
00081 
00085     static
00086     bool delayedMarkAsRead()
00087     {
00088       return self()->mDelayedMarkAsRead;
00089     }
00090 
00094     ItemBool *delayedMarkAsReadItem()
00095     {
00096       return mDelayedMarkAsReadItem;
00097     }
00098 
00102     static
00103     void setDelayedMarkTime( uint v )
00104     {
00105       if (!self()->isImmutable( QString::fromLatin1( "DelayedMarkTime" ) ))
00106         self()->mDelayedMarkTime = v;
00107     }
00108 
00112     static
00113     uint delayedMarkTime()
00114     {
00115       return self()->mDelayedMarkTime;
00116     }
00117 
00121     ItemUInt *delayedMarkTimeItem()
00122     {
00123       return mDelayedMarkTimeItem;
00124     }
00125 
00129     static
00130     void setActionEnterFolder( int v )
00131     {
00132       if (!self()->isImmutable( QString::fromLatin1( "ActionEnterFolder" ) ))
00133         self()->mActionEnterFolder = v;
00134     }
00135 
00139     static
00140     int actionEnterFolder()
00141     {
00142       return self()->mActionEnterFolder;
00143     }
00144 
00148     ItemEnum *actionEnterFolderItem()
00149     {
00150       return mActionEnterFolderItem;
00151     }
00152 
00156     static
00157     void setNetworkState( int v )
00158     {
00159       if (!self()->isImmutable( QString::fromLatin1( "NetworkState" ) ))
00160         self()->mNetworkState = v;
00161     }
00162 
00166     static
00167     int networkState()
00168     {
00169       return self()->mNetworkState;
00170     }
00171 
00175     ItemEnum *networkStateItem()
00176     {
00177       return mNetworkStateItem;
00178     }
00179 
00183     static
00184     void setLoopOnGotoUnread( int v )
00185     {
00186       if (!self()->isImmutable( QString::fromLatin1( "LoopOnGotoUnread" ) ))
00187         self()->mLoopOnGotoUnread = v;
00188     }
00189 
00193     static
00194     int loopOnGotoUnread()
00195     {
00196       return self()->mLoopOnGotoUnread;
00197     }
00198 
00202     ItemEnum *loopOnGotoUnreadItem()
00203     {
00204       return mLoopOnGotoUnreadItem;
00205     }
00206 
00210     static
00211     void setShowPopupAfterDnD( bool v )
00212     {
00213       if (!self()->isImmutable( QString::fromLatin1( "ShowPopupAfterDnD" ) ))
00214         self()->mShowPopupAfterDnD = v;
00215     }
00216 
00220     static
00221     bool showPopupAfterDnD()
00222     {
00223       return self()->mShowPopupAfterDnD;
00224     }
00225 
00229     ItemBool *showPopupAfterDnDItem()
00230     {
00231       return mShowPopupAfterDnDItem;
00232     }
00233 
00237     static
00238     void setExcludeImportantMailFromExpiry( bool v )
00239     {
00240       if (!self()->isImmutable( QString::fromLatin1( "ExcludeImportantMailFromExpiry" ) ))
00241         self()->mExcludeImportantMailFromExpiry = v;
00242     }
00243 
00247     static
00248     bool excludeImportantMailFromExpiry()
00249     {
00250       return self()->mExcludeImportantMailFromExpiry;
00251     }
00252 
00256     ItemBool *excludeImportantMailFromExpiryItem()
00257     {
00258       return mExcludeImportantMailFromExpiryItem;
00259     }
00260 
00264     static
00265     void setSendOnCheck( int v )
00266     {
00267       if (!self()->isImmutable( QString::fromLatin1( "SendOnCheck" ) ))
00268         self()->mSendOnCheck = v;
00269     }
00270 
00274     static
00275     int sendOnCheck()
00276     {
00277       return self()->mSendOnCheck;
00278     }
00279 
00283     ItemEnum *sendOnCheckItem()
00284     {
00285       return mSendOnCheckItem;
00286     }
00287 
00291     static
00292     void setAutoLostFoundMove( bool v )
00293     {
00294       if (!self()->isImmutable( QString::fromLatin1( "AutoLostFoundMove" ) ))
00295         self()->mAutoLostFoundMove = v;
00296     }
00297 
00301     static
00302     bool autoLostFoundMove()
00303     {
00304       return self()->mAutoLostFoundMove;
00305     }
00306 
00310     ItemBool *autoLostFoundMoveItem()
00311     {
00312       return mAutoLostFoundMoveItem;
00313     }
00314 
00318     static
00319     void setMinimumCheckInterval( int v )
00320     {
00321       if (!self()->isImmutable( QString::fromLatin1( "MinimumCheckInterval" ) ))
00322         self()->mMinimumCheckInterval = v;
00323     }
00324 
00328     static
00329     int minimumCheckInterval()
00330     {
00331       return self()->mMinimumCheckInterval;
00332     }
00333 
00337     ItemInt *minimumCheckIntervalItem()
00338     {
00339       return mMinimumCheckIntervalItem;
00340     }
00341 
00345     static
00346     void setLastSelectedFolder( const QString & v )
00347     {
00348       if (!self()->isImmutable( QString::fromLatin1( "LastSelectedFolder" ) ))
00349         self()->mLastSelectedFolder = v;
00350     }
00351 
00355     static
00356     QString lastSelectedFolder()
00357     {
00358       return self()->mLastSelectedFolder;
00359     }
00360 
00364     ItemString *lastSelectedFolderItem()
00365     {
00366       return mLastSelectedFolderItem;
00367     }
00368 
00372     static
00373     void setQuotaUnit( int v )
00374     {
00375       if (!self()->isImmutable( QString::fromLatin1( "QuotaUnit" ) ))
00376         self()->mQuotaUnit = v;
00377     }
00378 
00382     static
00383     int quotaUnit()
00384     {
00385       return self()->mQuotaUnit;
00386     }
00387 
00391     ItemEnum *quotaUnitItem()
00392     {
00393       return mQuotaUnitItem;
00394     }
00395 
00399     static
00400     void setDisregardUmask( bool v )
00401     {
00402       if (!self()->isImmutable( QString::fromLatin1( "disregardUmask" ) ))
00403         self()->mDisregardUmask = v;
00404     }
00405 
00409     static
00410     bool disregardUmask()
00411     {
00412       return self()->mDisregardUmask;
00413     }
00414 
00418     ItemBool *disregardUmaskItem()
00419     {
00420       return mDisregardUmaskItem;
00421     }
00422 
00426     static
00427     void setSystemTrayEnabled( bool v )
00428     {
00429       if (!self()->isImmutable( QString::fromLatin1( "SystemTrayEnabled" ) ))
00430         self()->mSystemTrayEnabled = v;
00431     }
00432 
00436     static
00437     bool systemTrayEnabled()
00438     {
00439       return self()->mSystemTrayEnabled;
00440     }
00441 
00445     ItemBool *systemTrayEnabledItem()
00446     {
00447       return mSystemTrayEnabledItem;
00448     }
00449 
00453     static
00454     void setSystemTrayPolicy( int v )
00455     {
00456       if (!self()->isImmutable( QString::fromLatin1( "SystemTrayPolicy" ) ))
00457         self()->mSystemTrayPolicy = v;
00458     }
00459 
00463     static
00464     int systemTrayPolicy()
00465     {
00466       return self()->mSystemTrayPolicy;
00467     }
00468 
00472     ItemEnum *systemTrayPolicyItem()
00473     {
00474       return mSystemTrayPolicyItem;
00475     }
00476 
00480     static
00481     void setVerboseNewMailNotification( bool v )
00482     {
00483       if (!self()->isImmutable( QString::fromLatin1( "VerboseNewMailNotification" ) ))
00484         self()->mVerboseNewMailNotification = v;
00485     }
00486 
00490     static
00491     bool verboseNewMailNotification()
00492     {
00493       return self()->mVerboseNewMailNotification;
00494     }
00495 
00499     ItemBool *verboseNewMailNotificationItem()
00500     {
00501       return mVerboseNewMailNotificationItem;
00502     }
00503 
00507     static
00508     void setExternalEditor( const QString & v )
00509     {
00510       if (!self()->isImmutable( QString::fromLatin1( "ExternalEditor" ) ))
00511         self()->mExternalEditor = v;
00512     }
00513 
00517     static
00518     QString externalEditor()
00519     {
00520       return self()->mExternalEditor;
00521     }
00522 
00526     ItemString *externalEditorItem()
00527     {
00528       return mExternalEditorItem;
00529     }
00530 
00534     static
00535     void setUseExternalEditor( bool v )
00536     {
00537       if (!self()->isImmutable( QString::fromLatin1( "UseExternalEditor" ) ))
00538         self()->mUseExternalEditor = v;
00539     }
00540 
00544     static
00545     bool useExternalEditor()
00546     {
00547       return self()->mUseExternalEditor;
00548     }
00549 
00553     ItemBool *useExternalEditorItem()
00554     {
00555       return mUseExternalEditorItem;
00556     }
00557 
00561     static
00562     void setCustHeaderCount( int v )
00563     {
00564       if (!self()->isImmutable( QString::fromLatin1( "CustHeaderCount" ) ))
00565         self()->mCustHeaderCount = v;
00566     }
00567 
00571     static
00572     int custHeaderCount()
00573     {
00574       return self()->mCustHeaderCount;
00575     }
00576 
00580     ItemInt *custHeaderCountItem()
00581     {
00582       return mCustHeaderCountItem;
00583     }
00584 
00588     static
00589     void setReplyCurrentLanguage( int v )
00590     {
00591       if (!self()->isImmutable( QString::fromLatin1( "ReplyCurrentLanguage" ) ))
00592         self()->mReplyCurrentLanguage = v;
00593     }
00594 
00598     static
00599     int replyCurrentLanguage()
00600     {
00601       return self()->mReplyCurrentLanguage;
00602     }
00603 
00607     ItemInt *replyCurrentLanguageItem()
00608     {
00609       return mReplyCurrentLanguageItem;
00610     }
00611 
00615     static
00616     void setReplyLanguagesCount( int v )
00617     {
00618       if (v < 0)
00619       {
00620         kdDebug() << "setReplyLanguagesCount: value " << v << " is less than the minimum value of 0" << endl;
00621         v = 0;
00622       }
00623       if (!self()->isImmutable( QString::fromLatin1( "ReplyLanguagesCount" ) ))
00624         self()->mReplyLanguagesCount = v;
00625     }
00626 
00630     static
00631     int replyLanguagesCount()
00632     {
00633       return self()->mReplyLanguagesCount;
00634     }
00635 
00639     ItemInt *replyLanguagesCountItem()
00640     {
00641       return mReplyLanguagesCountItem;
00642     }
00643 
00647     static
00648     void setFolderLoadingTimeout( int v )
00649     {
00650       if (!self()->isImmutable( QString::fromLatin1( "FolderLoadingTimeout" ) ))
00651         self()->mFolderLoadingTimeout = v;
00652     }
00653 
00657     static
00658     int folderLoadingTimeout()
00659     {
00660       return self()->mFolderLoadingTimeout;
00661     }
00662 
00666     ItemInt *folderLoadingTimeoutItem()
00667     {
00668       return mFolderLoadingTimeoutItem;
00669     }
00670 
00674     static
00675     void setGroupwareEnabled( bool v )
00676     {
00677       if (!self()->isImmutable( QString::fromLatin1( "GroupwareEnabled" ) ))
00678         self()->mGroupwareEnabled = v;
00679     }
00680 
00684     static
00685     bool groupwareEnabled()
00686     {
00687       return self()->mGroupwareEnabled;
00688     }
00689 
00693     ItemBool *groupwareEnabledItem()
00694     {
00695       return mGroupwareEnabledItem;
00696     }
00697 
00701     static
00702     void setLegacyMangleFromToHeaders( bool v )
00703     {
00704       if (!self()->isImmutable( QString::fromLatin1( "LegacyMangleFromToHeaders" ) ))
00705         self()->mLegacyMangleFromToHeaders = v;
00706     }
00707 
00711     static
00712     bool legacyMangleFromToHeaders()
00713     {
00714       return self()->mLegacyMangleFromToHeaders;
00715     }
00716 
00720     ItemBool *legacyMangleFromToHeadersItem()
00721     {
00722       return mLegacyMangleFromToHeadersItem;
00723     }
00724 
00728     static
00729     void setLegacyBodyInvites( bool v )
00730     {
00731       if (!self()->isImmutable( QString::fromLatin1( "LegacyBodyInvites" ) ))
00732         self()->mLegacyBodyInvites = v;
00733     }
00734 
00738     static
00739     bool legacyBodyInvites()
00740     {
00741       return self()->mLegacyBodyInvites;
00742     }
00743 
00747     ItemBool *legacyBodyInvitesItem()
00748     {
00749       return mLegacyBodyInvitesItem;
00750     }
00751 
00755     static
00756     void setExchangeCompatibleInvitations( bool v )
00757     {
00758       if (!self()->isImmutable( QString::fromLatin1( "ExchangeCompatibleInvitations" ) ))
00759         self()->mExchangeCompatibleInvitations = v;
00760     }
00761 
00765     static
00766     bool exchangeCompatibleInvitations()
00767     {
00768       return self()->mExchangeCompatibleInvitations;
00769     }
00770 
00774     ItemBool *exchangeCompatibleInvitationsItem()
00775     {
00776       return mExchangeCompatibleInvitationsItem;
00777     }
00778 
00782     static
00783     void setAutomaticSending( bool v )
00784     {
00785       if (!self()->isImmutable( QString::fromLatin1( "AutomaticSending" ) ))
00786         self()->mAutomaticSending = v;
00787     }
00788 
00792     static
00793     bool automaticSending()
00794     {
00795       return self()->mAutomaticSending;
00796     }
00797 
00801     ItemBool *automaticSendingItem()
00802     {
00803       return mAutomaticSendingItem;
00804     }
00805 
00809     static
00810     void setTheIMAPResourceEnabled( bool v )
00811     {
00812       if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceEnabled" ) ))
00813         self()->mTheIMAPResourceEnabled = v;
00814     }
00815 
00819     static
00820     bool theIMAPResourceEnabled()
00821     {
00822       return self()->mTheIMAPResourceEnabled;
00823     }
00824 
00828     ItemBool *theIMAPResourceEnabledItem()
00829     {
00830       return mTheIMAPResourceEnabledItem;
00831     }
00832 
00836     static
00837     void setHideGroupwareFolders( bool v )
00838     {
00839       if (!self()->isImmutable( QString::fromLatin1( "HideGroupwareFolders" ) ))
00840         self()->mHideGroupwareFolders = v;
00841     }
00842 
00846     static
00847     bool hideGroupwareFolders()
00848     {
00849       return self()->mHideGroupwareFolders;
00850     }
00851 
00855     ItemBool *hideGroupwareFoldersItem()
00856     {
00857       return mHideGroupwareFoldersItem;
00858     }
00859 
00863     static
00864     void setShowOnlyGroupwareFoldersForGroupwareAccount( bool v )
00865     {
00866       if (!self()->isImmutable( QString::fromLatin1( "ShowOnlyGroupwareFoldersForGroupwareAccount" ) ))
00867         self()->mShowOnlyGroupwareFoldersForGroupwareAccount = v;
00868     }
00869 
00873     static
00874     bool showOnlyGroupwareFoldersForGroupwareAccount()
00875     {
00876       return self()->mShowOnlyGroupwareFoldersForGroupwareAccount;
00877     }
00878 
00882     ItemBool *showOnlyGroupwareFoldersForGroupwareAccountItem()
00883     {
00884       return mShowOnlyGroupwareFoldersForGroupwareAccountItem;
00885     }
00886 
00890     static
00891     void setTheIMAPResourceStorageFormat( int v )
00892     {
00893       if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceStorageFormat" ) ))
00894         self()->mTheIMAPResourceStorageFormat = v;
00895     }
00896 
00900     static
00901     int theIMAPResourceStorageFormat()
00902     {
00903       return self()->mTheIMAPResourceStorageFormat;
00904     }
00905 
00909     ItemEnum *theIMAPResourceStorageFormatItem()
00910     {
00911       return mTheIMAPResourceStorageFormatItem;
00912     }
00913 
00917     static
00918     void setTheIMAPResourceFolderParent( const QString & v )
00919     {
00920       if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceFolderParent" ) ))
00921         self()->mTheIMAPResourceFolderParent = v;
00922     }
00923 
00927     static
00928     QString theIMAPResourceFolderParent()
00929     {
00930       return self()->mTheIMAPResourceFolderParent;
00931     }
00932 
00936     ItemString *theIMAPResourceFolderParentItem()
00937     {
00938       return mTheIMAPResourceFolderParentItem;
00939     }
00940 
00944     static
00945     void setTheIMAPResourceAccount( int v )
00946     {
00947       if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceAccount" ) ))
00948         self()->mTheIMAPResourceAccount = v;
00949     }
00950 
00954     static
00955     int theIMAPResourceAccount()
00956     {
00957       return self()->mTheIMAPResourceAccount;
00958     }
00959 
00963     ItemInt *theIMAPResourceAccountItem()
00964     {
00965       return mTheIMAPResourceAccountItem;
00966     }
00967 
00971     static
00972     void setTheIMAPResourceFolderLanguage( int v )
00973     {
00974       if (!self()->isImmutable( QString::fromLatin1( "TheIMAPResourceFolderLanguage" ) ))
00975         self()->mTheIMAPResourceFolderLanguage = v;
00976     }
00977 
00981     static
00982     int theIMAPResourceFolderLanguage()
00983     {
00984       return self()->mTheIMAPResourceFolderLanguage;
00985     }
00986 
00990     ItemInt *theIMAPResourceFolderLanguageItem()
00991     {
00992       return mTheIMAPResourceFolderLanguageItem;
00993     }
00994 
00998     static
00999     void setMsgDictSizeHint( int v )
01000     {
01001       if (!self()->isImmutable( QString::fromLatin1( "MsgDictSizeHint" ) ))
01002         self()->mMsgDictSizeHint = v;
01003     }
01004 
01008     static
01009     int msgDictSizeHint()
01010     {
01011       return self()->mMsgDictSizeHint;
01012     }
01013 
01017     ItemInt *msgDictSizeHintItem()
01018     {
01019       return mMsgDictSizeHintItem;
01020     }
01021 
01025     static
01026     void setPreviousNewFeaturesMD5( const QString & v )
01027     {
01028       if (!self()->isImmutable( QString::fromLatin1( "PreviousNewFeaturesMD5" ) ))
01029         self()->mPreviousNewFeaturesMD5 = v;
01030     }
01031 
01035     static
01036     QString previousNewFeaturesMD5()
01037     {
01038       return self()->mPreviousNewFeaturesMD5;
01039     }
01040 
01044     ItemString *previousNewFeaturesMD5Item()
01045     {
01046       return mPreviousNewFeaturesMD5Item;
01047     }
01048 
01052     static
01053     void setMaxConnectionsPerHost( int v )
01054     {
01055       if (v < 0)
01056       {
01057         kdDebug() << "setMaxConnectionsPerHost: value " << v << " is less than the minimum value of 0" << endl;
01058         v = 0;
01059       }
01060       if (!self()->isImmutable( QString::fromLatin1( "MaxConnectionsPerHost" ) ))
01061         self()->mMaxConnectionsPerHost = v;
01062     }
01063 
01067     static
01068     int maxConnectionsPerHost()
01069     {
01070       return self()->mMaxConnectionsPerHost;
01071     }
01072 
01076     ItemInt *maxConnectionsPerHostItem()
01077     {
01078       return mMaxConnectionsPerHostItem;
01079     }
01080 
01084     static
01085     void setQuickSearchActive( bool v )
01086     {
01087       if (!self()->isImmutable( QString::fromLatin1( "QuickSearchActive" ) ))
01088         self()->mQuickSearchActive = v;
01089     }
01090 
01094     static
01095     bool quickSearchActive()
01096     {
01097       return self()->mQuickSearchActive;
01098     }
01099 
01103     ItemBool *quickSearchActiveItem()
01104     {
01105       return mQuickSearchActiveItem;
01106     }
01107 
01111     static
01112     void setForceReplyCharset( bool v )
01113     {
01114       if (!self()->isImmutable( QString::fromLatin1( "ForceReplyCharset" ) ))
01115         self()->mForceReplyCharset = v;
01116     }
01117 
01121     static
01122     bool forceReplyCharset()
01123     {
01124       return self()->mForceReplyCharset;
01125     }
01126 
01130     ItemBool *forceReplyCharsetItem()
01131     {
01132       return mForceReplyCharsetItem;
01133     }
01134 
01138     static
01139     void setAutoTextSignature( const QString & v )
01140     {
01141       if (!self()->isImmutable( QString::fromLatin1( "AutoTextSignature" ) ))
01142         self()->mAutoTextSignature = v;
01143     }
01144 
01148     static
01149     QString autoTextSignature()
01150     {
01151       return self()->mAutoTextSignature;
01152     }
01153 
01157     ItemString *autoTextSignatureItem()
01158     {
01159       return mAutoTextSignatureItem;
01160     }
01161 
01165     static
01166     void setStickyIdentity( bool v )
01167     {
01168       if (!self()->isImmutable( QString::fromLatin1( "StickyIdentity" ) ))
01169         self()->mStickyIdentity = v;
01170     }
01171 
01175     static
01176     bool stickyIdentity()
01177     {
01178       return self()->mStickyIdentity;
01179     }
01180 
01184     ItemBool *stickyIdentityItem()
01185     {
01186       return mStickyIdentityItem;
01187     }
01188 
01192     static
01193     void setStickyFcc( bool v )
01194     {
01195       if (!self()->isImmutable( QString::fromLatin1( "StickyFcc" ) ))
01196         self()->mStickyFcc = v;
01197     }
01198 
01202     static
01203     bool stickyFcc()
01204     {
01205       return self()->mStickyFcc;
01206     }
01207 
01211     ItemBool *stickyFccItem()
01212     {
01213       return mStickyFccItem;
01214     }
01215 
01219     static
01220     void setStickyTransport( bool v )
01221     {
01222       if (!self()->isImmutable( QString::fromLatin1( "StickyTransport" ) ))
01223         self()->mStickyTransport = v;
01224     }
01225 
01229     static
01230     bool stickyTransport()
01231     {
01232       return self()->mStickyTransport;
01233     }
01234 
01238     ItemBool *stickyTransportItem()
01239     {
01240       return mStickyTransportItem;
01241     }
01242 
01246     static
01247     void setWordWrap( bool v )
01248     {
01249       if (!self()->isImmutable( QString::fromLatin1( "WordWrap" ) ))
01250         self()->mWordWrap = v;
01251     }
01252 
01256     static
01257     bool wordWrap()
01258     {
01259       return self()->mWordWrap;
01260     }
01261 
01265     ItemBool *wordWrapItem()
01266     {
01267       return mWordWrapItem;
01268     }
01269 
01273     static
01274     void setUseFixedFont( bool v )
01275     {
01276       if (!self()->isImmutable( QString::fromLatin1( "UseFixedFont" ) ))
01277         self()->mUseFixedFont = v;
01278     }
01279 
01283     static
01284     bool useFixedFont()
01285     {
01286       return self()->mUseFixedFont;
01287     }
01288 
01292     ItemBool *useFixedFontItem()
01293     {
01294       return mUseFixedFontItem;
01295     }
01296 
01300     static
01301     void setLineWrapWidth( int v )
01302     {
01303       if (v < 30)
01304       {
01305         kdDebug() << "setLineWrapWidth: value " << v << " is less than the minimum value of 30" << endl;
01306         v = 30;
01307       }
01308 
01309       if (v > 78)
01310       {
01311         kdDebug() << "setLineWrapWidth: value " << v << " is greater than the maximum value of 78" << endl;
01312         v = 78;
01313       }
01314 
01315       if (!self()->isImmutable( QString::fromLatin1( "LineWrapWidth" ) ))
01316         self()->mLineWrapWidth = v;
01317     }
01318 
01322     static
01323     int lineWrapWidth()
01324     {
01325       return self()->mLineWrapWidth;
01326     }
01327 
01331     ItemInt *lineWrapWidthItem()
01332     {
01333       return mLineWrapWidthItem;
01334     }
01335 
01339     static
01340     void setPreviousIdentity( uint v )
01341     {
01342       if (!self()->isImmutable( QString::fromLatin1( "PreviousIdentity" ) ))
01343         self()->mPreviousIdentity = v;
01344     }
01345 
01349     static
01350     uint previousIdentity()
01351     {
01352       return self()->mPreviousIdentity;
01353     }
01354 
01358     ItemUInt *previousIdentityItem()
01359     {
01360       return mPreviousIdentityItem;
01361     }
01362 
01366     static
01367     void setPreviousFcc( const QString & v )
01368     {
01369       if (!self()->isImmutable( QString::fromLatin1( "PreviousFcc" ) ))
01370         self()->mPreviousFcc = v;
01371     }
01372 
01376     static
01377     QString previousFcc()
01378     {
01379       return self()->mPreviousFcc;
01380     }
01381 
01385     ItemString *previousFccItem()
01386     {
01387       return mPreviousFccItem;
01388     }
01389 
01393     static
01394     void setTransportHistory( const QStringList & v )
01395     {
01396       if (!self()->isImmutable( QString::fromLatin1( "TransportHistory" ) ))
01397         self()->mTransportHistory = v;
01398     }
01399 
01403     static
01404     QStringList transportHistory()
01405     {
01406       return self()->mTransportHistory;
01407     }
01408 
01412     ItemStringList *transportHistoryItem()
01413     {
01414       return mTransportHistoryItem;
01415     }
01416 
01420     static
01421     void setCurrentTransport( const QString & v )
01422     {
01423       if (!self()->isImmutable( QString::fromLatin1( "CurrentTransport" ) ))
01424         self()->mCurrentTransport = v;
01425     }
01426 
01430     static
01431     QString currentTransport()
01432     {
01433       return self()->mCurrentTransport;
01434     }
01435 
01439     ItemString *currentTransportItem()
01440     {
01441       return mCurrentTransportItem;
01442     }
01443 
01447     static
01448     void setDefaultTransport( const QString & v )
01449     {
01450       if (!self()->isImmutable( QString::fromLatin1( "DefaultTransport" ) ))
01451         self()->mDefaultTransport = v;
01452     }
01453 
01457     static
01458     QString defaultTransport()
01459     {
01460       return self()->mDefaultTransport;
01461     }
01462 
01466     ItemString *defaultTransportItem()
01467     {
01468       return mDefaultTransportItem;
01469     }
01470 
01474     static
01475     void setMaxTransportEntries( int v )
01476     {
01477       if (!self()->isImmutable( QString::fromLatin1( "MaxTransportEntries" ) ))
01478         self()->mMaxTransportEntries = v;
01479     }
01480 
01484     static
01485     int maxTransportEntries()
01486     {
01487       return self()->mMaxTransportEntries;
01488     }
01489 
01493     ItemInt *maxTransportEntriesItem()
01494     {
01495       return mMaxTransportEntriesItem;
01496     }
01497 
01501     static
01502     void setOutlookCompatibleAttachments( bool v )
01503     {
01504       if (!self()->isImmutable( QString::fromLatin1( "OutlookCompatibleAttachments" ) ))
01505         self()->mOutlookCompatibleAttachments = v;
01506     }
01507 
01511     static
01512     bool outlookCompatibleAttachments()
01513     {
01514       return self()->mOutlookCompatibleAttachments;
01515     }
01516 
01520     ItemBool *outlookCompatibleAttachmentsItem()
01521     {
01522       return mOutlookCompatibleAttachmentsItem;
01523     }
01524 
01528     static
01529     void setUseHtmlMarkup( bool v )
01530     {
01531       if (!self()->isImmutable( QString::fromLatin1( "UseHtmlMarkup" ) ))
01532         self()->mUseHtmlMarkup = v;
01533     }
01534 
01538     static
01539     bool useHtmlMarkup()
01540     {
01541       return self()->mUseHtmlMarkup;
01542     }
01543 
01547     ItemBool *useHtmlMarkupItem()
01548     {
01549       return mUseHtmlMarkupItem;
01550     }
01551 
01555     static
01556     void setPgpAutoSign( bool v )
01557     {
01558       if (!self()->isImmutable( QString::fromLatin1( "PgpAutoSign" ) ))
01559         self()->mPgpAutoSign = v;
01560     }
01561 
01565     static
01566     bool pgpAutoSign()
01567     {
01568       return self()->mPgpAutoSign;
01569     }
01570 
01574     ItemBool *pgpAutoSignItem()
01575     {
01576       return mPgpAutoSignItem;
01577     }
01578 
01582     static
01583     void setPgpAutoEncrypt( bool v )
01584     {
01585       if (!self()->isImmutable( QString::fromLatin1( "PgpAutoEncrypt" ) ))
01586         self()->mPgpAutoEncrypt = v;
01587     }
01588 
01592     static
01593     bool pgpAutoEncrypt()
01594     {
01595       return self()->mPgpAutoEncrypt;
01596     }
01597 
01601     ItemBool *pgpAutoEncryptItem()
01602     {
01603       return mPgpAutoEncryptItem;
01604     }
01605 
01609     static
01610     void setNeverEncryptDrafts( bool v )
01611     {
01612       if (!self()->isImmutable( QString::fromLatin1( "NeverEncryptDrafts" ) ))
01613         self()->mNeverEncryptDrafts = v;
01614     }
01615 
01619     static
01620     bool neverEncryptDrafts()
01621     {
01622       return self()->mNeverEncryptDrafts;
01623     }
01624 
01628     ItemBool *neverEncryptDraftsItem()
01629     {
01630       return mNeverEncryptDraftsItem;
01631     }
01632 
01636     static
01637     void setChiasmusKey( const QString & v )
01638     {
01639       if (!self()->isImmutable( QString::fromLatin1( "ChiasmusKey" ) ))
01640         self()->mChiasmusKey = v;
01641     }
01642 
01646     static
01647     QString chiasmusKey()
01648     {
01649       return self()->mChiasmusKey;
01650     }
01651 
01655     ItemString *chiasmusKeyItem()
01656     {
01657       return mChiasmusKeyItem;
01658     }
01659 
01663     static
01664     void setChiasmusOptions( const QString & v )
01665     {
01666       if (!self()->isImmutable( QString::fromLatin1( "ChiasmusOptions" ) ))
01667         self()->mChiasmusOptions = v;
01668     }
01669 
01673     static
01674     QString chiasmusOptions()
01675     {
01676       return self()->mChiasmusOptions;
01677     }
01678 
01682     ItemString *chiasmusOptionsItem()
01683     {
01684       return mChiasmusOptionsItem;
01685     }
01686 
01690     static
01691     void setConfirmBeforeSend( bool v )
01692     {
01693       if (!self()->isImmutable( QString::fromLatin1( "ConfirmBeforeSend" ) ))
01694         self()->mConfirmBeforeSend = v;
01695     }
01696 
01700     static
01701     bool confirmBeforeSend()
01702     {
01703       return self()->mConfirmBeforeSend;
01704     }
01705 
01709     ItemBool *confirmBeforeSendItem()
01710     {
01711       return mConfirmBeforeSendItem;
01712     }
01713 
01717     static
01718     void setRequestMDN( bool v )
01719     {
01720       if (!self()->isImmutable( QString::fromLatin1( "RequestMDN" ) ))
01721         self()->mRequestMDN = v;
01722     }
01723 
01727     static
01728     bool requestMDN()
01729     {
01730       return self()->mRequestMDN;
01731     }
01732 
01736     ItemBool *requestMDNItem()
01737     {
01738       return mRequestMDNItem;
01739     }
01740 
01744     static
01745     void setShowRecentAddressesInComposer( bool v )
01746     {
01747       if (!self()->isImmutable( QString::fromLatin1( "ShowRecentAddressesInComposer" ) ))
01748         self()->mShowRecentAddressesInComposer = v;
01749     }
01750 
01754     static
01755     bool showRecentAddressesInComposer()
01756     {
01757       return self()->mShowRecentAddressesInComposer;
01758     }
01759 
01763     ItemBool *showRecentAddressesInComposerItem()
01764     {
01765       return mShowRecentAddressesInComposerItem;
01766     }
01767 
01771     static
01772     void setHeaders( int v )
01773     {
01774       if (!self()->isImmutable( QString::fromLatin1( "Headers" ) ))
01775         self()->mHeaders = v;
01776     }
01777 
01781     static
01782     int headers()
01783     {
01784       return self()->mHeaders;
01785     }
01786 
01790     ItemInt *headersItem()
01791     {
01792       return mHeadersItem;
01793     }
01794 
01798     static
01799     void setCompletionMode( int v )
01800     {
01801       if (!self()->isImmutable( QString::fromLatin1( "CompletionMode" ) ))
01802         self()->mCompletionMode = v;
01803     }
01804 
01808     static
01809     int completionMode()
01810     {
01811       return self()->mCompletionMode;
01812     }
01813 
01817     ItemInt *completionModeItem()
01818     {
01819       return mCompletionModeItem;
01820     }
01821 
01825     static
01826     void setAutoSpellChecking( bool v )
01827     {
01828       if (!self()->isImmutable( QString::fromLatin1( "AutoSpellChecking" ) ))
01829         self()->mAutoSpellChecking = v;
01830     }
01831 
01835     static
01836     bool autoSpellChecking()
01837     {
01838       return self()->mAutoSpellChecking;
01839     }
01840 
01844     ItemBool *autoSpellCheckingItem()
01845     {
01846       return mAutoSpellCheckingItem;
01847     }
01848 
01852     static
01853     void setShowForgottenAttachmentWarning( bool v )
01854     {
01855       if (!self()->isImmutable( QString::fromLatin1( "ShowForgottenAttachmentWarning" ) ))
01856         self()->mShowForgottenAttachmentWarning = v;
01857     }
01858 
01862     static
01863     bool showForgottenAttachmentWarning()
01864     {
01865       return self()->mShowForgottenAttachmentWarning;
01866     }
01867 
01871     ItemBool *showForgottenAttachmentWarningItem()
01872     {
01873       return mShowForgottenAttachmentWarningItem;
01874     }
01875 
01879     static
01880     void setAttachmentKeywords( const QStringList & v )
01881     {
01882       if (!self()->isImmutable( QString::fromLatin1( "AttachmentKeywords" ) ))
01883         self()->mAttachmentKeywords = v;
01884     }
01885 
01889     static
01890     QStringList attachmentKeywords()
01891     {
01892       return self()->mAttachmentKeywords;
01893     }
01894 
01898     ItemStringList *attachmentKeywordsItem()
01899     {
01900       return mAttachmentKeywordsItem;
01901     }
01902 
01906     static
01907     void setShowMessagePartDialogOnAttach( bool v )
01908     {
01909       if (!self()->isImmutable( QString::fromLatin1( "ShowMessagePartDialogOnAttach" ) ))
01910         self()->mShowMessagePartDialogOnAttach = v;
01911     }
01912 
01916     static
01917     bool showMessagePartDialogOnAttach()
01918     {
01919       return self()->mShowMessagePartDialogOnAttach;
01920     }
01921 
01925     ItemBool *showMessagePartDialogOnAttachItem()
01926     {
01927       return mShowMessagePartDialogOnAttachItem;
01928     }
01929 
01933     static
01934     void setAutosaveInterval( int v )
01935     {
01936       if (!self()->isImmutable( QString::fromLatin1( "AutosaveInterval" ) ))
01937         self()->mAutosaveInterval = v;
01938     }
01939 
01943     static
01944     int autosaveInterval()
01945     {
01946       return self()->mAutosaveInterval;
01947     }
01948 
01952     ItemInt *autosaveIntervalItem()
01953     {
01954       return mAutosaveIntervalItem;
01955     }
01956 
01960     static
01961     void setReplyPrefixes( const QStringList & v )
01962     {
01963       if (!self()->isImmutable( QString::fromLatin1( "ReplyPrefixes" ) ))
01964         self()->mReplyPrefixes = v;
01965     }
01966 
01970     static
01971     QStringList replyPrefixes()
01972     {
01973       return self()->mReplyPrefixes;
01974     }
01975 
01979     ItemStringList *replyPrefixesItem()
01980     {
01981       return mReplyPrefixesItem;
01982     }
01983 
01987     static
01988     void setReplaceReplyPrefix( bool v )
01989     {
01990       if (!self()->isImmutable( QString::fromLatin1( "ReplaceReplyPrefix" ) ))
01991         self()->mReplaceReplyPrefix = v;
01992     }
01993 
01997     static
01998     bool replaceReplyPrefix()
01999     {
02000       return self()->mReplaceReplyPrefix;
02001     }
02002 
02006     ItemBool *replaceReplyPrefixItem()
02007     {
02008       return mReplaceReplyPrefixItem;
02009     }
02010 
02014     static
02015     void setForwardPrefixes( const QStringList & v )
02016     {
02017       if (!self()->isImmutable( QString::fromLatin1( "ForwardPrefixes" ) ))
02018         self()->mForwardPrefixes = v;
02019     }
02020 
02024     static
02025     QStringList forwardPrefixes()
02026     {
02027       return self()->mForwardPrefixes;
02028     }
02029 
02033     ItemStringList *forwardPrefixesItem()
02034     {
02035       return mForwardPrefixesItem;
02036     }
02037 
02041     static
02042     void setReplaceForwardPrefix( bool v )
02043     {
02044       if (!self()->isImmutable( QString::fromLatin1( "ReplaceForwardPrefix" ) ))
02045         self()->mReplaceForwardPrefix = v;
02046     }
02047 
02051     static
02052     bool replaceForwardPrefix()
02053     {
02054       return self()->mReplaceForwardPrefix;
02055     }
02056 
02060     ItemBool *replaceForwardPrefixItem()
02061     {
02062       return mReplaceForwardPrefixItem;
02063     }
02064 
02068     static
02069     void setSmartQuote( bool v )
02070     {
02071       if (!self()->isImmutable( QString::fromLatin1( "SmartQuote" ) ))
02072         self()->mSmartQuote = v;
02073     }
02074 
02078     static
02079     bool smartQuote()
02080     {
02081       return self()->mSmartQuote;
02082     }
02083 
02087     ItemBool *smartQuoteItem()
02088     {
02089       return mSmartQuoteItem;
02090     }
02091 
02095     static
02096     void setAddresseeSelectorType( int v )
02097     {
02098       if (!self()->isImmutable( QString::fromLatin1( "AddresseeSelectorType" ) ))
02099         self()->mAddresseeSelectorType = v;
02100     }
02101 
02105     static
02106     int addresseeSelectorType()
02107     {
02108       return self()->mAddresseeSelectorType;
02109     }
02110 
02114     ItemEnum *addresseeSelectorTypeItem()
02115     {
02116       return mAddresseeSelectorTypeItem;
02117     }
02118 
02122     static
02123     void setRecipientsEditorType( int v )
02124     {
02125       if (!self()->isImmutable( QString::fromLatin1( "RecipientsEditorType" ) ))
02126         self()->mRecipientsEditorType = v;
02127     }
02128 
02132     static
02133     int recipientsEditorType()
02134     {
02135       return self()->mRecipientsEditorType;
02136     }
02137 
02141     ItemEnum *recipientsEditorTypeItem()
02142     {
02143       return mRecipientsEditorTypeItem;
02144     }
02145 
02149     static
02150     void setSecondRecipientTypeDefault( int v )
02151     {
02152       if (!self()->isImmutable( QString::fromLatin1( "SecondRecipientTypeDefault" ) ))
02153         self()->mSecondRecipientTypeDefault = v;
02154     }
02155 
02159     static
02160     int secondRecipientTypeDefault()
02161     {
02162       return self()->mSecondRecipientTypeDefault;
02163     }
02164 
02168     ItemEnum *secondRecipientTypeDefaultItem()
02169     {
02170       return mSecondRecipientTypeDefaultItem;
02171     }
02172 
02176     static
02177     void setMaximumRecipients( int v )
02178     {
02179       if (!self()->isImmutable( QString::fromLatin1( "MaximumRecipients" ) ))
02180         self()->mMaximumRecipients = v;
02181     }
02182 
02186     static
02187     int maximumRecipients()
02188     {
02189       return self()->mMaximumRecipients;
02190     }
02191 
02195     ItemInt *maximumRecipientsItem()
02196     {
02197       return mMaximumRecipientsItem;
02198     }
02199 
02203     static
02204     void setCustomTemplates( const QStringList & v )
02205     {
02206       if (!self()->isImmutable( QString::fromLatin1( "CustomTemplates" ) ))
02207         self()->mCustomTemplates = v;
02208     }
02209 
02213     static
02214     QStringList customTemplates()
02215     {
02216       return self()->mCustomTemplates;
02217     }
02218 
02222     ItemStringList *customTemplatesItem()
02223     {
02224       return mCustomTemplatesItem;
02225     }
02226 
02230     static
02231     void setUseDefaultFonts( bool v )
02232     {
02233       if (!self()->isImmutable( QString::fromLatin1( "UseDefaultFonts" ) ))
02234         self()->mUseDefaultFonts = v;
02235     }
02236 
02240     static
02241     bool useDefaultFonts()
02242     {
02243       return self()->mUseDefaultFonts;
02244     }
02245 
02249     ItemBool *useDefaultFontsItem()
02250     {
02251       return mUseDefaultFontsItem;
02252     }
02253 
02257     static
02258     void setComposerFont( const QFont & v )
02259     {
02260       if (!self()->isImmutable( QString::fromLatin1( "ComposerFont" ) ))
02261         self()->mComposerFont = v;
02262     }
02263 
02267     static
02268     QFont composerFont()
02269     {
02270       return self()->mComposerFont;
02271     }
02272 
02276     ItemFont *composerFontItem()
02277     {
02278       return mComposerFontItem;
02279     }
02280 
02284     static
02285     void setFixedFont( const QFont & v )
02286     {
02287       if (!self()->isImmutable( QString::fromLatin1( "FixedFont" ) ))
02288         self()->mFixedFont = v;
02289     }
02290 
02294     static
02295     QFont fixedFont()
02296     {
02297       return self()->mFixedFont;
02298     }
02299 
02303     ItemFont *fixedFontItem()
02304     {
02305       return mFixedFontItem;
02306     }
02307 
02311     static
02312     void setComposerSize( const QSize & v )
02313     {
02314       if (!self()->isImmutable( QString::fromLatin1( "ComposerSize" ) ))
02315         self()->mComposerSize = v;
02316     }
02317 
02321     static
02322     QSize composerSize()
02323     {
02324       return self()->mComposerSize;
02325     }
02326 
02330     ItemSize *composerSizeItem()
02331     {
02332       return mComposerSizeItem;
02333     }
02334 
02338     static
02339     void setUseDefaultColors( bool v )
02340     {
02341       if (!self()->isImmutable( QString::fromLatin1( "UseDefaultColors" ) ))
02342         self()->mUseDefaultColors = v;
02343     }
02344 
02348     static
02349     bool useDefaultColors()
02350     {
02351       return self()->mUseDefaultColors;
02352     }
02353 
02357     ItemBool *useDefaultColorsItem()
02358     {
02359       return mUseDefaultColorsItem;
02360     }
02361 
02365     static
02366     void setForegroundColor( const QColor & v )
02367     {
02368       if (!self()->isImmutable( QString::fromLatin1( "ForegroundColor" ) ))
02369         self()->mForegroundColor = v;
02370     }
02371 
02375     static
02376     QColor foregroundColor()
02377     {
02378       return self()->mForegroundColor;
02379     }
02380 
02384     ItemColor *foregroundColorItem()
02385     {
02386       return mForegroundColorItem;
02387     }
02388 
02392     static
02393     void setBackgroundColor( const QColor & v )
02394     {
02395       if (!self()->isImmutable( QString::fromLatin1( "BackgroundColor" ) ))
02396         self()->mBackgroundColor = v;
02397     }
02398 
02402     static
02403     QColor backgroundColor()
02404     {
02405       return self()->mBackgroundColor;
02406     }
02407 
02411     ItemColor *backgroundColorItem()
02412     {
02413       return mBackgroundColorItem;
02414     }
02415 
02419     static
02420     void setFallbackCharacterEncoding( const QString & v )
02421     {
02422       if (!self()->isImmutable( QString::fromLatin1( "FallbackCharacterEncoding" ) ))
02423         self()->mFallbackCharacterEncoding = v;
02424     }
02425 
02429     static
02430     QString fallbackCharacterEncoding()
02431     {
02432       return self()->mFallbackCharacterEncoding;
02433     }
02434 
02438     ItemString *fallbackCharacterEncodingItem()
02439     {
02440       return mFallbackCharacterEncodingItem;
02441     }
02442 
02446     static
02447     void setOverrideCharacterEncoding( const QString & v )
02448     {
02449       if (!self()->isImmutable( QString::fromLatin1( "OverrideCharacterEncoding" ) ))
02450         self()->mOverrideCharacterEncoding = v;
02451     }
02452 
02456     static
02457     QString overrideCharacterEncoding()
02458     {
02459       return self()->mOverrideCharacterEncoding;
02460     }
02461 
02465     ItemString *overrideCharacterEncodingItem()
02466     {
02467       return mOverrideCharacterEncodingItem;
02468     }
02469 
02473     static
02474     void setShowEmoticons( bool v )
02475     {
02476       if (!self()->isImmutable( QString::fromLatin1( "ShowEmoticons" ) ))
02477         self()->mShowEmoticons = v;
02478     }
02479 
02483     static
02484     bool showEmoticons()
02485     {
02486       return self()->mShowEmoticons;
02487     }
02488 
02492     ItemBool *showEmoticonsItem()
02493     {
02494       return mShowEmoticonsItem;
02495     }
02496 
02500     static
02501     void setShowExpandQuotesMark( bool v )
02502     {
02503       if (!self()->isImmutable( QString::fromLatin1( "ShowExpandQuotesMark" ) ))
02504         self()->mShowExpandQuotesMark = v;
02505     }
02506 
02510     static
02511     bool showExpandQuotesMark()
02512     {
02513       return self()->mShowExpandQuotesMark;
02514     }
02515 
02519     ItemBool *showExpandQuotesMarkItem()
02520     {
02521       return mShowExpandQuotesMarkItem;
02522     }
02523 
02527     static
02528     void setCollapseQuoteLevelSpin( int v )
02529     {
02530       if (v < 0)
02531       {
02532         kdDebug() << "setCollapseQuoteLevelSpin: value " << v << " is less than the minimum value of 0" << endl;
02533         v = 0;
02534       }
02535 
02536       if (v > 10)
02537       {
02538         kdDebug() << "setCollapseQuoteLevelSpin: value " << v << " is greater than the maximum value of 10" << endl;
02539         v = 10;
02540       }
02541 
02542       if (!self()->isImmutable( QString::fromLatin1( "CollapseQuoteLevelSpin" ) ))
02543         self()->mCollapseQuoteLevelSpin = v;
02544     }
02545 
02549     static
02550     int collapseQuoteLevelSpin()
02551     {
02552       return self()->mCollapseQuoteLevelSpin;
02553     }
02554 
02558     ItemInt *collapseQuoteLevelSpinItem()
02559     {
02560       return mCollapseQuoteLevelSpinItem;
02561     }
02562 
02566     static
02567     void setShrinkQuotes( bool v )
02568     {
02569       if (!self()->isImmutable( QString::fromLatin1( "ShrinkQuotes" ) ))
02570         self()->mShrinkQuotes = v;
02571     }
02572 
02576     static
02577     bool shrinkQuotes()
02578     {
02579       return self()->mShrinkQuotes;
02580     }
02581 
02585     ItemBool *shrinkQuotesItem()
02586     {
02587       return mShrinkQuotesItem;
02588     }
02589 
02593     static
02594     void setChiasmusDecryptionKey( const QString & v )
02595     {
02596       if (!self()->isImmutable( QString::fromLatin1( "ChiasmusDecryptionKey" ) ))
02597         self()->mChiasmusDecryptionKey = v;
02598     }
02599 
02603     static
02604     QString chiasmusDecryptionKey()
02605     {
02606       return self()->mChiasmusDecryptionKey;
02607     }
02608 
02612     ItemString *chiasmusDecryptionKeyItem()
02613     {
02614       return mChiasmusDecryptionKeyItem;
02615     }
02616 
02620     static
02621     void setChiasmusDecryptionOptions( const QString & v )
02622     {
02623       if (!self()->isImmutable( QString::fromLatin1( "ChiasmusDecryptionOptions" ) ))
02624         self()->mChiasmusDecryptionOptions = v;
02625     }
02626 
02630     static
02631     QString chiasmusDecryptionOptions()
02632     {
02633       return self()->mChiasmusDecryptionOptions;
02634     }
02635 
02639     ItemString *chiasmusDecryptionOptionsItem()
02640     {
02641       return mChiasmusDecryptionOptionsItem;
02642     }
02643 
02647     static
02648     void setShowUserAgent( bool v )
02649     {
02650       if (!self()->isImmutable( QString::fromLatin1( "ShowUserAgent" ) ))
02651         self()->mShowUserAgent = v;
02652     }
02653 
02657     static
02658     bool showUserAgent()
02659     {
02660       return self()->mShowUserAgent;
02661     }
02662 
02666     ItemBool *showUserAgentItem()
02667     {
02668       return mShowUserAgentItem;
02669     }
02670 
02674     static
02675     void setAutomaticDecrypt( bool v )
02676     {
02677       if (!self()->isImmutable( QString::fromLatin1( "automaticDecrypt" ) ))
02678         self()->mAutomaticDecrypt = v;
02679     }
02680 
02684     static
02685     bool automaticDecrypt()
02686     {
02687       return self()->mAutomaticDecrypt;
02688     }
02689 
02693     ItemBool *automaticDecryptItem()
02694     {
02695       return mAutomaticDecryptItem;
02696     }
02697 
02701     static
02702     void setSendMDNsWithEmptySender( bool v )
02703     {
02704       if (!self()->isImmutable( QString::fromLatin1( "SendMDNsWithEmptySender" ) ))
02705         self()->mSendMDNsWithEmptySender = v;
02706     }
02707 
02711     static
02712     bool sendMDNsWithEmptySender()
02713     {
02714       return self()->mSendMDNsWithEmptySender;
02715     }
02716 
02720     ItemBool *sendMDNsWithEmptySenderItem()
02721     {
02722       return mSendMDNsWithEmptySenderItem;
02723     }
02724 
02728     static
02729     void setPhrasesConverted( bool v )
02730     {
02731       if (!self()->isImmutable( QString::fromLatin1( "PhrasesConverted" ) ))
02732         self()->mPhrasesConverted = v;
02733     }
02734 
02738     static
02739     bool phrasesConverted()
02740     {
02741       return self()->mPhrasesConverted;
02742     }
02743 
02747     ItemBool *phrasesConvertedItem()
02748     {
02749       return mPhrasesConvertedItem;
02750     }
02751 
02755     static
02756     void setTemplateNewMessage( const QString & v )
02757     {
02758       if (!self()->isImmutable( QString::fromLatin1( "TemplateNewMessage" ) ))
02759         self()->mTemplateNewMessage = v;
02760     }
02761 
02765     static
02766     QString templateNewMessage()
02767     {
02768       return self()->mTemplateNewMessage;
02769     }
02770 
02774     ItemString *templateNewMessageItem()
02775     {
02776       return mTemplateNewMessageItem;
02777     }
02778 
02782     static
02783     void setTemplateReply( const QString & v )
02784     {
02785       if (!self()->isImmutable( QString::fromLatin1( "TemplateReply" ) ))
02786         self()->mTemplateReply = v;
02787     }
02788 
02792     static
02793     QString templateReply()
02794     {
02795       return self()->mTemplateReply;
02796     }
02797 
02801     ItemString *templateReplyItem()
02802     {
02803       return mTemplateReplyItem;
02804     }
02805 
02809     static
02810     void setTemplateReplyAll( const QString & v )
02811     {
02812       if (!self()->isImmutable( QString::fromLatin1( "TemplateReplyAll" ) ))
02813         self()->mTemplateReplyAll = v;
02814     }
02815 
02819     static
02820     QString templateReplyAll()
02821     {
02822       return self()->mTemplateReplyAll;
02823     }
02824 
02828     ItemString *templateReplyAllItem()
02829     {
02830       return mTemplateReplyAllItem;
02831     }
02832 
02836     static
02837     void setTemplateForward( const QString & v )
02838     {
02839       if (!self()->isImmutable( QString::fromLatin1( "TemplateForward" ) ))
02840         self()->mTemplateForward = v;
02841     }
02842 
02846     static
02847     QString templateForward()
02848     {
02849       return self()->mTemplateForward;
02850     }
02851 
02855     ItemString *templateForwardItem()
02856     {
02857       return mTemplateForwardItem;
02858     }
02859 
02863     static
02864     void setQuoteString( const QString & v )
02865     {
02866       if (!self()->isImmutable( QString::fromLatin1( "QuoteString" ) ))
02867         self()->mQuoteString = v;
02868     }
02869 
02873     static
02874     QString quoteString()
02875     {
02876       return self()->mQuoteString;
02877     }
02878 
02882     ItemString *quoteStringItem()
02883     {
02884       return mQuoteStringItem;
02885     }
02886 
02887     static
02888     void writeConfig()
02889     {
02890       static_cast<KConfigSkeleton*>(self())->writeConfig();
02891     }
02892   protected:
02893     GlobalSettingsBase();
02894     static GlobalSettingsBase *mSelf;
02895 
02896 
02897     // Behaviour
02898     bool mDelayedMarkAsRead;
02899     uint mDelayedMarkTime;
02900     int mActionEnterFolder;
02901     int mNetworkState;
02902     int mLoopOnGotoUnread;
02903     bool mShowPopupAfterDnD;
02904     bool mExcludeImportantMailFromExpiry;
02905     int mSendOnCheck;
02906     bool mAutoLostFoundMove;
02907 
02908     // ConfigurationDialogRestrictions
02909     int mMinimumCheckInterval;
02910 
02911     // FolderSelectionDialog
02912     QString mLastSelectedFolder;
02913     int mQuotaUnit;
02914 
02915     // General
02916     bool mDisregardUmask;
02917     bool mSystemTrayEnabled;
02918     int mSystemTrayPolicy;
02919     bool mVerboseNewMailNotification;
02920     QString mExternalEditor;
02921     bool mUseExternalEditor;
02922     int mCustHeaderCount;
02923     int mReplyCurrentLanguage;
02924     int mReplyLanguagesCount;
02925     int mFolderLoadingTimeout;
02926 
02927     // Groupware
02928     bool mGroupwareEnabled;
02929     bool mLegacyMangleFromToHeaders;
02930     bool mLegacyBodyInvites;
02931     bool mExchangeCompatibleInvitations;
02932     bool mAutomaticSending;
02933 
02934     // IMAP Resource
02935     bool mTheIMAPResourceEnabled;
02936     bool mHideGroupwareFolders;
02937     bool mShowOnlyGroupwareFoldersForGroupwareAccount;
02938     int mTheIMAPResourceStorageFormat;
02939     QString mTheIMAPResourceFolderParent;
02940     int mTheIMAPResourceAccount;
02941     int mTheIMAPResourceFolderLanguage;
02942 
02943     // Internal
02944     int mMsgDictSizeHint;
02945     QString mPreviousNewFeaturesMD5;
02946 
02947     // Network
02948     int mMaxConnectionsPerHost;
02949 
02950     // UserInterface
02951     bool mQuickSearchActive;
02952 
02953     // Composer
02954     bool mForceReplyCharset;
02955     QString mAutoTextSignature;
02956     bool mStickyIdentity;
02957     bool mStickyFcc;
02958     bool mStickyTransport;
02959     bool mWordWrap;
02960     bool mUseFixedFont;
02961     int mLineWrapWidth;
02962     uint mPreviousIdentity;
02963     QString mPreviousFcc;
02964     QStringList mTransportHistory;
02965     QString mCurrentTransport;
02966     QString mDefaultTransport;
02967     int mMaxTransportEntries;
02968     bool mOutlookCompatibleAttachments;
02969     bool mUseHtmlMarkup;
02970     bool mPgpAutoSign;
02971     bool mPgpAutoEncrypt;
02972     bool mNeverEncryptDrafts;
02973     QString mChiasmusKey;
02974     QString mChiasmusOptions;
02975     bool mConfirmBeforeSend;
02976     bool mRequestMDN;
02977     bool mShowRecentAddressesInComposer;
02978     int mHeaders;
02979     int mCompletionMode;
02980     bool mAutoSpellChecking;
02981     bool mShowForgottenAttachmentWarning;
02982     QStringList mAttachmentKeywords;
02983     bool mShowMessagePartDialogOnAttach;
02984     int mAutosaveInterval;
02985     QStringList mReplyPrefixes;
02986     bool mReplaceReplyPrefix;
02987     QStringList mForwardPrefixes;
02988     bool mReplaceForwardPrefix;
02989     bool mSmartQuote;
02990     int mAddresseeSelectorType;
02991     int mRecipientsEditorType;
02992     int mSecondRecipientTypeDefault;
02993     int mMaximumRecipients;
02994     QStringList mCustomTemplates;
02995 
02996     // Fonts
02997     bool mUseDefaultFonts;
02998     QFont mComposerFont;
02999     QFont mFixedFont;
03000 
03001     // Geometry
03002     QSize mComposerSize;
03003 
03004     // Reader
03005     bool mUseDefaultColors;
03006     QColor mForegroundColor;
03007     QColor mBackgroundColor;
03008     QString mFallbackCharacterEncoding;
03009     QString mOverrideCharacterEncoding;
03010     bool mShowEmoticons;
03011     bool mShowExpandQuotesMark;
03012     int mCollapseQuoteLevelSpin;
03013     bool mShrinkQuotes;
03014     QString mChiasmusDecryptionKey;
03015     QString mChiasmusDecryptionOptions;
03016     bool mShowUserAgent;
03017 
03018     // TextIndex
03019     bool mAutomaticDecrypt;
03020 
03021     // MDN
03022     bool mSendMDNsWithEmptySender;
03023 
03024     // GlobalTemplates
03025     bool mPhrasesConverted;
03026     QString mTemplateNewMessage;
03027     QString mTemplateReply;
03028     QString mTemplateReplyAll;
03029     QString mTemplateForward;
03030     QString mQuoteString;
03031 
03032   private:
03033     ItemBool *mDelayedMarkAsReadItem;
03034     ItemUInt *mDelayedMarkTimeItem;
03035     ItemEnum *mActionEnterFolderItem;
03036     ItemEnum *mNetworkStateItem;
03037     ItemEnum *mLoopOnGotoUnreadItem;
03038     ItemBool *mShowPopupAfterDnDItem;
03039     ItemBool *mExcludeImportantMailFromExpiryItem;
03040     ItemEnum *mSendOnCheckItem;
03041     ItemBool *mAutoLostFoundMoveItem;
03042     ItemInt *mMinimumCheckIntervalItem;
03043     ItemString *mLastSelectedFolderItem;
03044     ItemEnum *mQuotaUnitItem;
03045     ItemBool *mDisregardUmaskItem;
03046     ItemBool *mSystemTrayEnabledItem;
03047     ItemEnum *mSystemTrayPolicyItem;
03048     ItemBool *mVerboseNewMailNotificationItem;
03049     ItemString *mExternalEditorItem;
03050     ItemBool *mUseExternalEditorItem;
03051     ItemInt *mCustHeaderCountItem;
03052     ItemInt *mReplyCurrentLanguageItem;
03053     ItemInt *mReplyLanguagesCountItem;
03054     ItemInt *mFolderLoadingTimeoutItem;
03055     ItemBool *mGroupwareEnabledItem;
03056     ItemBool *mLegacyMangleFromToHeadersItem;
03057     ItemBool *mLegacyBodyInvitesItem;
03058     ItemBool *mExchangeCompatibleInvitationsItem;
03059     ItemBool *mAutomaticSendingItem;
03060     ItemBool *mTheIMAPResourceEnabledItem;
03061     ItemBool *mHideGroupwareFoldersItem;
03062     ItemBool *mShowOnlyGroupwareFoldersForGroupwareAccountItem;
03063     ItemEnum *mTheIMAPResourceStorageFormatItem;
03064     ItemString *mTheIMAPResourceFolderParentItem;
03065     ItemInt *mTheIMAPResourceAccountItem;
03066     ItemInt *mTheIMAPResourceFolderLanguageItem;
03067     ItemInt *mMsgDictSizeHintItem;
03068     ItemString *mPreviousNewFeaturesMD5Item;
03069     ItemInt *mMaxConnectionsPerHostItem;
03070     ItemBool *mQuickSearchActiveItem;
03071     ItemBool *mForceReplyCharsetItem;
03072     ItemString *mAutoTextSignatureItem;
03073     ItemBool *mStickyIdentityItem;
03074     ItemBool *mStickyFccItem;
03075     ItemBool *mStickyTransportItem;
03076     ItemBool *mWordWrapItem;
03077     ItemBool *mUseFixedFontItem;
03078     ItemInt *mLineWrapWidthItem;
03079     ItemUInt *mPreviousIdentityItem;
03080     ItemString *mPreviousFccItem;
03081     ItemStringList *mTransportHistoryItem;
03082     ItemString *mCurrentTransportItem;
03083     ItemString *mDefaultTransportItem;
03084     ItemInt *mMaxTransportEntriesItem;
03085     ItemBool *mOutlookCompatibleAttachmentsItem;
03086     ItemBool *mUseHtmlMarkupItem;
03087     ItemBool *mPgpAutoSignItem;
03088     ItemBool *mPgpAutoEncryptItem;
03089     ItemBool *mNeverEncryptDraftsItem;
03090     ItemString *mChiasmusKeyItem;
03091     ItemString *mChiasmusOptionsItem;
03092     ItemBool *mConfirmBeforeSendItem;
03093     ItemBool *mRequestMDNItem;
03094     ItemBool *mShowRecentAddressesInComposerItem;
03095     ItemInt *mHeadersItem;
03096     ItemInt *mCompletionModeItem;
03097     ItemBool *mAutoSpellCheckingItem;
03098     ItemBool *mShowForgottenAttachmentWarningItem;
03099     ItemStringList *mAttachmentKeywordsItem;
03100     ItemBool *mShowMessagePartDialogOnAttachItem;
03101     ItemInt *mAutosaveIntervalItem;
03102     ItemStringList *mReplyPrefixesItem;
03103     ItemBool *mReplaceReplyPrefixItem;
03104     ItemStringList *mForwardPrefixesItem;
03105     ItemBool *mReplaceForwardPrefixItem;
03106     ItemBool *mSmartQuoteItem;
03107     ItemEnum *mAddresseeSelectorTypeItem;
03108     ItemEnum *mRecipientsEditorTypeItem;
03109     ItemEnum *mSecondRecipientTypeDefaultItem;
03110     ItemInt *mMaximumRecipientsItem;
03111     ItemStringList *mCustomTemplatesItem;
03112     ItemBool *mUseDefaultFontsItem;
03113     ItemFont *mComposerFontItem;
03114     ItemFont *mFixedFontItem;
03115     ItemSize *mComposerSizeItem;
03116     ItemBool *mUseDefaultColorsItem;
03117     ItemColor *mForegroundColorItem;
03118     ItemColor *mBackgroundColorItem;
03119     ItemString *mFallbackCharacterEncodingItem;
03120     ItemString *mOverrideCharacterEncodingItem;
03121     ItemBool *mShowEmoticonsItem;
03122     ItemBool *mShowExpandQuotesMarkItem;
03123     ItemInt *mCollapseQuoteLevelSpinItem;
03124     ItemBool *mShrinkQuotesItem;
03125     ItemString *mChiasmusDecryptionKeyItem;
03126     ItemString *mChiasmusDecryptionOptionsItem;
03127     ItemBool *mShowUserAgentItem;
03128     ItemBool *mAutomaticDecryptItem;
03129     ItemBool *mSendMDNsWithEmptySenderItem;
03130     ItemBool *mPhrasesConvertedItem;
03131     ItemString *mTemplateNewMessageItem;
03132     ItemString *mTemplateReplyItem;
03133     ItemString *mTemplateReplyAllItem;
03134     ItemString *mTemplateForwardItem;
03135     ItemString *mQuoteStringItem;
03136 };
03137 
03138 #endif
03139 
KDE Home | KDE Accessibility Home | Description of Access Keys