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

#include "scanfolderpluginsettings.h"

#include <kstaticdeleter.h>

ScanFolderPluginSettings *ScanFolderPluginSettings::mSelf = 0;
static KStaticDeleter<ScanFolderPluginSettings> staticScanFolderPluginSettingsDeleter;

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

  return mSelf;
}

ScanFolderPluginSettings::ScanFolderPluginSettings(  )
  : TDEConfigSkeleton()
{
  mSelf = this;
  setCurrentGroup( TQString::fromLatin1( "general" ) );

  TDEConfigSkeleton::ItemBool  *itemUseFolder1;
  itemUseFolder1 = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "useFolder1" ), mUseFolder1, false );
  addItem( itemUseFolder1, TQString::fromLatin1( "useFolder1" ) );
  TDEConfigSkeleton::ItemBool  *itemUseFolder2;
  itemUseFolder2 = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "useFolder2" ), mUseFolder2, false );
  addItem( itemUseFolder2, TQString::fromLatin1( "useFolder2" ) );
  TDEConfigSkeleton::ItemBool  *itemUseFolder3;
  itemUseFolder3 = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "useFolder3" ), mUseFolder3, false );
  addItem( itemUseFolder3, TQString::fromLatin1( "useFolder3" ) );
  TDEConfigSkeleton::ItemString  *itemFolder1;
  itemFolder1 = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "folder1" ), mFolder1 );
  addItem( itemFolder1, TQString::fromLatin1( "folder1" ) );
  TDEConfigSkeleton::ItemString  *itemFolder2;
  itemFolder2 = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "folder2" ), mFolder2 );
  addItem( itemFolder2, TQString::fromLatin1( "folder2" ) );
  TDEConfigSkeleton::ItemString  *itemFolder3;
  itemFolder3 = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "folder3" ), mFolder3 );
  addItem( itemFolder3, TQString::fromLatin1( "folder3" ) );
  TDEConfigSkeleton::ItemBool  *itemOpenSilently;
  itemOpenSilently = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "openSilently" ), mOpenSilently, false );
  addItem( itemOpenSilently, TQString::fromLatin1( "openSilently" ) );
  TDEConfigSkeleton::ItemBool  *itemActionDelete;
  itemActionDelete = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "actionDelete" ), mActionDelete, false );
  addItem( itemActionDelete, TQString::fromLatin1( "actionDelete" ) );
  TDEConfigSkeleton::ItemBool  *itemActionMove;
  itemActionMove = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "actionMove" ), mActionMove, false );
  addItem( itemActionMove, TQString::fromLatin1( "actionMove" ) );
}

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

