// This file is generated by tdeconfig_compiler from kbinaryclock.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" ) );

  TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesShape;
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Rectangular" );
    valuesShape.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Circular" );
    valuesShape.append( choice );
  }
  TDEConfigSkeleton::ItemEnum  *itemShape;
  itemShape = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "Shape" ), mShape, valuesShape, EnumShape::Circular );
  addItem( itemShape, TQString::fromLatin1( "Shape" ) );
  TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesLook;
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Flat" );
    valuesLook.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Raised" );
    valuesLook.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Sunken" );
    valuesLook.append( choice );
  }
  TDEConfigSkeleton::ItemEnum  *itemLook;
  itemLook = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "Look" ), mLook, valuesLook, EnumLook::Raised );
  addItem( itemLook, TQString::fromLatin1( "Look" ) );
  TDEConfigSkeleton::ItemColor  *itemColor;
  itemColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Color" ), mColor, TQColor( 55,49,238 ) );
  addItem( itemColor, TQString::fromLatin1( "Color" ) );
  TDEConfigSkeleton::ItemInt  *itemDarkFactor;
  itemDarkFactor = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "DarkFactor" ), mDarkFactor, 300 );
  itemDarkFactor->setMinValue(0);
  itemDarkFactor->setMaxValue(1000);
  addItem( itemDarkFactor, TQString::fromLatin1( "DarkFactor" ) );
  TDEConfigSkeleton::ItemColor  *itemBackground;
  itemBackground = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Background" ), mBackground, TDEApplication::palette().active().background() );
  addItem( itemBackground, TQString::fromLatin1( "Background" ) );
  TDEConfigSkeleton::ItemBool  *itemShow_Seconds;
  itemShow_Seconds = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Show_Seconds" ), mShow_Seconds, true );
  addItem( itemShow_Seconds, TQString::fromLatin1( "Show_Seconds" ) );
  TDEConfigSkeleton::ItemBool  *itemHide_Off_Leds;
  itemHide_Off_Leds = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Hide_Off_Leds" ), mHide_Off_Leds, false );
  addItem( itemHide_Off_Leds, TQString::fromLatin1( "Hide_Off_Leds" ) );
}

Prefs::~Prefs()
{
}

