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

#include "infowidgetpluginsettings.h"

#include <kstaticdeleter.h>

InfoWidgetPluginSettings *InfoWidgetPluginSettings::mSelf = 0;
static KStaticDeleter<InfoWidgetPluginSettings> staticInfoWidgetPluginSettingsDeleter;

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

  return mSelf;
}

InfoWidgetPluginSettings::InfoWidgetPluginSettings(  )
  : TDEConfigSkeleton( TQString::fromLatin1( "ktinfowidgetpluginrc" ) )
{
  mSelf = this;
  setCurrentGroup( TQString::fromLatin1( "general" ) );

  TDEConfigSkeleton::ItemBool  *itemShowPeerView;
  itemShowPeerView = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "showPeerView" ), mShowPeerView, true );
  addItem( itemShowPeerView, TQString::fromLatin1( "showPeerView" ) );
  TDEConfigSkeleton::ItemBool  *itemShowChunkView;
  itemShowChunkView = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "showChunkView" ), mShowChunkView, true );
  addItem( itemShowChunkView, TQString::fromLatin1( "showChunkView" ) );
  TDEConfigSkeleton::ItemBool  *itemShowTrackersView;
  itemShowTrackersView = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "showTrackersView" ), mShowTrackersView, true );
  addItem( itemShowTrackersView, TQString::fromLatin1( "showTrackersView" ) );
}

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

