// This file is generated by tdeconfig_compiler from clockapplet.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> valuesType;
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Plain" );
    valuesType.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Digital" );
    valuesType.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Analog" );
    valuesType.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Fuzzy" );
    valuesType.append( choice );
  }
  TDEConfigSkeleton::ItemEnum  *itemType;
  itemType = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "Type" ), mType, valuesType, EnumType::Plain );
  addItem( itemType, TQString::fromLatin1( "Type" ) );

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

  TDEConfigSkeleton::ItemColor  *itemDateForegroundColor;
  itemDateForegroundColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Foreground_Color" ), mDateForegroundColor, TDEApplication::palette().active().text() );
  addItem( itemDateForegroundColor, TQString::fromLatin1( "DateForegroundColor" ) );
  TDEConfigSkeleton::ItemColor  *itemDateBackgroundColor;
  itemDateBackgroundColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Background_Color" ), mDateBackgroundColor, TDEApplication::palette().active().background() );
  addItem( itemDateBackgroundColor, TQString::fromLatin1( "DateBackgroundColor" ) );

TQFont defFont=TDEGlobalSettings::generalFont();
defFont.setPointSize(8);
      
  TDEConfigSkeleton::ItemFont  *itemDateFont;
  itemDateFont = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Font" ), mDateFont, defFont );
  addItem( itemDateFont, TQString::fromLatin1( "DateFont" ) );

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

  TDEConfigSkeleton::ItemBool  *itemPlainShowSeconds;
  itemPlainShowSeconds = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Show_Seconds" ), mPlainShowSeconds, false );
  addItem( itemPlainShowSeconds, TQString::fromLatin1( "PlainShowSeconds" ) );
  TDEConfigSkeleton::ItemBool  *itemPlainShowDate;
  itemPlainShowDate = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Show_Date" ), mPlainShowDate, true );
  addItem( itemPlainShowDate, TQString::fromLatin1( "PlainShowDate" ) );
  TDEConfigSkeleton::ItemBool  *itemPlainShowDayOfWeek;
  itemPlainShowDayOfWeek = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Show_DayOfWeek" ), mPlainShowDayOfWeek, false );
  addItem( itemPlainShowDayOfWeek, TQString::fromLatin1( "PlainShowDayOfWeek" ) );
  TDEConfigSkeleton::ItemBool  *itemPlainShowFrame;
  itemPlainShowFrame = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Show_Frame" ), mPlainShowFrame, false );
  addItem( itemPlainShowFrame, TQString::fromLatin1( "PlainShowFrame" ) );
  TDEConfigSkeleton::ItemBool  *itemTransparentUseShadow;
  itemTransparentUseShadow = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Use_Shadow" ), mTransparentUseShadow, false );
  addItem( itemTransparentUseShadow, TQString::fromLatin1( "TransparentUseShadow" ) );

defFont=TDEGlobalSettings::generalFont();
defFont.setPointSize(8);
defFont.setBold(true);
      
  TDEConfigSkeleton::ItemFont  *itemPlainFont;
  itemPlainFont = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Font" ), mPlainFont, defFont );
  addItem( itemPlainFont, TQString::fromLatin1( "PlainFont" ) );
  TDEConfigSkeleton::ItemColor  *itemPlainForegroundColor;
  itemPlainForegroundColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Foreground_Color" ), mPlainForegroundColor, TDEApplication::palette().active().text() );
  addItem( itemPlainForegroundColor, TQString::fromLatin1( "PlainForegroundColor" ) );
  TDEConfigSkeleton::ItemColor  *itemPlainBackgroundColor;
  itemPlainBackgroundColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Background_Color" ), mPlainBackgroundColor, TDEApplication::palette().active().background() );
  addItem( itemPlainBackgroundColor, TQString::fromLatin1( "PlainBackgroundColor" ) );

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

  TDEConfigSkeleton::ItemBool  *itemDigitalShowSeconds;
  itemDigitalShowSeconds = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Show_Seconds" ), mDigitalShowSeconds, false );
  addItem( itemDigitalShowSeconds, TQString::fromLatin1( "DigitalShowSeconds" ) );
  TDEConfigSkeleton::ItemBool  *itemDigitalShowDate;
  itemDigitalShowDate = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Show_Date" ), mDigitalShowDate, false );
  addItem( itemDigitalShowDate, TQString::fromLatin1( "DigitalShowDate" ) );
  TDEConfigSkeleton::ItemBool  *itemDigitalShowDayOfWeek;
  itemDigitalShowDayOfWeek = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Show_DayOfWeek" ), mDigitalShowDayOfWeek, false );
  addItem( itemDigitalShowDayOfWeek, TQString::fromLatin1( "DigitalShowDayOfWeek" ) );
  TDEConfigSkeleton::ItemBool  *itemDigitalShowFrame;
  itemDigitalShowFrame = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Show_Frame" ), mDigitalShowFrame, false );
  addItem( itemDigitalShowFrame, TQString::fromLatin1( "DigitalShowFrame" ) );
  TDEConfigSkeleton::ItemColor  *itemDigitalForegroundColor;
  itemDigitalForegroundColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Foreground_Color" ), mDigitalForegroundColor, TDEApplication::palette().active().text() );
  addItem( itemDigitalForegroundColor, TQString::fromLatin1( "DigitalForegroundColor" ) );
  TDEConfigSkeleton::ItemColor  *itemDigitalBackgroundColor;
  itemDigitalBackgroundColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Background_Color" ), mDigitalBackgroundColor, TDEApplication::palette().active().background() );
  addItem( itemDigitalBackgroundColor, TQString::fromLatin1( "DigitalBackgroundColor" ) );
  TDEConfigSkeleton::ItemColor  *itemDigitalShadowColor;
  itemDigitalShadowColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Shadow_Color" ), mDigitalShadowColor, TDEApplication::palette().active().mid() );
  addItem( itemDigitalShadowColor, TQString::fromLatin1( "DigitalShadowColor" ) );
  TDEConfigSkeleton::ItemBool  *itemDigitalBlink;
  itemDigitalBlink = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Blink" ), mDigitalBlink, false );
  addItem( itemDigitalBlink, TQString::fromLatin1( "DigitalBlink" ) );
  TDEConfigSkeleton::ItemBool  *itemDigitalLCDStyle;
  itemDigitalLCDStyle = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "LCD_Style" ), mDigitalLCDStyle, false );
  addItem( itemDigitalLCDStyle, TQString::fromLatin1( "DigitalLCDStyle" ) );

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

  TDEConfigSkeleton::ItemBool  *itemAnalogShowSeconds;
  itemAnalogShowSeconds = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Show_Seconds" ), mAnalogShowSeconds, true );
  addItem( itemAnalogShowSeconds, TQString::fromLatin1( "AnalogShowSeconds" ) );
  TDEConfigSkeleton::ItemBool  *itemAnalogShowDate;
  itemAnalogShowDate = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Show_Date" ), mAnalogShowDate, false );
  addItem( itemAnalogShowDate, TQString::fromLatin1( "AnalogShowDate" ) );
  TDEConfigSkeleton::ItemBool  *itemAnalogShowDayOfWeek;
  itemAnalogShowDayOfWeek = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Show_DayOfWeek" ), mAnalogShowDayOfWeek, false );
  addItem( itemAnalogShowDayOfWeek, TQString::fromLatin1( "AnalogShowDayOfWeek" ) );
  TDEConfigSkeleton::ItemBool  *itemAnalogShowFrame;
  itemAnalogShowFrame = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Show_Frame" ), mAnalogShowFrame, false );
  addItem( itemAnalogShowFrame, TQString::fromLatin1( "AnalogShowFrame" ) );
  TDEConfigSkeleton::ItemColor  *itemAnalogForegroundColor;
  itemAnalogForegroundColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Foreground_Color" ), mAnalogForegroundColor, TDEApplication::palette().active().text() );
  addItem( itemAnalogForegroundColor, TQString::fromLatin1( "AnalogForegroundColor" ) );
  TDEConfigSkeleton::ItemColor  *itemAnalogBackgroundColor;
  itemAnalogBackgroundColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Background_Color" ), mAnalogBackgroundColor, TDEApplication::palette().active().background() );
  addItem( itemAnalogBackgroundColor, TQString::fromLatin1( "AnalogBackgroundColor" ) );
  TDEConfigSkeleton::ItemColor  *itemAnalogShadowColor;
  itemAnalogShadowColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Shadow_Color" ), mAnalogShadowColor, TDEApplication::palette().active().mid() );
  addItem( itemAnalogShadowColor, TQString::fromLatin1( "AnalogShadowColor" ) );
  TDEConfigSkeleton::ItemBool  *itemAnalogLCDStyle;
  itemAnalogLCDStyle = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "LCD_Style" ), mAnalogLCDStyle, true );
  addItem( itemAnalogLCDStyle, TQString::fromLatin1( "AnalogLCDStyle" ) );
  TDEConfigSkeleton::ItemInt  *itemAnalogAntialias;
  itemAnalogAntialias = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Antialias" ), mAnalogAntialias, 0 );
  addItem( itemAnalogAntialias, TQString::fromLatin1( "AnalogAntialias" ) );

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

  TDEConfigSkeleton::ItemBool  *itemFuzzyShowDate;
  itemFuzzyShowDate = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Show_Date" ), mFuzzyShowDate, true );
  addItem( itemFuzzyShowDate, TQString::fromLatin1( "FuzzyShowDate" ) );
  TDEConfigSkeleton::ItemBool  *itemFuzzyShowDayOfWeek;
  itemFuzzyShowDayOfWeek = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Show_DayOfWeek" ), mFuzzyShowDayOfWeek, false );
  addItem( itemFuzzyShowDayOfWeek, TQString::fromLatin1( "FuzzyShowDayOfWeek" ) );
  TDEConfigSkeleton::ItemBool  *itemFuzzyShowFrame;
  itemFuzzyShowFrame = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Show_Frame" ), mFuzzyShowFrame, false );
  addItem( itemFuzzyShowFrame, TQString::fromLatin1( "FuzzyShowFrame" ) );

defFont=TDEGlobalSettings::generalFont();
      
  TDEConfigSkeleton::ItemFont  *itemFuzzyFont;
  itemFuzzyFont = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Font" ), mFuzzyFont, defFont );
  addItem( itemFuzzyFont, TQString::fromLatin1( "FuzzyFont" ) );
  TDEConfigSkeleton::ItemColor  *itemFuzzyForegroundColor;
  itemFuzzyForegroundColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Foreground_Color" ), mFuzzyForegroundColor, TDEApplication::palette().active().text() );
  addItem( itemFuzzyForegroundColor, TQString::fromLatin1( "FuzzyForegroundColor" ) );
  TDEConfigSkeleton::ItemColor  *itemFuzzyBackgroundColor;
  itemFuzzyBackgroundColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Background_Color" ), mFuzzyBackgroundColor, TDEApplication::palette().active().background() );
  addItem( itemFuzzyBackgroundColor, TQString::fromLatin1( "FuzzyBackgroundColor" ) );
  TDEConfigSkeleton::ItemInt  *itemFuzzyness;
  itemFuzzyness = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Fuzzyness" ), mFuzzyness, 1 );
  addItem( itemFuzzyness, TQString::fromLatin1( "Fuzzyness" ) );

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

  TDEConfigSkeleton::ItemBool  *itemCalendarFullWindow;
  itemCalendarFullWindow = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "FullWindow" ), mCalendarFullWindow, true );
  addItem( itemCalendarFullWindow, TQString::fromLatin1( "CalendarFullWindow" ) );
  TDEConfigSkeleton::ItemSize  *itemCalendarSize;
  itemCalendarSize = new TDEConfigSkeleton::ItemSize( currentGroup(), TQString::fromLatin1( "Size" ), mCalendarSize );
  addItem( itemCalendarSize, TQString::fromLatin1( "CalendarSize" ) );
}

Prefs::~Prefs()
{
}

