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

#include "kwebdesktopsettings.h"

#include <kstaticdeleter.h>

KWebDesktopSettings *KWebDesktopSettings::mSelf = 0;
static KStaticDeleter<KWebDesktopSettings> staticKWebDesktopSettingsDeleter;

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

  return mSelf;
}

KWebDesktopSettings::KWebDesktopSettings(  )
  : TDEConfigSkeleton( TQString::fromLatin1( "kwebdesktoprc" ) )
{
  mSelf = this;
  setCurrentGroup( TQString::fromLatin1( "Settings" ) );

  TDEConfigSkeleton::ItemString  *itemURL;
  itemURL = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "URL" ), mURL, TQString::fromLatin1( "http://www.kde.org/" ) );
  addItem( itemURL, TQString::fromLatin1( "URL" ) );
}

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

