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

#include "prefs.h"

Prefs::Prefs(  TDESharedConfig::Ptr config  )
  : TDEConfigSkeleton( config )
{
  setCurrentGroup( TQString::fromLatin1( "General" ) );

  TDEConfigSkeleton::ItemBool  *itemConserveSpace;
  itemConserveSpace = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ConserveSpace" ), mConserveSpace, false );
  addItem( itemConserveSpace, TQString::fromLatin1( "ConserveSpace" ) );
  TDEConfigSkeleton::ItemBool  *itemDragEnabled;
  itemDragEnabled = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DragEnabled" ), mDragEnabled, true );
  addItem( itemDragEnabled, TQString::fromLatin1( "DragEnabled" ) );
  TDEConfigSkeleton::ItemBool  *itemShowDesktopEnabled;
  itemShowDesktopEnabled = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowDesktopEnabled" ), mShowDesktopEnabled, true );
  addItem( itemShowDesktopEnabled, TQString::fromLatin1( "ShowDesktopEnabled" ) );
  TDEConfigSkeleton::ItemInt  *itemIconDim;
  itemIconDim = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "IconDim" ), mIconDim, 0 );
  addItem( itemIconDim, TQString::fromLatin1( "IconDim" ) );
  TQValueList<int> defaultIconDimChoices;
  defaultIconDimChoices.append( 16 );
  defaultIconDimChoices.append( 20 );
  defaultIconDimChoices.append( 24 );
  defaultIconDimChoices.append( 28 );
  defaultIconDimChoices.append( 32 );
  defaultIconDimChoices.append( 48 );
  defaultIconDimChoices.append( 64 );

  TDEConfigSkeleton::ItemIntList  *itemIconDimChoices;
  itemIconDimChoices = new TDEConfigSkeleton::ItemIntList( currentGroup(), TQString::fromLatin1( "IconDimChoices" ), mIconDimChoices, defaultIconDimChoices );
  addItem( itemIconDimChoices, TQString::fromLatin1( "IconDimChoices" ) );
  TQStringList defaultButtons;
  defaultButtons.append( TQString::fromUtf8( "tde-Home.desktop" ) );
  defaultButtons.append( TQString::fromUtf8( "tde-konsole.desktop" ) );
  defaultButtons.append( TQString::fromUtf8( "tde-KControl.desktop" ) );
  defaultButtons.append( TQString::fromUtf8( "tde-Help.desktop" ) );
  defaultButtons.append( TQString::fromUtf8( "tde-kwrite.desktop" ) );

  TDEConfigSkeleton::ItemStringList  *itemButtons;
  itemButtons = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "Buttons" ), mButtons, defaultButtons );
  addItem( itemButtons, TQString::fromLatin1( "Buttons" ) );
  TDEConfigSkeleton::ItemStringList  *itemVolatileButtons;
  itemVolatileButtons = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "VolatileButtons" ), mVolatileButtons );
  addItem( itemVolatileButtons, TQString::fromLatin1( "VolatileButtons" ) );
  TDEConfigSkeleton::ItemBool  *itemShowVolatileButtonIndicator;
  itemShowVolatileButtonIndicator = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowVolatileButtonIndicator" ), mShowVolatileButtonIndicator, true );
  addItem( itemShowVolatileButtonIndicator, TQString::fromLatin1( "ShowVolatileButtonIndicator" ) );
  TDEConfigSkeleton::ItemBool  *itemAutoAdjustEnabled;
  itemAutoAdjustEnabled = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "AutoAdjustEnabled" ), mAutoAdjustEnabled, false );
  addItem( itemAutoAdjustEnabled, TQString::fromLatin1( "AutoAdjustEnabled" ) );
  TDEConfigSkeleton::ItemInt  *itemAutoAdjustMinItems;
  itemAutoAdjustMinItems = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "AutoAdjustMinItems" ), mAutoAdjustMinItems, 3 );
  itemAutoAdjustMinItems->setMinValue(0);
  addItem( itemAutoAdjustMinItems, TQString::fromLatin1( "AutoAdjustMinItems" ) );
  TDEConfigSkeleton::ItemInt  *itemAutoAdjustMaxItems;
  itemAutoAdjustMaxItems = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "AutoAdjustMaxItems" ), mAutoAdjustMaxItems, 6 );
  itemAutoAdjustMaxItems->setMinValue(0);
  addItem( itemAutoAdjustMaxItems, TQString::fromLatin1( "AutoAdjustMaxItems" ) );
  TDEConfigSkeleton::ItemInt  *itemHistoryHorizon;
  itemHistoryHorizon = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "HistoryHorizon" ), mHistoryHorizon, 70 );
  itemHistoryHorizon->setMinValue(0);
  itemHistoryHorizon->setMaxValue(100);
  addItem( itemHistoryHorizon, TQString::fromLatin1( "HistoryHorizon" ) );

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

  TDEConfigSkeleton::ItemInt  *itemServiceCacheSize;
  itemServiceCacheSize = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "ServiceCacheSize" ), mServiceCacheSize, 500 );
  addItem( itemServiceCacheSize, TQString::fromLatin1( "ServiceCacheSize" ) );
  TDEConfigSkeleton::ItemStringList  *itemServiceNames;
  itemServiceNames = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "ServiceNames" ), mServiceNames );
  addItem( itemServiceNames, TQString::fromLatin1( "ServiceNames" ) );
  TQValueList<int> defaultServiceInspos;

  TDEConfigSkeleton::ItemIntList  *itemServiceInspos;
  itemServiceInspos = new TDEConfigSkeleton::ItemIntList( currentGroup(), TQString::fromLatin1( "ServiceInspos" ), mServiceInspos, defaultServiceInspos );
  addItem( itemServiceInspos, TQString::fromLatin1( "ServiceInspos" ) );
  TDEConfigSkeleton::ItemStringList  *itemServiceHistories;
  itemServiceHistories = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "ServiceHistories" ), mServiceHistories );
  addItem( itemServiceHistories, TQString::fromLatin1( "ServiceHistories" ) );
}

Prefs::~Prefs()
{
}

