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

#include "schedulerpluginsettings.h"

#include <kstaticdeleter.h>

SchedulerPluginSettings *SchedulerPluginSettings::mSelf = 0;
static KStaticDeleter<SchedulerPluginSettings> staticSchedulerPluginSettingsDeleter;

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

  return mSelf;
}

SchedulerPluginSettings::SchedulerPluginSettings(  )
  : TDEConfigSkeleton( TQString::fromLatin1( "ktschedulerpluginrc" ) )
{
  mSelf = this;
  setCurrentGroup( TQString::fromLatin1( "general" ) );

  TDEConfigSkeleton::ItemBool  *itemEnableBWS;
  itemEnableBWS = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "enableBWS" ), mEnableBWS, false );
  addItem( itemEnableBWS, TQString::fromLatin1( "enableBWS" ) );
  TDEConfigSkeleton::ItemBool  *itemUseColors;
  itemUseColors = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "useColors" ), mUseColors, false );
  addItem( itemUseColors, TQString::fromLatin1( "useColors" ) );
}

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

