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

#include "AASaverConfig.h"

#include <kstaticdeleter.h>

AASaverConfig *AASaverConfig::mSelf = 0;
static KStaticDeleter<AASaverConfig> staticAASaverConfigDeleter;

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

  return mSelf;
}

AASaverConfig::AASaverConfig(  )
  : TDEConfigSkeleton( TQString::fromLatin1( "tdeasciiquariumrc" ) )
{
  mSelf = this;
  setCurrentGroup( TQString::fromLatin1( "Settings" ) );

  TDEConfigSkeleton::ItemInt  *itemFishCount;
  itemFishCount = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "fishCount" ), mFishCount, 20 );
  addItem( itemFishCount, TQString::fromLatin1( "fishCount" ) );
}

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

