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

#include "klsconfig.h"

#include <kstaticdeleter.h>

KLSConfig *KLSConfig::mSelf = 0;
static KStaticDeleter<KLSConfig> staticKLSConfigDeleter;

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

  return mSelf;
}

KLSConfig::KLSConfig(  )
  : TDEConfigSkeleton( TQString::fromLatin1( "klinkstatus_shell.rc" ) )
{
  mSelf = this;
  setCurrentGroup( TQString::fromLatin1( "klinkstatus" ) );

  TDEConfigSkeleton::ItemInt  *itemMaxCountComboUrl;
  itemMaxCountComboUrl = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MaxCountComboUrl" ), mMaxCountComboUrl, 50 );
  addItem( itemMaxCountComboUrl, TQString::fromLatin1( "MaxCountComboUrl" ) );
  TDEConfigSkeleton::ItemInt  *itemMaxConnectionsNumber;
  itemMaxConnectionsNumber = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MaxConnectionsNumber" ), mMaxConnectionsNumber, 5 );
  addItem( itemMaxConnectionsNumber, TQString::fromLatin1( "MaxConnectionsNumber" ) );
  TDEConfigSkeleton::ItemInt  *itemTimeOut;
  itemTimeOut = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "TimeOut" ), mTimeOut, 35 );
  addItem( itemTimeOut, TQString::fromLatin1( "TimeOut" ) );
  TDEConfigSkeleton::ItemStringList  *itemComboUrlHistory;
  itemComboUrlHistory = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "ComboUrlHistory" ), mComboUrlHistory );
  addItem( itemComboUrlHistory, TQString::fromLatin1( "ComboUrlHistory" ) );
  TDEConfigSkeleton::ItemBool  *itemRecursiveCheck;
  itemRecursiveCheck = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "RecursiveCheck" ), mRecursiveCheck, true );
  addItem( itemRecursiveCheck, TQString::fromLatin1( "RecursiveCheck" ) );
  TDEConfigSkeleton::ItemInt  *itemDepth;
  itemDepth = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Depth" ), mDepth, 0 );
  addItem( itemDepth, TQString::fromLatin1( "Depth" ) );
  TDEConfigSkeleton::ItemBool  *itemCheckParentFolders;
  itemCheckParentFolders = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CheckParentFolders" ), mCheckParentFolders, true );
  addItem( itemCheckParentFolders, TQString::fromLatin1( "CheckParentFolders" ) );
  TDEConfigSkeleton::ItemBool  *itemCheckExternalLinks;
  itemCheckExternalLinks = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CheckExternalLinks" ), mCheckExternalLinks, true );
  addItem( itemCheckExternalLinks, TQString::fromLatin1( "CheckExternalLinks" ) );
  TDEConfigSkeleton::ItemBool  *itemRememberCheckSettings;
  itemRememberCheckSettings = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "RememberCheckSettings" ), mRememberCheckSettings, false );
  addItem( itemRememberCheckSettings, TQString::fromLatin1( "RememberCheckSettings" ) );
  TDEConfigSkeleton::ItemBool  *itemUseQuantaUrlPreviewPrefix;
  itemUseQuantaUrlPreviewPrefix = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseQuantaUrlPreviewPrefix" ), mUseQuantaUrlPreviewPrefix, true );
  addItem( itemUseQuantaUrlPreviewPrefix, TQString::fromLatin1( "UseQuantaUrlPreviewPrefix" ) );
  TDEConfigSkeleton::ItemBool  *itemDisplayTreeView;
  itemDisplayTreeView = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DisplayTreeView" ), mDisplayTreeView, true );
  addItem( itemDisplayTreeView, TQString::fromLatin1( "DisplayTreeView" ) );
  TDEConfigSkeleton::ItemBool  *itemDisplayFlatView;
  itemDisplayFlatView = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DisplayFlatView" ), mDisplayFlatView, false );
  addItem( itemDisplayFlatView, TQString::fromLatin1( "DisplayFlatView" ) );
  TDEConfigSkeleton::ItemBool  *itemAutoAdjustColumnWidth;
  itemAutoAdjustColumnWidth = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "AutoAdjustColumnWidth" ), mAutoAdjustColumnWidth, false );
  addItem( itemAutoAdjustColumnWidth, TQString::fromLatin1( "AutoAdjustColumnWidth" ) );
  TDEConfigSkeleton::ItemBool  *itemFollowLastLinkChecked;
  itemFollowLastLinkChecked = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "FollowLastLinkChecked" ), mFollowLastLinkChecked, true );
  addItem( itemFollowLastLinkChecked, TQString::fromLatin1( "FollowLastLinkChecked" ) );
  TDEConfigSkeleton::ItemBool  *itemShowMarkupStatus;
  itemShowMarkupStatus = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowMarkupStatus" ), mShowMarkupStatus, false );
  addItem( itemShowMarkupStatus, TQString::fromLatin1( "ShowMarkupStatus" ) );
  TDEConfigSkeleton::ItemBool  *itemSendIdentification;
  itemSendIdentification = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SendIdentification" ), mSendIdentification, true );
  addItem( itemSendIdentification, TQString::fromLatin1( "SendIdentification" ) );
  TDEConfigSkeleton::ItemString  *itemUserAgent;
  itemUserAgent = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "UserAgent" ), mUserAgent );
  addItem( itemUserAgent, TQString::fromLatin1( "UserAgent" ) );
}

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

