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

#include "settings.h"

#include <kstaticdeleter.h>

blinkenSettings *blinkenSettings::mSelf = 0;
static KStaticDeleter<blinkenSettings> staticblinkenSettingsDeleter;

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

  return mSelf;
}

blinkenSettings::blinkenSettings(  )
  : TDEConfigSkeleton( TQString::fromLatin1( "blinkenrc" ) )
{
  mSelf = this;
  setCurrentGroup( TQString::fromLatin1( "general" ) );

  TDEConfigSkeleton::ItemBool  *itemPlaySounds;
  itemPlaySounds = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "playSounds" ), mPlaySounds, true );
  addItem( itemPlaySounds, TQString::fromLatin1( "playSounds" ) );
  TDEConfigSkeleton::ItemBool  *itemCustomFont;
  itemCustomFont = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "customFont" ), mCustomFont, true );
  addItem( itemCustomFont, TQString::fromLatin1( "customFont" ) );
}

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

