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

#include "superkarambasettings.h"

#include <kstaticdeleter.h>

SuperKarambaSettings *SuperKarambaSettings::mSelf = 0;
static KStaticDeleter<SuperKarambaSettings> staticSuperKarambaSettingsDeleter;

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

  return mSelf;
}

SuperKarambaSettings::SuperKarambaSettings(  )
  : TDEConfigSkeleton( TQString::fromLatin1( "superkarambarc" ) )
{
  mSelf = this;
  setCurrentGroup( TQString::fromLatin1( "general" ) );

  TDEConfigSkeleton::ItemBool  *itemShowSysTray;
  itemShowSysTray = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowSysTray" ), mShowSysTray, true );
  addItem( itemShowSysTray, TQString::fromLatin1( "ShowSysTray" ) );

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

  TDEConfigSkeleton::ItemPathList  *itemUserAddedThemes;
  itemUserAddedThemes = new TDEConfigSkeleton::ItemPathList( currentGroup(), TQString::fromLatin1( "UserAddedThemes" ), mUserAddedThemes );
  addItem( itemUserAddedThemes, TQString::fromLatin1( "UserAddedThemes" ) );
}

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

