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

#include "latexconfig.h"

#include <kstaticdeleter.h>

LatexConfig *LatexConfig::mSelf = 0;
static KStaticDeleter<LatexConfig> staticLatexConfigDeleter;

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

  return mSelf;
}

LatexConfig::LatexConfig(  )
  : TDEConfigSkeleton( TQString::fromLatin1( "kopeterc" ) )
{
  mSelf = this;
  setCurrentGroup( TQString::fromLatin1( "Latex Plugin" ) );

  TDEConfigSkeleton::ItemUInt  *itemHorizontalDPI;
  itemHorizontalDPI = new TDEConfigSkeleton::ItemUInt( currentGroup(), TQString::fromLatin1( "HorizontalDPI" ), mHorizontalDPI, 150 );
  addItem( itemHorizontalDPI, TQString::fromLatin1( "HorizontalDPI" ) );
  TDEConfigSkeleton::ItemUInt  *itemVerticalDPI;
  itemVerticalDPI = new TDEConfigSkeleton::ItemUInt( currentGroup(), TQString::fromLatin1( "VerticalDPI" ), mVerticalDPI, 150 );
  addItem( itemVerticalDPI, TQString::fromLatin1( "VerticalDPI" ) );
}

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

