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

#include "logviewerpluginsettings.h"

#include <kstaticdeleter.h>

LogViewerPluginSettings *LogViewerPluginSettings::mSelf = 0;
static KStaticDeleter<LogViewerPluginSettings> staticLogViewerPluginSettingsDeleter;

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

  return mSelf;
}

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

  TDEConfigSkeleton::ItemBool  *itemUseRichText;
  itemUseRichText = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "useRichText" ), mUseRichText, false );
  addItem( itemUseRichText, TQString::fromLatin1( "useRichText" ) );
  TDEConfigSkeleton::ItemUInt  *itemSysGEN;
  itemSysGEN = new TDEConfigSkeleton::ItemUInt( currentGroup(), TQString::fromLatin1( "sysGEN" ), mSysGEN, 0 );
  addItem( itemSysGEN, TQString::fromLatin1( "sysGEN" ) );
  TDEConfigSkeleton::ItemUInt  *itemSysCON;
  itemSysCON = new TDEConfigSkeleton::ItemUInt( currentGroup(), TQString::fromLatin1( "sysCON" ), mSysCON, 0 );
  addItem( itemSysCON, TQString::fromLatin1( "sysCON" ) );
  TDEConfigSkeleton::ItemUInt  *itemSysDHT;
  itemSysDHT = new TDEConfigSkeleton::ItemUInt( currentGroup(), TQString::fromLatin1( "sysDHT" ), mSysDHT, 0 );
  addItem( itemSysDHT, TQString::fromLatin1( "sysDHT" ) );
  TDEConfigSkeleton::ItemUInt  *itemSysTRK;
  itemSysTRK = new TDEConfigSkeleton::ItemUInt( currentGroup(), TQString::fromLatin1( "sysTRK" ), mSysTRK, 0 );
  addItem( itemSysTRK, TQString::fromLatin1( "sysTRK" ) );
  TDEConfigSkeleton::ItemUInt  *itemSysDIO;
  itemSysDIO = new TDEConfigSkeleton::ItemUInt( currentGroup(), TQString::fromLatin1( "sysDIO" ), mSysDIO, 0 );
  addItem( itemSysDIO, TQString::fromLatin1( "sysDIO" ) );
  TDEConfigSkeleton::ItemUInt  *itemSysIPF;
  itemSysIPF = new TDEConfigSkeleton::ItemUInt( currentGroup(), TQString::fromLatin1( "sysIPF" ), mSysIPF, 0 );
  addItem( itemSysIPF, TQString::fromLatin1( "sysIPF" ) );
  TDEConfigSkeleton::ItemUInt  *itemSysSRC;
  itemSysSRC = new TDEConfigSkeleton::ItemUInt( currentGroup(), TQString::fromLatin1( "sysSRC" ), mSysSRC, 0 );
  addItem( itemSysSRC, TQString::fromLatin1( "sysSRC" ) );
  TDEConfigSkeleton::ItemUInt  *itemSysPFI;
  itemSysPFI = new TDEConfigSkeleton::ItemUInt( currentGroup(), TQString::fromLatin1( "sysPFI" ), mSysPFI, 0 );
  addItem( itemSysPFI, TQString::fromLatin1( "sysPFI" ) );
  TDEConfigSkeleton::ItemUInt  *itemSysINW;
  itemSysINW = new TDEConfigSkeleton::ItemUInt( currentGroup(), TQString::fromLatin1( "sysINW" ), mSysINW, 0 );
  addItem( itemSysINW, TQString::fromLatin1( "sysINW" ) );
  TDEConfigSkeleton::ItemUInt  *itemSysPNP;
  itemSysPNP = new TDEConfigSkeleton::ItemUInt( currentGroup(), TQString::fromLatin1( "sysPNP" ), mSysPNP, 0 );
  addItem( itemSysPNP, TQString::fromLatin1( "sysPNP" ) );
  TDEConfigSkeleton::ItemUInt  *itemSysSNF;
  itemSysSNF = new TDEConfigSkeleton::ItemUInt( currentGroup(), TQString::fromLatin1( "sysSNF" ), mSysSNF, 0 );
  addItem( itemSysSNF, TQString::fromLatin1( "sysSNF" ) );
  TDEConfigSkeleton::ItemUInt  *itemSysSCD;
  itemSysSCD = new TDEConfigSkeleton::ItemUInt( currentGroup(), TQString::fromLatin1( "sysSCD" ), mSysSCD, 0 );
  addItem( itemSysSCD, TQString::fromLatin1( "sysSCD" ) );
  TDEConfigSkeleton::ItemUInt  *itemSysRSS;
  itemSysRSS = new TDEConfigSkeleton::ItemUInt( currentGroup(), TQString::fromLatin1( "sysRSS" ), mSysRSS, 0 );
  addItem( itemSysRSS, TQString::fromLatin1( "sysRSS" ) );
  TDEConfigSkeleton::ItemUInt  *itemSysWEB;
  itemSysWEB = new TDEConfigSkeleton::ItemUInt( currentGroup(), TQString::fromLatin1( "sysWEB" ), mSysWEB, 0 );
  addItem( itemSysWEB, TQString::fromLatin1( "sysWEB" ) );
}

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

