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

#include "tdelaunchsettings.h"

#include <kstaticdeleter.h>

TDELaunchSettings *TDELaunchSettings::mSelf = 0;
static KStaticDeleter<TDELaunchSettings> staticTDELaunchSettingsDeleter;

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

  return mSelf;
}

TDELaunchSettings::TDELaunchSettings(  )
  : TDEConfigSkeleton( TQString::fromLatin1( "tdelaunchrc" ) )
{
  mSelf = this;
  setCurrentGroup( TQString::fromLatin1( "BusyCursorSettings" ) );

  TDEConfigSkeleton::ItemInt  *itemTimeout;
  itemTimeout = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Timeout" ), mTimeout, 30 );
  addItem( itemTimeout, TQString::fromLatin1( "Timeout" ) );
  TDEConfigSkeleton::ItemBool  *itemBlinking;
  itemBlinking = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Blinking" ), mBlinking, false );
  addItem( itemBlinking, TQString::fromLatin1( "Blinking" ) );
  TDEConfigSkeleton::ItemBool  *itemBouncing;
  itemBouncing = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Bouncing" ), mBouncing, false );
  addItem( itemBouncing, TQString::fromLatin1( "Bouncing" ) );

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

  TDEConfigSkeleton::ItemBool  *itemBusyCursor;
  itemBusyCursor = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "BusyCursor" ), mBusyCursor, false );
  addItem( itemBusyCursor, TQString::fromLatin1( "BusyCursor" ) );
}

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

