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

#include "pass.h"

#include <kstaticdeleter.h>

KCFGPassword *KCFGPassword::mSelf = 0;
static KStaticDeleter<KCFGPassword> staticKCFGPasswordDeleter;

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

  return mSelf;
}

KCFGPassword::KCFGPassword(  )
  : TDEConfigSkeleton( TQString::fromLatin1( "kdeglobals" ) )
{
  mSelf = this;
  setCurrentGroup( TQString::fromLatin1( "Passwords" ) );

  TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesEchoMode;
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "OneStar" );
    valuesEchoMode.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "ThreeStars" );
    valuesEchoMode.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "NoEcho" );
    valuesEchoMode.append( choice );
  }
  TDEConfigSkeleton::ItemEnum  *itemEchoMode;
  itemEchoMode = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "EchoMode" ), mEchoMode, valuesEchoMode, EnumEchoMode::OneStar );
  addItem( itemEchoMode, TQString::fromLatin1( "EchoMode" ) );
}

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

