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

#include "kopeteconfig.h"

#include <kstaticdeleter.h>

using namespace Kopete;

Config *Config::mSelf = 0;
static KStaticDeleter<Config> staticConfigDeleter;

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

  return mSelf;
}

Config::Config(  )
  : TDEConfigSkeleton( TQString::fromLatin1( "kopete" ) )
{
  mSelf = this;
  setCurrentGroup( TQString::fromLatin1( "GlobalIdentity" ) );

  mEnableGlobalIdentityItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "enableGlobalIdentity" ), mEnableGlobalIdentity, false );
  addItem( mEnableGlobalIdentityItem, TQString::fromLatin1( "EnableGlobalIdentity" ) );
}

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

