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

#include "kbabelsettings.h"

#include <kstaticdeleter.h>

KBabelSettings *KBabelSettings::mSelf = 0;
static KStaticDeleter<KBabelSettings> staticKBabelSettingsDeleter;

KBabelSettings *KBabelSettings::self()
{
  if ( !mSelf ) {
    staticKBabelSettingsDeleter.setObject( mSelf, new KBabelSettings() );
    mSelf->readConfig();
  }

  return mSelf;
}

KBabelSettings::KBabelSettings(  )
  : TDEConfigSkeleton()
{
  mSelf = this;
  setCurrentGroup( TQString::fromLatin1( "Editor" ) );

  TDEConfigSkeleton::ItemColor  *itemAccelColor;
  itemAccelColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "AccelColor" ), mAccelColor, TQColor( 128,0,128 ) );
  addItem( itemAccelColor, TQString::fromLatin1( "AccelColor" ) );
  TDEConfigSkeleton::ItemBool  *itemAutoCheckColorError;
  itemAutoCheckColorError = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "AutoCheckColorError" ), mAutoCheckColorError, true );
  addItem( itemAutoCheckColorError, TQString::fromLatin1( "AutoCheckColorError" ) );
  TDEConfigSkeleton::ItemStringList  *itemAutoCheckTools;
  itemAutoCheckTools = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "AutoCheckTools" ), mAutoCheckTools );
  addItem( itemAutoCheckTools, TQString::fromLatin1( "AutoCheckTools" ) );
  TDEConfigSkeleton::ItemBool  *itemAutoDiff;
  itemAutoDiff = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "AutoDiff" ), mAutoDiff, false );
  addItem( itemAutoDiff, TQString::fromLatin1( "AutoDiff" ) );
  TDEConfigSkeleton::ItemBool  *itemAutoUnsetFuzzy;
  itemAutoUnsetFuzzy = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "AutoUnsetFuzzy" ), mAutoUnsetFuzzy, true );
  addItem( itemAutoUnsetFuzzy, TQString::fromLatin1( "AutoUnsetFuzzy" ) );
  TDEConfigSkeleton::ItemColor  *itemBackgroundColor;
  itemBackgroundColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "BackgroundColor" ), mBackgroundColor, TQColor( 255,255,192 ) );
  addItem( itemBackgroundColor, TQString::fromLatin1( "BackgroundColor" ) );
  TDEConfigSkeleton::ItemBool  *itemBeepOnError;
  itemBeepOnError = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "BeepOnError" ), mBeepOnError, false );
  addItem( itemBeepOnError, TQString::fromLatin1( "BeepOnError" ) );
  TDEConfigSkeleton::ItemColor  *itemCformatColor;
  itemCformatColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "CformatColor" ), mCformatColor, TQColor( 0,0,255 ) );
  addItem( itemCformatColor, TQString::fromLatin1( "CformatColor" ) );
  TDEConfigSkeleton::ItemBool  *itemCleverEditing;
  itemCleverEditing = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CleverEditing" ), mCleverEditing, true );
  addItem( itemCleverEditing, TQString::fromLatin1( "CleverEditing" ) );
  TDEConfigSkeleton::ItemColor  *itemDiffAddColor;
  itemDiffAddColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "DiffAddColor" ), mDiffAddColor, TQColor( 192,192,255 ) );
  addItem( itemDiffAddColor, TQString::fromLatin1( "DiffAddColor" ) );
  TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesDiffAddUnderline;
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Highlighted" );
    valuesDiffAddUnderline.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Underlined" );
    valuesDiffAddUnderline.append( choice );
  }
  TDEConfigSkeleton::ItemEnum  *itemDiffAddUnderline;
  itemDiffAddUnderline = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "DiffAddUnderline" ), mDiffAddUnderline, valuesDiffAddUnderline, EnumDiffAddUnderline::Underlined );
  addItem( itemDiffAddUnderline, TQString::fromLatin1( "DiffAddUnderline" ) );
  TDEConfigSkeleton::ItemColor  *itemDiffDelColor;
  itemDiffDelColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "DiffDelColor" ), mDiffDelColor, TQColor( 255,128,128 ) );
  addItem( itemDiffDelColor, TQString::fromLatin1( "DiffDelColor" ) );
  TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesDiffDelStrikeOut;
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Highlighted" );
    valuesDiffDelStrikeOut.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "StrokedOut" );
    valuesDiffDelStrikeOut.append( choice );
  }
  TDEConfigSkeleton::ItemEnum  *itemDiffDelStrikeOut;
  itemDiffDelStrikeOut = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "DiffDelStrikeOut" ), mDiffDelStrikeOut, valuesDiffDelStrikeOut, EnumDiffDelStrikeOut::StrokedOut );
  addItem( itemDiffDelStrikeOut, TQString::fromLatin1( "DiffDelStrikeOut" ) );
  TDEConfigSkeleton::ItemBool  *itemEnableQuotes;
  itemEnableQuotes = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "EnableQuotes" ), mEnableQuotes, false );
  addItem( itemEnableQuotes, TQString::fromLatin1( "EnableQuotes" ) );
  TDEConfigSkeleton::ItemColor  *itemErrorColor;
  itemErrorColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "ErrorColor" ), mErrorColor, TQColor( 255,0,0 ) );
  addItem( itemErrorColor, TQString::fromLatin1( "ErrorColor" ) );
  TDEConfigSkeleton::ItemBool  *itemHighlightBackground;
  itemHighlightBackground = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "HighlightBackground" ), mHighlightBackground, false );
  addItem( itemHighlightBackground, TQString::fromLatin1( "HighlightBackground" ) );
  TDEConfigSkeleton::ItemBool  *itemHighlightSyntax;
  itemHighlightSyntax = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "HighlightSyntax" ), mHighlightSyntax, true );
  addItem( itemHighlightSyntax, TQString::fromLatin1( "HighlightSyntax" ) );
  TDEConfigSkeleton::ItemColor  *itemLedColor;
  itemLedColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "LedColor" ), mLedColor, TQColor( 255,0,0 ) );
  addItem( itemLedColor, TQString::fromLatin1( "LedColor" ) );
  TDEConfigSkeleton::ItemBool  *itemLedInStatusbar;
  itemLedInStatusbar = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "LedInStatusbar" ), mLedInStatusbar, false );
  addItem( itemLedInStatusbar, TQString::fromLatin1( "LedInStatusbar" ) );
  TDEConfigSkeleton::ItemFont  *itemMsgFont;
  itemMsgFont = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "MsgFont" ), mMsgFont, TDEGlobalSettings::generalFont() );
  addItem( itemMsgFont, TQString::fromLatin1( "MsgFont" ) );
  TDEConfigSkeleton::ItemBool  *itemOnFlySpellCheck;
  itemOnFlySpellCheck = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "OnFlySpellCheck" ), mOnFlySpellCheck, true );
  addItem( itemOnFlySpellCheck, TQString::fromLatin1( "OnFlySpellCheck" ) );
  TDEConfigSkeleton::ItemColor  *itemSpellcheckErrorColor;
  itemSpellcheckErrorColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "SpellcheckErrorColor" ), mSpellcheckErrorColor, TQColor( 255,128,0 ) );
  addItem( itemSpellcheckErrorColor, TQString::fromLatin1( "SpellcheckErrorColor" ) );
  TDEConfigSkeleton::ItemColor  *itemQuotedColor;
  itemQuotedColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "QuotedColor" ), mQuotedColor, TQColor( 0,128,0 ) );
  addItem( itemQuotedColor, TQString::fromLatin1( "QuotedColor" ) );
  TDEConfigSkeleton::ItemColor  *itemTagColor;
  itemTagColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "TagColor" ), mTagColor, TQColor( 0,0,128 ) );
  addItem( itemTagColor, TQString::fromLatin1( "TagColor" ) );
  TDEConfigSkeleton::ItemBool  *itemWhitespacePoints;
  itemWhitespacePoints = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "WhitespacePoints" ), mWhitespacePoints, true );
  addItem( itemWhitespacePoints, TQString::fromLatin1( "WhitespacePoints" ) );

  setCurrentGroup( TQString::fromLatin1( "FindDialog" ) );

  TDEConfigSkeleton::ItemBool  *itemBackwards;
  itemBackwards = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Backwards" ), mBackwards, false );
  addItem( itemBackwards, TQString::fromLatin1( "Backwards" ) );
  TDEConfigSkeleton::ItemBool  *itemCaseSensitive;
  itemCaseSensitive = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CaseSensitive" ), mCaseSensitive, false );
  addItem( itemCaseSensitive, TQString::fromLatin1( "CaseSensitive" ) );
  TDEConfigSkeleton::ItemBool  *itemFromCursor;
  itemFromCursor = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "FromCursor" ), mFromCursor, false );
  addItem( itemFromCursor, TQString::fromLatin1( "FromCursor" ) );
  TDEConfigSkeleton::ItemBool  *itemIgnoreAccelMarker;
  itemIgnoreAccelMarker = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "IgnoreAccelMarker" ), mIgnoreAccelMarker, true );
  addItem( itemIgnoreAccelMarker, TQString::fromLatin1( "IgnoreAccelMarker" ) );
  TDEConfigSkeleton::ItemBool  *itemIgnoreContextInfo;
  itemIgnoreContextInfo = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "IgnoreContextInfo" ), mIgnoreContextInfo, true );
  addItem( itemIgnoreContextInfo, TQString::fromLatin1( "IgnoreContextInfo" ) );
  TDEConfigSkeleton::ItemBool  *itemInComment;
  itemInComment = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "InComment" ), mInComment, false );
  addItem( itemInComment, TQString::fromLatin1( "InComment" ) );
  TDEConfigSkeleton::ItemBool  *itemInMsgid;
  itemInMsgid = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "InMsgid" ), mInMsgid, true );
  addItem( itemInMsgid, TQString::fromLatin1( "InMsgid" ) );
  TDEConfigSkeleton::ItemBool  *itemInMsgstr;
  itemInMsgstr = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "InMsgstr" ), mInMsgstr, true );
  addItem( itemInMsgstr, TQString::fromLatin1( "InMsgstr" ) );
  TDEConfigSkeleton::ItemString  *itemList;
  itemList = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "List" ), mList, TQString::fromLatin1( "right as,Record here,sidereal,altitu" ) );
  addItem( itemList, TQString::fromLatin1( "List" ) );
  TDEConfigSkeleton::ItemBool  *itemRegExp;
  itemRegExp = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "RegExp" ), mRegExp, false );
  addItem( itemRegExp, TQString::fromLatin1( "RegExp" ) );
  TDEConfigSkeleton::ItemBool  *itemWholeWords;
  itemWholeWords = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "WholeWords" ), mWholeWords, false );
  addItem( itemWholeWords, TQString::fromLatin1( "WholeWords" ) );

  setCurrentGroup( TQString::fromLatin1( "KBCharSelector" ) );

  TDEConfigSkeleton::ItemString  *itemSelectedChar;
  itemSelectedChar = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "SelectedChar" ), mSelectedChar );
  addItem( itemSelectedChar, TQString::fromLatin1( "SelectedChar" ) );
  TDEConfigSkeleton::ItemUInt  *itemTableNum;
  itemTableNum = new TDEConfigSkeleton::ItemUInt( currentGroup(), TQString::fromLatin1( "TableNum" ), mTableNum, 0 );
  addItem( itemTableNum, TQString::fromLatin1( "TableNum" ) );

  setCurrentGroup( TQString::fromLatin1( "KBabel" ) );

  TDEConfigSkeleton::ItemString  *itemVersion;
  itemVersion = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Version" ), mVersion, TQString::fromLatin1( "1.3" ) );
  addItem( itemVersion, TQString::fromLatin1( "Version" ) );

  setCurrentGroup( TQString::fromLatin1( "KFileDialog Settings" ) );

  TDEConfigSkeleton::ItemBool  *itemAutomaticPreview;
  itemAutomaticPreview = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Automatic Preview" ), mAutomaticPreview, true );
  addItem( itemAutomaticPreview, TQString::fromLatin1( "AutomaticPreview" ) );
  TDEConfigSkeleton::ItemUInt  *itemPreviewSize;
  itemPreviewSize = new TDEConfigSkeleton::ItemUInt( currentGroup(), TQString::fromLatin1( "Preview Size" ), mPreviewSize, 60 );
  addItem( itemPreviewSize, TQString::fromLatin1( "PreviewSize" ) );
  TDEConfigSkeleton::ItemString  *itemRecentFiles;
  itemRecentFiles = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Recent Files" ), mRecentFiles );
  addItem( itemRecentFiles, TQString::fromLatin1( "RecentFiles" ) );
  TDEConfigSkeleton::ItemBool  *itemShowPreviews;
  itemShowPreviews = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowPreviews" ), mShowPreviews, false );
  addItem( itemShowPreviews, TQString::fromLatin1( "ShowPreviews" ) );
  TDEConfigSkeleton::ItemString  *itemViewMode;
  itemViewMode = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "ViewMode" ), mViewMode, TQString::fromLatin1( "SmallColumns" ) );
  addItem( itemViewMode, TQString::fromLatin1( "ViewMode" ) );

  setCurrentGroup( TQString::fromLatin1( "KFileDialog Speedbar" ) );

  TDEConfigSkeleton::ItemUInt  *itemSpeedbarIconSize;
  itemSpeedbarIconSize = new TDEConfigSkeleton::ItemUInt( currentGroup(), TQString::fromLatin1( "Speedbar IconSize" ), mSpeedbarIconSize, 32 );
  addItem( itemSpeedbarIconSize, TQString::fromLatin1( "SpeedbarIconSize" ) );

  setCurrentGroup( TQString::fromLatin1( "Search" ) );

  TDEConfigSkeleton::ItemBool  *itemAutoSearch;
  itemAutoSearch = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "AutoSearch" ), mAutoSearch, false );
  addItem( itemAutoSearch, TQString::fromLatin1( "AutoSearch" ) );
  TDEConfigSkeleton::ItemString  *itemDefaultModule;
  itemDefaultModule = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "DefaultModule" ), mDefaultModule, TQString::fromLatin1( "pocompendium" ) );
  addItem( itemDefaultModule, TQString::fromLatin1( "DefaultModule" ) );

  setCurrentGroup( TQString::fromLatin1( "View" ) );

  TDEConfigSkeleton::ItemBool  *itemComments;
  itemComments = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Comments" ), mComments, true );
  addItem( itemComments, TQString::fromLatin1( "Comments" ) );
  TQValueList<int> defaultEditSplitter;
  defaultEditSplitter.append( 242 );
  defaultEditSplitter.append( 257 );

  TDEConfigSkeleton::ItemIntList  *itemEditSplitter;
  itemEditSplitter = new TDEConfigSkeleton::ItemIntList( currentGroup(), TQString::fromLatin1( "EditSplitter" ), mEditSplitter, defaultEditSplitter );
  addItem( itemEditSplitter, TQString::fromLatin1( "EditSplitter" ) );
  TDEConfigSkeleton::ItemUInt  *itemHeight768;
  itemHeight768 = new TDEConfigSkeleton::ItemUInt( currentGroup(), TQString::fromLatin1( "Height 768" ), mHeight768, 624 );
  addItem( itemHeight768, TQString::fromLatin1( "Height768" ) );
  TQValueList<int> defaultMainSplitter;
  defaultMainSplitter.append( 427 );
  defaultMainSplitter.append( 307 );

  TDEConfigSkeleton::ItemIntList  *itemMainSplitter;
  itemMainSplitter = new TDEConfigSkeleton::ItemIntList( currentGroup(), TQString::fromLatin1( "MainSplitter" ), mMainSplitter, defaultMainSplitter );
  addItem( itemMainSplitter, TQString::fromLatin1( "MainSplitter" ) );
  TDEConfigSkeleton::ItemUInt  *itemToolbox;
  itemToolbox = new TDEConfigSkeleton::ItemUInt( currentGroup(), TQString::fromLatin1( "Toolbox" ), mToolbox, 0 );
  addItem( itemToolbox, TQString::fromLatin1( "Toolbox" ) );
  TQValueList<int> defaultToolboxSplitter;
  defaultToolboxSplitter.append( 122 );
  defaultToolboxSplitter.append( 377 );

  TDEConfigSkeleton::ItemIntList  *itemToolboxSplitter;
  itemToolboxSplitter = new TDEConfigSkeleton::ItemIntList( currentGroup(), TQString::fromLatin1( "ToolboxSplitter" ), mToolboxSplitter, defaultToolboxSplitter );
  addItem( itemToolboxSplitter, TQString::fromLatin1( "ToolboxSplitter" ) );
  TDEConfigSkeleton::ItemBool  *itemTools;
  itemTools = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Tools" ), mTools, true );
  addItem( itemTools, TQString::fromLatin1( "Tools" ) );
  TDEConfigSkeleton::ItemUInt  *itemWidth1024;
  itemWidth1024 = new TDEConfigSkeleton::ItemUInt( currentGroup(), TQString::fromLatin1( "Width 1024" ), mWidth1024, 739 );
  addItem( itemWidth1024, TQString::fromLatin1( "Width1024" ) );
}

KBabelSettings::~KBabelSettings()
{
  if ( mSelf == this )
    staticKBabelSettingsDeleter.setObject( mSelf, 0, false );
}

