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

#include "kileconfig.h"

#include <kstaticdeleter.h>

KileConfig *KileConfig::mSelf = 0;
static KStaticDeleter<KileConfig> staticKileConfigDeleter;

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

  return mSelf;
}

KileConfig::KileConfig(  )
  : TDEConfigSkeleton( TQString::fromLatin1( "kilerc" ) )
{
  mSelf = this;
  setCurrentGroup( TQString::fromLatin1( "VersionInfo" ) );

  TDEConfigSkeleton::ItemInt  *itemRCVersion;
  itemRCVersion = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "RCVersion" ), mRCVersion, 0 );
  addItem( itemRCVersion, TQString::fromLatin1( "RCVersion" ) );

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

  TDEConfigSkeleton::ItemInt  *itemHorizontalSplitterLeft;
  itemHorizontalSplitterLeft = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "horizontalSplitterLeft" ), mHorizontalSplitterLeft, 100 );
  addItem( itemHorizontalSplitterLeft, TQString::fromLatin1( "horizontalSplitterLeft" ) );
  TDEConfigSkeleton::ItemInt  *itemHorizontalSplitterRight;
  itemHorizontalSplitterRight = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "horizontalSplitterRight" ), mHorizontalSplitterRight, 350 );
  addItem( itemHorizontalSplitterRight, TQString::fromLatin1( "horizontalSplitterRight" ) );
  TDEConfigSkeleton::ItemInt  *itemVerticalSplitterTop;
  itemVerticalSplitterTop = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "verticalSplitterTop" ), mVerticalSplitterTop, 350 );
  addItem( itemVerticalSplitterTop, TQString::fromLatin1( "verticalSplitterTop" ) );
  TDEConfigSkeleton::ItemInt  *itemVerticalSplitterBottom;
  itemVerticalSplitterBottom = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "verticalSplitterBottom" ), mVerticalSplitterBottom, 100 );
  addItem( itemVerticalSplitterBottom, TQString::fromLatin1( "verticalSplitterBottom" ) );
  TDEConfigSkeleton::ItemInt  *itemMainwindowWidth;
  itemMainwindowWidth = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MainwindowWidth" ), mMainwindowWidth, 
				TQApplication::desktop()->screenGeometry().width() - 100
			 );
  addItem( itemMainwindowWidth, TQString::fromLatin1( "MainwindowWidth" ) );
  TDEConfigSkeleton::ItemInt  *itemMainwindowHeight;
  itemMainwindowHeight = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MainwindowHeight" ), mMainwindowHeight, 
				TQApplication::desktop()->screenGeometry().height() - 100
			 );
  addItem( itemMainwindowHeight, TQString::fromLatin1( "MainwindowHeight" ) );

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

  TDEConfigSkeleton::ItemInt  *itemDefaultLevel;
  itemDefaultLevel = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "DefaultLevel" ), mDefaultLevel, 5 );
  addItem( itemDefaultLevel, TQString::fromLatin1( "DefaultLevel" ) );
  TDEConfigSkeleton::ItemBool  *itemSvShowLabels;
  itemSvShowLabels = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SvShowLabels" ), mSvShowLabels, true );
  addItem( itemSvShowLabels, TQString::fromLatin1( "SvShowLabels" ) );
  TDEConfigSkeleton::ItemBool  *itemSvShowReferences;
  itemSvShowReferences = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SvShowReferences" ), mSvShowReferences, false );
  addItem( itemSvShowReferences, TQString::fromLatin1( "SvShowReferences" ) );
  TDEConfigSkeleton::ItemBool  *itemSvShowBibitems;
  itemSvShowBibitems = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SvShowBibitems" ), mSvShowBibitems, true );
  addItem( itemSvShowBibitems, TQString::fromLatin1( "SvShowBibitems" ) );
  TDEConfigSkeleton::ItemBool  *itemSvShowGraphics;
  itemSvShowGraphics = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SvShowGraphics" ), mSvShowGraphics, true );
  addItem( itemSvShowGraphics, TQString::fromLatin1( "SvShowGraphics" ) );
  TDEConfigSkeleton::ItemBool  *itemSvShowFloats;
  itemSvShowFloats = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SvShowFloats" ), mSvShowFloats, true );
  addItem( itemSvShowFloats, TQString::fromLatin1( "SvShowFloats" ) );
  TDEConfigSkeleton::ItemBool  *itemSvShowInputFiles;
  itemSvShowInputFiles = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SvShowInputFiles" ), mSvShowInputFiles, true );
  addItem( itemSvShowInputFiles, TQString::fromLatin1( "SvShowInputFiles" ) );
  TDEConfigSkeleton::ItemBool  *itemSvShowSectioningLabels;
  itemSvShowSectioningLabels = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SvShowSectioningLabels" ), mSvShowSectioningLabels, false );
  addItem( itemSvShowSectioningLabels, TQString::fromLatin1( "SvShowSectioningLabels" ) );
  TDEConfigSkeleton::ItemBool  *itemSvShowTodo;
  itemSvShowTodo = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SvShowTodo" ), mSvShowTodo, true );
  addItem( itemSvShowTodo, TQString::fromLatin1( "SvShowTodo" ) );
  TDEConfigSkeleton::ItemBool  *itemSvOpenLabels;
  itemSvOpenLabels = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SvOpenLabels" ), mSvOpenLabels, false );
  addItem( itemSvOpenLabels, TQString::fromLatin1( "SvOpenLabels" ) );
  TDEConfigSkeleton::ItemBool  *itemSvOpenReferences;
  itemSvOpenReferences = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SvOpenReferences" ), mSvOpenReferences, false );
  addItem( itemSvOpenReferences, TQString::fromLatin1( "SvOpenReferences" ) );
  TDEConfigSkeleton::ItemBool  *itemSvOpenBibitems;
  itemSvOpenBibitems = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SvOpenBibitems" ), mSvOpenBibitems, false );
  addItem( itemSvOpenBibitems, TQString::fromLatin1( "SvOpenBibitems" ) );
  TDEConfigSkeleton::ItemBool  *itemSvOpenTodo;
  itemSvOpenTodo = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SvOpenTodo" ), mSvOpenTodo, false );
  addItem( itemSvOpenTodo, TQString::fromLatin1( "SvOpenTodo" ) );

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

  TDEConfigSkeleton::ItemBool  *itemRunLyxServer;
  itemRunLyxServer = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "RunLyxServer" ), mRunLyxServer, true );
  addItem( itemRunLyxServer, TQString::fromLatin1( "RunLyxServer" ) );
  TDEConfigSkeleton::ItemString  *itemTeXPaths;
  itemTeXPaths = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "TeXPaths" ), mTeXPaths );
  addItem( itemTeXPaths, TQString::fromLatin1( "TeXPaths" ) );
  TDEConfigSkeleton::ItemString  *itemPreviewTeXPaths;
  itemPreviewTeXPaths = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "PreviewTeXPaths" ), mPreviewTeXPaths );
  addItem( itemPreviewTeXPaths, TQString::fromLatin1( "PreviewTeXPaths" ) );
  TDEConfigSkeleton::ItemString  *itemBibInputPaths;
  itemBibInputPaths = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "BibInputPaths" ), mBibInputPaths );
  addItem( itemBibInputPaths, TQString::fromLatin1( "BibInputPaths" ) );
  TDEConfigSkeleton::ItemString  *itemBstInputPaths;
  itemBstInputPaths = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "BstInputPaths" ), mBstInputPaths );
  addItem( itemBstInputPaths, TQString::fromLatin1( "BstInputPaths" ) );

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

  TDEConfigSkeleton::ItemBool  *itemBottomBar;
  itemBottomBar = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "BottomBar" ), mBottomBar, true );
  addItem( itemBottomBar, TQString::fromLatin1( "BottomBar" ) );
  TDEConfigSkeleton::ItemInt  *itemBottomBarSize;
  itemBottomBarSize = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "BottomBarSize" ), mBottomBarSize, 200 );
  addItem( itemBottomBarSize, TQString::fromLatin1( "BottomBarSize" ) );
  TDEConfigSkeleton::ItemInt  *itemSideBarSize;
  itemSideBarSize = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "SideBarSize" ), mSideBarSize, 300 );
  addItem( itemSideBarSize, TQString::fromLatin1( "SideBarSize" ) );
  TDEConfigSkeleton::ItemBool  *itemSideBar;
  itemSideBar = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SideBar" ), mSideBar, true );
  addItem( itemSideBar, TQString::fromLatin1( "SideBar" ) );
  TDEConfigSkeleton::ItemBool  *itemHideProblemBadBox;
  itemHideProblemBadBox = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "HideProblemBadBox" ), mHideProblemBadBox, false );
  addItem( itemHideProblemBadBox, TQString::fromLatin1( "HideProblemBadBox" ) );
  TDEConfigSkeleton::ItemBool  *itemHideProblemWarning;
  itemHideProblemWarning = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "HideProblemWarning" ), mHideProblemWarning, false );
  addItem( itemHideProblemWarning, TQString::fromLatin1( "HideProblemWarning" ) );
  TDEConfigSkeleton::ItemInt  *itemSelectedLeftView;
  itemSelectedLeftView = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "SelectedLeftView" ), mSelectedLeftView, 1 );
  addItem( itemSelectedLeftView, TQString::fromLatin1( "SelectedLeftView" ) );

  setCurrentGroup( TQString::fromLatin1( "Editor Ext" ) );

  TDEConfigSkeleton::ItemBool  *itemCompleteEnvironment;
  itemCompleteEnvironment = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CompleteEnvironment" ), mCompleteEnvironment, true );
  addItem( itemCompleteEnvironment, TQString::fromLatin1( "CompleteEnvironment" ) );
  TDEConfigSkeleton::ItemBool  *itemEnvIndentation;
  itemEnvIndentation = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "envIndentation" ), mEnvIndentation, true );
  addItem( itemEnvIndentation, TQString::fromLatin1( "envIndentation" ) );
  TDEConfigSkeleton::ItemBool  *itemEnvIndentSpaces;
  itemEnvIndentSpaces = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "envIndentSpaces" ), mEnvIndentSpaces, true );
  addItem( itemEnvIndentSpaces, TQString::fromLatin1( "envIndentSpaces" ) );
  TDEConfigSkeleton::ItemInt  *itemEnvIndentNumSpaces;
  itemEnvIndentNumSpaces = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "envIndentNumSpaces" ), mEnvIndentNumSpaces, 1 );
  addItem( itemEnvIndentNumSpaces, TQString::fromLatin1( "envIndentNumSpaces" ) );
  TDEConfigSkeleton::ItemBool  *itemShowUserCommands;
  itemShowUserCommands = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowUserCommands" ), mShowUserCommands, false );
  addItem( itemShowUserCommands, TQString::fromLatin1( "ShowUserCommands" ) );
  TDEConfigSkeleton::ItemBool  *itemInsertDoubleQuotes;
  itemInsertDoubleQuotes = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "InsertDoubleQuotes" ), mInsertDoubleQuotes, true );
  addItem( itemInsertDoubleQuotes, TQString::fromLatin1( "InsertDoubleQuotes" ) );
  TDEConfigSkeleton::ItemInt  *itemDoubleQuotes;
  itemDoubleQuotes = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "DoubleQuotes" ), mDoubleQuotes, 0 );
  addItem( itemDoubleQuotes, TQString::fromLatin1( "DoubleQuotes" ) );

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

  TDEConfigSkeleton::ItemBool  *itemIgCenter;
  itemIgCenter = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "igCenter" ), mIgCenter, true );
  addItem( itemIgCenter, TQString::fromLatin1( "igCenter" ) );
  TDEConfigSkeleton::ItemBool  *itemIgPdftex;
  itemIgPdftex = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "igPdftex" ), mIgPdftex, false );
  addItem( itemIgPdftex, TQString::fromLatin1( "igPdftex" ) );
  TDEConfigSkeleton::ItemBool  *itemIgGraphicspath;
  itemIgGraphicspath = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "igGraphicspath" ), mIgGraphicspath, false );
  addItem( itemIgGraphicspath, TQString::fromLatin1( "igGraphicspath" ) );
  TDEConfigSkeleton::ItemBool  *itemIgFigure;
  itemIgFigure = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "igFigure" ), mIgFigure, false );
  addItem( itemIgFigure, TQString::fromLatin1( "igFigure" ) );
  TDEConfigSkeleton::ItemBool  *itemImagemagick;
  itemImagemagick = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "imagemagick" ), mImagemagick, false );
  addItem( itemImagemagick, TQString::fromLatin1( "imagemagick" ) );
  TDEConfigSkeleton::ItemBool  *itemBoundingbox;
  itemBoundingbox = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "boundingbox" ), mBoundingbox, true );
  addItem( itemBoundingbox, TQString::fromLatin1( "boundingbox" ) );
  TDEConfigSkeleton::ItemInt  *itemResolution;
  itemResolution = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "resolution" ), mResolution, 300 );
  addItem( itemResolution, TQString::fromLatin1( "resolution" ) );

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

  TDEConfigSkeleton::ItemString  *itemLocation;
  itemLocation = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "location" ), mLocation, TQString::fromLatin1( "/usr/share/texmf/doc" ) );
  addItem( itemLocation, TQString::fromLatin1( "location" ) );
  TDEConfigSkeleton::ItemInt  *itemUse;
  itemUse = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "use" ), mUse, 0 );
  addItem( itemUse, TQString::fromLatin1( "use" ) );
  TDEConfigSkeleton::ItemInt  *itemEmbedded;
  itemEmbedded = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "embedded" ), mEmbedded, 1 );
  addItem( itemEmbedded, TQString::fromLatin1( "embedded" ) );

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

  TDEConfigSkeleton::ItemString  *itemDefaultEncoding;
  itemDefaultEncoding = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "DefaultEncoding" ), mDefaultEncoding, TQString::fromLatin1( "invalid" ) );
  addItem( itemDefaultEncoding, TQString::fromLatin1( "DefaultEncoding" ) );
  TDEConfigSkeleton::ItemBool  *itemRestore;
  itemRestore = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Restore" ), mRestore, true );
  addItem( itemRestore, TQString::fromLatin1( "Restore" ) );
  TDEConfigSkeleton::ItemBool  *itemAutosave;
  itemAutosave = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Autosave" ), mAutosave, true );
  addItem( itemAutosave, TQString::fromLatin1( "Autosave" ) );
  TDEConfigSkeleton::ItemBool  *itemCleanUpAfterClose;
  itemCleanUpAfterClose = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CleanUpAfterClose" ), mCleanUpAfterClose, false );
  addItem( itemCleanUpAfterClose, TQString::fromLatin1( "CleanUpAfterClose" ) );
  TDEConfigSkeleton::ItemInt  *itemAutosaveInterval;
  itemAutosaveInterval = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "AutosaveInterval" ), mAutosaveInterval, 10 );
  addItem( itemAutosaveInterval, TQString::fromLatin1( "AutosaveInterval" ) );
  TDEConfigSkeleton::ItemString  *itemCleanUpFileExtensions;
  itemCleanUpFileExtensions = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "CleanUpFileExtensions" ), mCleanUpFileExtensions, TQString::fromLatin1( ".log .aux .lof .lot .bit .idx .glo .blg .ilg .toc .ind" ) );
  addItem( itemCleanUpFileExtensions, TQString::fromLatin1( "CleanUpFileExtensions" ) );
  TDEConfigSkeleton::ItemPath  *itemLastDocument;
  itemLastDocument = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "LastDocument" ), mLastDocument );
  addItem( itemLastDocument, TQString::fromLatin1( "LastDocument" ) );
  TDEConfigSkeleton::ItemString  *itemInputEncoding;
  itemInputEncoding = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "InputEncoding" ), mInputEncoding, 
				TQString::fromLatin1(TQTextCodec::codecForLocale()->name())
			 );
  addItem( itemInputEncoding, TQString::fromLatin1( "InputEncoding" ) );
  TDEConfigSkeleton::ItemPath  *itemLastDir;
  itemLastDir = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "lastDir" ), mLastDir );
  addItem( itemLastDir, TQString::fromLatin1( "lastDir" ) );

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

  TDEConfigSkeleton::ItemString  *itemAuthor;
  itemAuthor = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Author" ), mAuthor );
  addItem( itemAuthor, TQString::fromLatin1( "Author" ) );
  TDEConfigSkeleton::ItemString  *itemDocumentClassOptions;
  itemDocumentClassOptions = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "DocumentClassOptions" ), mDocumentClassOptions, TQString::fromLatin1( "a4paper,10pt" ) );
  addItem( itemDocumentClassOptions, TQString::fromLatin1( "DocumentClassOptions" ) );
  TDEConfigSkeleton::ItemString  *itemTemplateEncoding;
  itemTemplateEncoding = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "TemplateEncoding" ), mTemplateEncoding );
  addItem( itemTemplateEncoding, TQString::fromLatin1( "TemplateEncoding" ) );
  TDEConfigSkeleton::ItemString  *itemDefaultProjectLocation;
  itemDefaultProjectLocation = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "DefaultProjectLocation" ), mDefaultProjectLocation, 
				TQDir::home().absPath()
			 );
  addItem( itemDefaultProjectLocation, TQString::fromLatin1( "DefaultProjectLocation" ) );

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

  TDEConfigSkeleton::ItemBool  *itemCompleteEnabled;
  itemCompleteEnabled = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CompleteEnabled" ), mCompleteEnabled, true );
  addItem( itemCompleteEnabled, TQString::fromLatin1( "CompleteEnabled" ) );
  TDEConfigSkeleton::ItemBool  *itemCompleteCursor;
  itemCompleteCursor = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CompleteCursor" ), mCompleteCursor, true );
  addItem( itemCompleteCursor, TQString::fromLatin1( "CompleteCursor" ) );
  TDEConfigSkeleton::ItemBool  *itemCompleteBullets;
  itemCompleteBullets = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CompleteBullets" ), mCompleteBullets, true );
  addItem( itemCompleteBullets, TQString::fromLatin1( "CompleteBullets" ) );
  TDEConfigSkeleton::ItemBool  *itemCompleteCloseEnv;
  itemCompleteCloseEnv = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CompleteCloseEnv" ), mCompleteCloseEnv, true );
  addItem( itemCompleteCloseEnv, TQString::fromLatin1( "CompleteCloseEnv" ) );
  TDEConfigSkeleton::ItemBool  *itemCompleteAuto;
  itemCompleteAuto = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CompleteAuto" ), mCompleteAuto, true );
  addItem( itemCompleteAuto, TQString::fromLatin1( "CompleteAuto" ) );
  TDEConfigSkeleton::ItemBool  *itemCompleteAutoText;
  itemCompleteAutoText = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CompleteAutoText" ), mCompleteAutoText, false );
  addItem( itemCompleteAutoText, TQString::fromLatin1( "CompleteAutoText" ) );
  TDEConfigSkeleton::ItemBool  *itemCompleteAutoAbbrev;
  itemCompleteAutoAbbrev = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "completeAutoAbbrev" ), mCompleteAutoAbbrev, false );
  addItem( itemCompleteAutoAbbrev, TQString::fromLatin1( "completeAutoAbbrev" ) );
  TDEConfigSkeleton::ItemBool  *itemCompleteShowAbbrev;
  itemCompleteShowAbbrev = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "completeShowAbbrev" ), mCompleteShowAbbrev, false );
  addItem( itemCompleteShowAbbrev, TQString::fromLatin1( "completeShowAbbrev" ) );
  TDEConfigSkeleton::ItemBool  *itemCompleteCitationMove;
  itemCompleteCitationMove = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "completeCitationMove" ), mCompleteCitationMove, false );
  addItem( itemCompleteCitationMove, TQString::fromLatin1( "completeCitationMove" ) );
  TDEConfigSkeleton::ItemInt  *itemCompleteAutoThreshold;
  itemCompleteAutoThreshold = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "CompleteAutoThreshold" ), mCompleteAutoThreshold, 3 );
  addItem( itemCompleteAutoThreshold, TQString::fromLatin1( "CompleteAutoThreshold" ) );
  TDEConfigSkeleton::ItemInt  *itemCompleteAutoTextThreshold;
  itemCompleteAutoTextThreshold = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "CompleteAutoTextThreshold" ), mCompleteAutoTextThreshold, 3 );
  addItem( itemCompleteAutoTextThreshold, TQString::fromLatin1( "CompleteAutoTextThreshold" ) );
  TDEConfigSkeleton::ItemBool  *itemCompleteChangedLists;
  itemCompleteChangedLists = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CompleteChangedLists" ), mCompleteChangedLists, false );
  addItem( itemCompleteChangedLists, TQString::fromLatin1( "CompleteChangedLists" ) );
  TDEConfigSkeleton::ItemBool  *itemCompleteChangedCommands;
  itemCompleteChangedCommands = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CompleteChangedCommands" ), mCompleteChangedCommands, false );
  addItem( itemCompleteChangedCommands, TQString::fromLatin1( "CompleteChangedCommands" ) );
  TQStringList defaultCompleteTex;
  defaultCompleteTex.append( TQString::fromUtf8( "1-latex-document" ) );
  defaultCompleteTex.append( TQString::fromUtf8( "1-tex" ) );

  TDEConfigSkeleton::ItemStringList  *itemCompleteTex;
  itemCompleteTex = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "CompleteTex" ), mCompleteTex, defaultCompleteTex );
  addItem( itemCompleteTex, TQString::fromLatin1( "CompleteTex" ) );
  TDEConfigSkeleton::ItemStringList  *itemCompleteDict;
  itemCompleteDict = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "CompleteDict" ), mCompleteDict );
  addItem( itemCompleteDict, TQString::fromLatin1( "CompleteDict" ) );
  TDEConfigSkeleton::ItemStringList  *itemCompleteAbbrev;
  itemCompleteAbbrev = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "CompleteAbbrev" ), mCompleteAbbrev );
  addItem( itemCompleteAbbrev, TQString::fromLatin1( "CompleteAbbrev" ) );
  TDEConfigSkeleton::ItemBool  *itemAutoInsertDollar;
  itemAutoInsertDollar = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "autoInsertDollar" ), mAutoInsertDollar, false );
  addItem( itemAutoInsertDollar, TQString::fromLatin1( "autoInsertDollar" ) );

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

  TDEConfigSkeleton::ItemString  *itemMaster;
  itemMaster = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Master" ), mMaster );
  addItem( itemMaster, TQString::fromLatin1( "Master" ) );

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

  TDEConfigSkeleton::ItemString  *itemPreviewTask;
  itemPreviewTask = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "previewTask" ), mPreviewTask, TQString::fromLatin1( "LaTeX ---> DVI" ) );
  addItem( itemPreviewTask, TQString::fromLatin1( "previewTask" ) );
  TDEConfigSkeleton::ItemBool  *itemDvipng;
  itemDvipng = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "dvipng" ), mDvipng, false );
  addItem( itemDvipng, TQString::fromLatin1( "dvipng" ) );
  TDEConfigSkeleton::ItemBool  *itemConvert;
  itemConvert = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "convert" ), mConvert, false );
  addItem( itemConvert, TQString::fromLatin1( "convert" ) );
  TDEConfigSkeleton::ItemString  *itemDvipngResolution;
  itemDvipngResolution = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "dvipngResolution" ), mDvipngResolution, TQString::fromLatin1( "120" ) );
  addItem( itemDvipngResolution, TQString::fromLatin1( "dvipngResolution" ) );
  TDEConfigSkeleton::ItemBool  *itemEnvPreviewInWidget;
  itemEnvPreviewInWidget = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "envPreviewInWidget" ), mEnvPreviewInWidget, false );
  addItem( itemEnvPreviewInWidget, TQString::fromLatin1( "envPreviewInWidget" ) );
  TDEConfigSkeleton::ItemBool  *itemSelPreviewInWidget;
  itemSelPreviewInWidget = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "selPreviewInWidget" ), mSelPreviewInWidget, false );
  addItem( itemSelPreviewInWidget, TQString::fromLatin1( "selPreviewInWidget" ) );
  TDEConfigSkeleton::ItemBool  *itemMathgroupPreviewInWidget;
  itemMathgroupPreviewInWidget = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "mathgroupPreviewInWidget" ), mMathgroupPreviewInWidget, false );
  addItem( itemMathgroupPreviewInWidget, TQString::fromLatin1( "mathgroupPreviewInWidget" ) );
  TDEConfigSkeleton::ItemInt  *itemEnvPreviewTool;
  itemEnvPreviewTool = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "envPreviewTool" ), mEnvPreviewTool, 0 );
  addItem( itemEnvPreviewTool, TQString::fromLatin1( "envPreviewTool" ) );
  TDEConfigSkeleton::ItemInt  *itemSelPreviewTool;
  itemSelPreviewTool = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "selPreviewTool" ), mSelPreviewTool, 0 );
  addItem( itemSelPreviewTool, TQString::fromLatin1( "selPreviewTool" ) );

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

  TDEConfigSkeleton::ItemStringList  *itemUserClasses;
  itemUserClasses = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "userClasses" ), mUserClasses );
  addItem( itemUserClasses, TQString::fromLatin1( "userClasses" ) );
  TDEConfigSkeleton::ItemString  *itemDocumentClass;
  itemDocumentClass = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "documentClass" ), mDocumentClass, TQString::fromLatin1( "article" ) );
  addItem( itemDocumentClass, TQString::fromLatin1( "documentClass" ) );
  TDEConfigSkeleton::ItemString  *itemEncoding;
  itemEncoding = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "encoding" ), mEncoding, TQString::fromLatin1( "latin1" ) );
  addItem( itemEncoding, TQString::fromLatin1( "encoding" ) );
  TDEConfigSkeleton::ItemString  *itemOptionsArticle;
  itemOptionsArticle = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "optionsArticle" ), mOptionsArticle );
  addItem( itemOptionsArticle, TQString::fromLatin1( "optionsArticle" ) );
  TDEConfigSkeleton::ItemString  *itemOptionsBook;
  itemOptionsBook = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "optionsBook" ), mOptionsBook );
  addItem( itemOptionsBook, TQString::fromLatin1( "optionsBook" ) );
  TDEConfigSkeleton::ItemString  *itemOptionsReport;
  itemOptionsReport = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "optionsReport" ), mOptionsReport );
  addItem( itemOptionsReport, TQString::fromLatin1( "optionsReport" ) );
  TDEConfigSkeleton::ItemString  *itemOptionsLetter;
  itemOptionsLetter = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "optionsLetter" ), mOptionsLetter );
  addItem( itemOptionsLetter, TQString::fromLatin1( "optionsLetter" ) );
  TDEConfigSkeleton::ItemString  *itemOptionsScrartcl;
  itemOptionsScrartcl = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "optionsScrartcl" ), mOptionsScrartcl );
  addItem( itemOptionsScrartcl, TQString::fromLatin1( "optionsScrartcl" ) );
  TDEConfigSkeleton::ItemString  *itemOptionsScrbook;
  itemOptionsScrbook = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "optionsScrbook" ), mOptionsScrbook );
  addItem( itemOptionsScrbook, TQString::fromLatin1( "optionsScrbook" ) );
  TDEConfigSkeleton::ItemString  *itemOptionsScrreprt;
  itemOptionsScrreprt = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "optionsScrreprt" ), mOptionsScrreprt );
  addItem( itemOptionsScrreprt, TQString::fromLatin1( "optionsScrreprt" ) );
  TDEConfigSkeleton::ItemString  *itemOptionsProsper;
  itemOptionsProsper = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "optionsProsper" ), mOptionsProsper );
  addItem( itemOptionsProsper, TQString::fromLatin1( "optionsProsper" ) );
  TDEConfigSkeleton::ItemString  *itemOptionsBeamer;
  itemOptionsBeamer = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "optionsBeamer" ), mOptionsBeamer );
  addItem( itemOptionsBeamer, TQString::fromLatin1( "optionsBeamer" ) );

  setCurrentGroup( TQString::fromLatin1( "QuickDocument/Packages" ) );

  TDEConfigSkeleton::ItemStringList  *itemPackagesList;
  itemPackagesList = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "packagesList" ), mPackagesList );
  addItem( itemPackagesList, TQString::fromLatin1( "packagesList" ) );

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

  TDEConfigSkeleton::ItemStringList  *itemLastSearchItems;
  itemLastSearchItems = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "LastSearchItems" ), mLastSearchItems );
  addItem( itemLastSearchItems, TQString::fromLatin1( "LastSearchItems" ) );
  TDEConfigSkeleton::ItemStringList  *itemLastSearchPaths;
  itemLastSearchPaths = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "LastSearchPaths" ), mLastSearchPaths );
  addItem( itemLastSearchPaths, TQString::fromLatin1( "LastSearchPaths" ) );
  TDEConfigSkeleton::ItemStringList  *itemLastSearchTemplates;
  itemLastSearchTemplates = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "LastSearchTemplates" ), mLastSearchTemplates );
  addItem( itemLastSearchTemplates, TQString::fromLatin1( "LastSearchTemplates" ) );
  TDEConfigSkeleton::ItemBool  *itemGrepRecursive;
  itemGrepRecursive = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "GrepRecursive" ), mGrepRecursive, true );
  addItem( itemGrepRecursive, TQString::fromLatin1( "GrepRecursive" ) );

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

  TDEConfigSkeleton::ItemBool  *itemUnfoldConfigTree;
  itemUnfoldConfigTree = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UnfoldConfigTree" ), mUnfoldConfigTree, false );
  addItem( itemUnfoldConfigTree, TQString::fromLatin1( "UnfoldConfigTree" ) );

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

  TDEConfigSkeleton::ItemBool  *itemScriptingEnabled;
  itemScriptingEnabled = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ScriptingEnabled" ), mScriptingEnabled, true );
  addItem( itemScriptingEnabled, TQString::fromLatin1( "ScriptingEnabled" ) );
  TDEConfigSkeleton::ItemBool  *itemTimeLimitEnabled;
  itemTimeLimitEnabled = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "TimeLimitEnabled" ), mTimeLimitEnabled, true );
  addItem( itemTimeLimitEnabled, TQString::fromLatin1( "TimeLimitEnabled" ) );
  TDEConfigSkeleton::ItemInt  *itemTimeLimit;
  itemTimeLimit = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "TimeLimit" ), mTimeLimit, 5 );
  addItem( itemTimeLimit, TQString::fromLatin1( "TimeLimit" ) );

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

  TDEConfigSkeleton::ItemUInt  *itemNumSymbolsMFUS;
  itemNumSymbolsMFUS = new TDEConfigSkeleton::ItemUInt( currentGroup(), TQString::fromLatin1( "numSymbolsMFUS" ), mNumSymbolsMFUS, 30 );
  addItem( itemNumSymbolsMFUS, TQString::fromLatin1( "numSymbolsMFUS" ) );
  TDEConfigSkeleton::ItemBool  *itemDisplayMFUS;
  itemDisplayMFUS = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "displayMFUS" ), mDisplayMFUS, true );
  addItem( itemDisplayMFUS, TQString::fromLatin1( "displayMFUS" ) );
  TDEConfigSkeleton::ItemBool  *itemClearMFUS;
  itemClearMFUS = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "clearMFUS" ), mClearMFUS, false );
  addItem( itemClearMFUS, TQString::fromLatin1( "clearMFUS" ) );
}

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

