// This file is generated by tdeconfig_compiler from kbabel.kcfg.
// All changes you do to this file will be lost.
#ifndef KBABELSETTINGS_H
#define KBABELSETTINGS_H

#include <tdeconfigskeleton.h>
#include <kdebug.h>

class KBabelSettings : public TDEConfigSkeleton
{
  public:
    class EnumDiffAddUnderline
    {
      public:
      enum type { Highlighted, Underlined, COUNT };
    };
    class EnumDiffDelStrikeOut
    {
      public:
      enum type { Highlighted, StrokedOut, COUNT };
    };

    static KBabelSettings *self();
    ~KBabelSettings();

    /**
      Set AccelColor
    */
    static
    void setAccelColor( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "AccelColor" ) ))
        self()->mAccelColor = v;
    }

    /**
      Get AccelColor
    */
    static
    TQColor accelColor()
    {
      return self()->mAccelColor;
    }

    /**
      Set AutoCheckColorError
    */
    static
    void setAutoCheckColorError( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "AutoCheckColorError" ) ))
        self()->mAutoCheckColorError = v;
    }

    /**
      Get AutoCheckColorError
    */
    static
    bool autoCheckColorError()
    {
      return self()->mAutoCheckColorError;
    }

    /**
      Set AutoCheckTools
    */
    static
    void setAutoCheckTools( const TQStringList & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "AutoCheckTools" ) ))
        self()->mAutoCheckTools = v;
    }

    /**
      Get AutoCheckTools
    */
    static
    TQStringList autoCheckTools()
    {
      return self()->mAutoCheckTools;
    }

    /**
      Set AutoDiff
    */
    static
    void setAutoDiff( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "AutoDiff" ) ))
        self()->mAutoDiff = v;
    }

    /**
      Get AutoDiff
    */
    static
    bool autoDiff()
    {
      return self()->mAutoDiff;
    }

    /**
      Set AutoUnsetFuzzy
    */
    static
    void setAutoUnsetFuzzy( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "AutoUnsetFuzzy" ) ))
        self()->mAutoUnsetFuzzy = v;
    }

    /**
      Get AutoUnsetFuzzy
    */
    static
    bool autoUnsetFuzzy()
    {
      return self()->mAutoUnsetFuzzy;
    }

    /**
      Set BackgroundColor
    */
    static
    void setBackgroundColor( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "BackgroundColor" ) ))
        self()->mBackgroundColor = v;
    }

    /**
      Get BackgroundColor
    */
    static
    TQColor backgroundColor()
    {
      return self()->mBackgroundColor;
    }

    /**
      Set BeepOnError
    */
    static
    void setBeepOnError( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "BeepOnError" ) ))
        self()->mBeepOnError = v;
    }

    /**
      Get BeepOnError
    */
    static
    bool beepOnError()
    {
      return self()->mBeepOnError;
    }

    /**
      Set CformatColor
    */
    static
    void setCformatColor( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "CformatColor" ) ))
        self()->mCformatColor = v;
    }

    /**
      Get CformatColor
    */
    static
    TQColor cformatColor()
    {
      return self()->mCformatColor;
    }

    /**
      Set CleverEditing
    */
    static
    void setCleverEditing( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "CleverEditing" ) ))
        self()->mCleverEditing = v;
    }

    /**
      Get CleverEditing
    */
    static
    bool cleverEditing()
    {
      return self()->mCleverEditing;
    }

    /**
      Set DiffAddColor
    */
    static
    void setDiffAddColor( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "DiffAddColor" ) ))
        self()->mDiffAddColor = v;
    }

    /**
      Get DiffAddColor
    */
    static
    TQColor diffAddColor()
    {
      return self()->mDiffAddColor;
    }

    /**
      Set DiffAddUnderline
    */
    static
    void setDiffAddUnderline( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "DiffAddUnderline" ) ))
        self()->mDiffAddUnderline = v;
    }

    /**
      Get DiffAddUnderline
    */
    static
    int diffAddUnderline()
    {
      return self()->mDiffAddUnderline;
    }

    /**
      Set DiffDelColor
    */
    static
    void setDiffDelColor( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "DiffDelColor" ) ))
        self()->mDiffDelColor = v;
    }

    /**
      Get DiffDelColor
    */
    static
    TQColor diffDelColor()
    {
      return self()->mDiffDelColor;
    }

    /**
      Set DiffDelStrikeOut
    */
    static
    void setDiffDelStrikeOut( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "DiffDelStrikeOut" ) ))
        self()->mDiffDelStrikeOut = v;
    }

    /**
      Get DiffDelStrikeOut
    */
    static
    int diffDelStrikeOut()
    {
      return self()->mDiffDelStrikeOut;
    }

    /**
      Set EnableQuotes
    */
    static
    void setEnableQuotes( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "EnableQuotes" ) ))
        self()->mEnableQuotes = v;
    }

    /**
      Get EnableQuotes
    */
    static
    bool enableQuotes()
    {
      return self()->mEnableQuotes;
    }

    /**
      Set ErrorColor
    */
    static
    void setErrorColor( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "ErrorColor" ) ))
        self()->mErrorColor = v;
    }

    /**
      Get ErrorColor
    */
    static
    TQColor errorColor()
    {
      return self()->mErrorColor;
    }

    /**
      Set HighlightBackground
    */
    static
    void setHighlightBackground( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "HighlightBackground" ) ))
        self()->mHighlightBackground = v;
    }

    /**
      Get HighlightBackground
    */
    static
    bool highlightBackground()
    {
      return self()->mHighlightBackground;
    }

    /**
      Set HighlightSyntax
    */
    static
    void setHighlightSyntax( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "HighlightSyntax" ) ))
        self()->mHighlightSyntax = v;
    }

    /**
      Get HighlightSyntax
    */
    static
    bool highlightSyntax()
    {
      return self()->mHighlightSyntax;
    }

    /**
      Set LedColor
    */
    static
    void setLedColor( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "LedColor" ) ))
        self()->mLedColor = v;
    }

    /**
      Get LedColor
    */
    static
    TQColor ledColor()
    {
      return self()->mLedColor;
    }

    /**
      Set LedInStatusbar
    */
    static
    void setLedInStatusbar( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "LedInStatusbar" ) ))
        self()->mLedInStatusbar = v;
    }

    /**
      Get LedInStatusbar
    */
    static
    bool ledInStatusbar()
    {
      return self()->mLedInStatusbar;
    }

    /**
      Set Font for Messages
    */
    static
    void setMsgFont( const TQFont & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "MsgFont" ) ))
        self()->mMsgFont = v;
    }

    /**
      Get Font for Messages
    */
    static
    TQFont msgFont()
    {
      return self()->mMsgFont;
    }

    /**
      Set OnFlySpellCheck
    */
    static
    void setOnFlySpellCheck( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "OnFlySpellCheck" ) ))
        self()->mOnFlySpellCheck = v;
    }

    /**
      Get OnFlySpellCheck
    */
    static
    bool onFlySpellCheck()
    {
      return self()->mOnFlySpellCheck;
    }

    /**
      Set SpellcheckErrorColor
    */
    static
    void setSpellcheckErrorColor( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "SpellcheckErrorColor" ) ))
        self()->mSpellcheckErrorColor = v;
    }

    /**
      Get SpellcheckErrorColor
    */
    static
    TQColor spellcheckErrorColor()
    {
      return self()->mSpellcheckErrorColor;
    }

    /**
      Set QuotedColor
    */
    static
    void setQuotedColor( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "QuotedColor" ) ))
        self()->mQuotedColor = v;
    }

    /**
      Get QuotedColor
    */
    static
    TQColor quotedColor()
    {
      return self()->mQuotedColor;
    }

    /**
      Set TagColor
    */
    static
    void setTagColor( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "TagColor" ) ))
        self()->mTagColor = v;
    }

    /**
      Get TagColor
    */
    static
    TQColor tagColor()
    {
      return self()->mTagColor;
    }

    /**
      Set WhitespacePoints
    */
    static
    void setWhitespacePoints( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "WhitespacePoints" ) ))
        self()->mWhitespacePoints = v;
    }

    /**
      Get WhitespacePoints
    */
    static
    bool whitespacePoints()
    {
      return self()->mWhitespacePoints;
    }

    /**
      Set Backwards
    */
    static
    void setBackwards( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Backwards" ) ))
        self()->mBackwards = v;
    }

    /**
      Get Backwards
    */
    static
    bool backwards()
    {
      return self()->mBackwards;
    }

    /**
      Set CaseSensitive
    */
    static
    void setCaseSensitive( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "CaseSensitive" ) ))
        self()->mCaseSensitive = v;
    }

    /**
      Get CaseSensitive
    */
    static
    bool caseSensitive()
    {
      return self()->mCaseSensitive;
    }

    /**
      Set FromCursor
    */
    static
    void setFromCursor( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "FromCursor" ) ))
        self()->mFromCursor = v;
    }

    /**
      Get FromCursor
    */
    static
    bool fromCursor()
    {
      return self()->mFromCursor;
    }

    /**
      Set IgnoreAccelMarker
    */
    static
    void setIgnoreAccelMarker( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "IgnoreAccelMarker" ) ))
        self()->mIgnoreAccelMarker = v;
    }

    /**
      Get IgnoreAccelMarker
    */
    static
    bool ignoreAccelMarker()
    {
      return self()->mIgnoreAccelMarker;
    }

    /**
      Set IgnoreContextInfo
    */
    static
    void setIgnoreContextInfo( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "IgnoreContextInfo" ) ))
        self()->mIgnoreContextInfo = v;
    }

    /**
      Get IgnoreContextInfo
    */
    static
    bool ignoreContextInfo()
    {
      return self()->mIgnoreContextInfo;
    }

    /**
      Set InComment
    */
    static
    void setInComment( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "InComment" ) ))
        self()->mInComment = v;
    }

    /**
      Get InComment
    */
    static
    bool inComment()
    {
      return self()->mInComment;
    }

    /**
      Set InMsgid
    */
    static
    void setInMsgid( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "InMsgid" ) ))
        self()->mInMsgid = v;
    }

    /**
      Get InMsgid
    */
    static
    bool inMsgid()
    {
      return self()->mInMsgid;
    }

    /**
      Set InMsgstr
    */
    static
    void setInMsgstr( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "InMsgstr" ) ))
        self()->mInMsgstr = v;
    }

    /**
      Get InMsgstr
    */
    static
    bool inMsgstr()
    {
      return self()->mInMsgstr;
    }

    /**
      Set List
    */
    static
    void setList( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "List" ) ))
        self()->mList = v;
    }

    /**
      Get List
    */
    static
    TQString list()
    {
      return self()->mList;
    }

    /**
      Set RegExp
    */
    static
    void setRegExp( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "RegExp" ) ))
        self()->mRegExp = v;
    }

    /**
      Get RegExp
    */
    static
    bool regExp()
    {
      return self()->mRegExp;
    }

    /**
      Set WholeWords
    */
    static
    void setWholeWords( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "WholeWords" ) ))
        self()->mWholeWords = v;
    }

    /**
      Get WholeWords
    */
    static
    bool wholeWords()
    {
      return self()->mWholeWords;
    }

    /**
      Set SelectedChar
    */
    static
    void setSelectedChar( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "SelectedChar" ) ))
        self()->mSelectedChar = v;
    }

    /**
      Get SelectedChar
    */
    static
    TQString selectedChar()
    {
      return self()->mSelectedChar;
    }

    /**
      Set TableNum
    */
    static
    void setTableNum( uint v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "TableNum" ) ))
        self()->mTableNum = v;
    }

    /**
      Get TableNum
    */
    static
    uint tableNum()
    {
      return self()->mTableNum;
    }

    /**
      Set Version
    */
    static
    void setVersion( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Version" ) ))
        self()->mVersion = v;
    }

    /**
      Get Version
    */
    static
    TQString version()
    {
      return self()->mVersion;
    }

    /**
      Set Automatic Preview
    */
    static
    void setAutomaticPreview( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "AutomaticPreview" ) ))
        self()->mAutomaticPreview = v;
    }

    /**
      Get Automatic Preview
    */
    static
    bool automaticPreview()
    {
      return self()->mAutomaticPreview;
    }

    /**
      Set Preview Size
    */
    static
    void setPreviewSize( uint v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "PreviewSize" ) ))
        self()->mPreviewSize = v;
    }

    /**
      Get Preview Size
    */
    static
    uint previewSize()
    {
      return self()->mPreviewSize;
    }

    /**
      Set Recent Files
    */
    static
    void setRecentFiles( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "RecentFiles" ) ))
        self()->mRecentFiles = v;
    }

    /**
      Get Recent Files
    */
    static
    TQString recentFiles()
    {
      return self()->mRecentFiles;
    }

    /**
      Set ShowPreviews
    */
    static
    void setShowPreviews( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "ShowPreviews" ) ))
        self()->mShowPreviews = v;
    }

    /**
      Get ShowPreviews
    */
    static
    bool showPreviews()
    {
      return self()->mShowPreviews;
    }

    /**
      Set ViewMode
    */
    static
    void setViewMode( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "ViewMode" ) ))
        self()->mViewMode = v;
    }

    /**
      Get ViewMode
    */
    static
    TQString viewMode()
    {
      return self()->mViewMode;
    }

    /**
      Set Speedbar IconSize
    */
    static
    void setSpeedbarIconSize( uint v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "SpeedbarIconSize" ) ))
        self()->mSpeedbarIconSize = v;
    }

    /**
      Get Speedbar IconSize
    */
    static
    uint speedbarIconSize()
    {
      return self()->mSpeedbarIconSize;
    }

    /**
      Set AutoSearch
    */
    static
    void setAutoSearch( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "AutoSearch" ) ))
        self()->mAutoSearch = v;
    }

    /**
      Get AutoSearch
    */
    static
    bool autoSearch()
    {
      return self()->mAutoSearch;
    }

    /**
      Set DefaultModule
    */
    static
    void setDefaultModule( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "DefaultModule" ) ))
        self()->mDefaultModule = v;
    }

    /**
      Get DefaultModule
    */
    static
    TQString defaultModule()
    {
      return self()->mDefaultModule;
    }

    /**
      Set Comments
    */
    static
    void setComments( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Comments" ) ))
        self()->mComments = v;
    }

    /**
      Get Comments
    */
    static
    bool comments()
    {
      return self()->mComments;
    }

    /**
      Set EditSplitter
    */
    static
    void setEditSplitter( const TQValueList<int> & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "EditSplitter" ) ))
        self()->mEditSplitter = v;
    }

    /**
      Get EditSplitter
    */
    static
    TQValueList<int> editSplitter()
    {
      return self()->mEditSplitter;
    }

    /**
      Set Height 768
    */
    static
    void setHeight768( uint v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Height768" ) ))
        self()->mHeight768 = v;
    }

    /**
      Get Height 768
    */
    static
    uint height768()
    {
      return self()->mHeight768;
    }

    /**
      Set MainSplitter
    */
    static
    void setMainSplitter( const TQValueList<int> & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "MainSplitter" ) ))
        self()->mMainSplitter = v;
    }

    /**
      Get MainSplitter
    */
    static
    TQValueList<int> mainSplitter()
    {
      return self()->mMainSplitter;
    }

    /**
      Set Toolbox
    */
    static
    void setToolbox( uint v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Toolbox" ) ))
        self()->mToolbox = v;
    }

    /**
      Get Toolbox
    */
    static
    uint toolbox()
    {
      return self()->mToolbox;
    }

    /**
      Set ToolboxSplitter
    */
    static
    void setToolboxSplitter( const TQValueList<int> & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "ToolboxSplitter" ) ))
        self()->mToolboxSplitter = v;
    }

    /**
      Get ToolboxSplitter
    */
    static
    TQValueList<int> toolboxSplitter()
    {
      return self()->mToolboxSplitter;
    }

    /**
      Set Tools
    */
    static
    void setTools( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Tools" ) ))
        self()->mTools = v;
    }

    /**
      Get Tools
    */
    static
    bool tools()
    {
      return self()->mTools;
    }

    /**
      Set Width 1024
    */
    static
    void setWidth1024( uint v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Width1024" ) ))
        self()->mWidth1024 = v;
    }

    /**
      Get Width 1024
    */
    static
    uint width1024()
    {
      return self()->mWidth1024;
    }

    static
    void writeConfig()
    {
      static_cast<TDEConfigSkeleton*>(self())->writeConfig();
    }
  protected:
    KBabelSettings();
    static KBabelSettings *mSelf;


    // Editor
    TQColor mAccelColor;
    bool mAutoCheckColorError;
    TQStringList mAutoCheckTools;
    bool mAutoDiff;
    bool mAutoUnsetFuzzy;
    TQColor mBackgroundColor;
    bool mBeepOnError;
    TQColor mCformatColor;
    bool mCleverEditing;
    TQColor mDiffAddColor;
    int mDiffAddUnderline;
    TQColor mDiffDelColor;
    int mDiffDelStrikeOut;
    bool mEnableQuotes;
    TQColor mErrorColor;
    bool mHighlightBackground;
    bool mHighlightSyntax;
    TQColor mLedColor;
    bool mLedInStatusbar;
    TQFont mMsgFont;
    bool mOnFlySpellCheck;
    TQColor mSpellcheckErrorColor;
    TQColor mQuotedColor;
    TQColor mTagColor;
    bool mWhitespacePoints;

    // FindDialog
    bool mBackwards;
    bool mCaseSensitive;
    bool mFromCursor;
    bool mIgnoreAccelMarker;
    bool mIgnoreContextInfo;
    bool mInComment;
    bool mInMsgid;
    bool mInMsgstr;
    TQString mList;
    bool mRegExp;
    bool mWholeWords;

    // KBCharSelector
    TQString mSelectedChar;
    uint mTableNum;

    // KBabel
    TQString mVersion;

    // KFileDialog Settings
    bool mAutomaticPreview;
    uint mPreviewSize;
    TQString mRecentFiles;
    bool mShowPreviews;
    TQString mViewMode;

    // KFileDialog Speedbar
    uint mSpeedbarIconSize;

    // Search
    bool mAutoSearch;
    TQString mDefaultModule;

    // View
    bool mComments;
    TQValueList<int> mEditSplitter;
    uint mHeight768;
    TQValueList<int> mMainSplitter;
    uint mToolbox;
    TQValueList<int> mToolboxSplitter;
    bool mTools;
    uint mWidth1024;

  private:
};

#endif

