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

#include "settings.h"

#include <kstaticdeleter.h>

KEBSettings *KEBSettings::mSelf = 0;
static KStaticDeleter<KEBSettings> staticKEBSettingsDeleter;

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

  return mSelf;
}

KEBSettings::KEBSettings(  )
  : TDEConfigSkeleton( TQString::fromLatin1( "keditbookmarksrc" ) )
{
  mSelf = this;
  setCurrentGroup( TQString::fromLatin1( "Columns" ) );

  TDEConfigSkeleton::ItemInt  *itemName;
  itemName = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Name" ), mName, 300 );
  addItem( itemName, TQString::fromLatin1( "Name" ) );
  TDEConfigSkeleton::ItemInt  *itemURL;
  itemURL = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "URL" ), mURL, 300 );
  addItem( itemURL, TQString::fromLatin1( "URL" ) );
  TDEConfigSkeleton::ItemInt  *itemComment;
  itemComment = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Comment" ), mComment, 300 );
  addItem( itemComment, TQString::fromLatin1( "Comment" ) );
  TDEConfigSkeleton::ItemInt  *itemStatus;
  itemStatus = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Status" ), mStatus, 300 );
  addItem( itemStatus, TQString::fromLatin1( "Status" ) );
  TDEConfigSkeleton::ItemInt  *itemAddress;
  itemAddress = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Address" ), mAddress, 300 );
  addItem( itemAddress, TQString::fromLatin1( "Address" ) );

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

  TDEConfigSkeleton::ItemBool  *itemSaveOnClose;
  itemSaveOnClose = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Save On Close" ), mSaveOnClose );
  addItem( itemSaveOnClose, TQString::fromLatin1( "SaveOnClose" ) );
}

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

