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

#include "settings.h"

#include <kstaticdeleter.h>

kgeographySettings *kgeographySettings::mSelf = 0;
static KStaticDeleter<kgeographySettings> statickgeographySettingsDeleter;

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

  return mSelf;
}

kgeographySettings::kgeographySettings(  )
  : TDEConfigSkeleton( TQString::fromLatin1( "kgeographyrc" ) )
{
  mSelf = this;
  setCurrentGroup( TQString::fromLatin1( "general" ) );

  TDEConfigSkeleton::ItemString  *itemLastMap;
  itemLastMap = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "lastMap" ), mLastMap );
  addItem( itemLastMap, TQString::fromLatin1( "lastMap" ) );
}

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

