// This file is generated by tdeconfig_compiler from clockapplet.kcfg.
// All changes you do to this file will be lost.
#ifndef PREFS_H
#define PREFS_H

#include <tdeglobal.h>
#include <tdeconfigskeleton.h>
#include <kdebug.h>

#include <tdeapplication.h>
class Prefs : public TDEConfigSkeleton
{
  public:
    class EnumType
    {
      public:
      enum type { Plain, Digital, Analog, Fuzzy, COUNT };
    };

    Prefs( TDESharedConfig::Ptr config = TDEGlobal::sharedConfig() );
    ~Prefs();

    /**
      Set Clock type
    */
    void setType( int v )
    {
      if (!isImmutable( TQString::fromLatin1( "Type" ) ))
        mType = v;
    }

    /**
      Get Clock type
    */
    int type() const
    {
      return mType;
    }


    /**
      Get Foreground color.
    */
    TQColor dateForegroundColor() const
    {
      return mDateForegroundColor;
    }

    /**
      Set Foreground color.
    */
    void setDateBackgroundColor( const TQColor & v )
    {
      if (!isImmutable( TQString::fromLatin1( "DateBackgroundColor" ) ))
        mDateBackgroundColor = v;
    }

    /**
      Get Foreground color.
    */
    TQColor dateBackgroundColor() const
    {
      return mDateBackgroundColor;
    }


    /**
      Get Font for the clock.
    */
    TQFont dateFont() const
    {
      return mDateFont;
    }


    /**
      Get Show seconds.
    */
    bool plainShowSeconds() const
    {
      return mPlainShowSeconds;
    }


    /**
      Get Show date.
    */
    bool plainShowDate() const
    {
      return mPlainShowDate;
    }


    /**
      Get Show day of week.
    */
    bool plainShowDayOfWeek() const
    {
      return mPlainShowDayOfWeek;
    }


    /**
      Get Show frame.
    */
    bool plainShowFrame() const
    {
      return mPlainShowFrame;
    }


    /**
      Get Use shadow.
    */
    bool transparentUseShadow() const
    {
      return mTransparentUseShadow;
    }


    /**
      Get Font for the clock.
    */
    TQFont plainFont() const
    {
      return mPlainFont;
    }


    /**
      Get Foreground color.
    */
    TQColor plainForegroundColor() const
    {
      return mPlainForegroundColor;
    }

    /**
      Set Background color.
    */
    void setPlainBackgroundColor( const TQColor & v )
    {
      if (!isImmutable( TQString::fromLatin1( "PlainBackgroundColor" ) ))
        mPlainBackgroundColor = v;
    }

    /**
      Get Background color.
    */
    TQColor plainBackgroundColor() const
    {
      return mPlainBackgroundColor;
    }


    /**
      Get Show seconds.
    */
    bool digitalShowSeconds() const
    {
      return mDigitalShowSeconds;
    }


    /**
      Get Show date.
    */
    bool digitalShowDate() const
    {
      return mDigitalShowDate;
    }


    /**
      Get Show day of week.
    */
    bool digitalShowDayOfWeek() const
    {
      return mDigitalShowDayOfWeek;
    }


    /**
      Get Show frame.
    */
    bool digitalShowFrame() const
    {
      return mDigitalShowFrame;
    }


    /**
      Get Foreground color.
    */
    TQColor digitalForegroundColor() const
    {
      return mDigitalForegroundColor;
    }

    /**
      Set Background color.
    */
    void setDigitalBackgroundColor( const TQColor & v )
    {
      if (!isImmutable( TQString::fromLatin1( "DigitalBackgroundColor" ) ))
        mDigitalBackgroundColor = v;
    }

    /**
      Get Background color.
    */
    TQColor digitalBackgroundColor() const
    {
      return mDigitalBackgroundColor;
    }


    /**
      Get Shadow color.
    */
    TQColor digitalShadowColor() const
    {
      return mDigitalShadowColor;
    }


    /**
      Get Blink
    */
    bool digitalBlink() const
    {
      return mDigitalBlink;
    }


    /**
      Get LCD Style
    */
    bool digitalLCDStyle() const
    {
      return mDigitalLCDStyle;
    }


    /**
      Get Show seconds.
    */
    bool analogShowSeconds() const
    {
      return mAnalogShowSeconds;
    }


    /**
      Get Show date.
    */
    bool analogShowDate() const
    {
      return mAnalogShowDate;
    }


    /**
      Get Show day of week.
    */
    bool analogShowDayOfWeek() const
    {
      return mAnalogShowDayOfWeek;
    }


    /**
      Get Show frame.
    */
    bool analogShowFrame() const
    {
      return mAnalogShowFrame;
    }


    /**
      Get Foreground color.
    */
    TQColor analogForegroundColor() const
    {
      return mAnalogForegroundColor;
    }

    /**
      Set Background color.
    */
    void setAnalogBackgroundColor( const TQColor & v )
    {
      if (!isImmutable( TQString::fromLatin1( "AnalogBackgroundColor" ) ))
        mAnalogBackgroundColor = v;
    }

    /**
      Get Background color.
    */
    TQColor analogBackgroundColor() const
    {
      return mAnalogBackgroundColor;
    }


    /**
      Get Shadow color.
    */
    TQColor analogShadowColor() const
    {
      return mAnalogShadowColor;
    }


    /**
      Get LCD Style
    */
    bool analogLCDStyle() const
    {
      return mAnalogLCDStyle;
    }


    /**
      Get Anti-Alias factor
    */
    int analogAntialias() const
    {
      return mAnalogAntialias;
    }


    /**
      Get Show date.
    */
    bool fuzzyShowDate() const
    {
      return mFuzzyShowDate;
    }


    /**
      Get Show day of week.
    */
    bool fuzzyShowDayOfWeek() const
    {
      return mFuzzyShowDayOfWeek;
    }


    /**
      Get Show frame.
    */
    bool fuzzyShowFrame() const
    {
      return mFuzzyShowFrame;
    }


    /**
      Get Font for the clock.
    */
    TQFont fuzzyFont() const
    {
      return mFuzzyFont;
    }


    /**
      Get Foreground color.
    */
    TQColor fuzzyForegroundColor() const
    {
      return mFuzzyForegroundColor;
    }

    /**
      Set Background color.
    */
    void setFuzzyBackgroundColor( const TQColor & v )
    {
      if (!isImmutable( TQString::fromLatin1( "FuzzyBackgroundColor" ) ))
        mFuzzyBackgroundColor = v;
    }

    /**
      Get Background color.
    */
    TQColor fuzzyBackgroundColor() const
    {
      return mFuzzyBackgroundColor;
    }


    /**
      Get Fuzzyness
    */
    int fuzzyness() const
    {
      return mFuzzyness;
    }

    /**
      Set Show window frame
    */
    void setCalendarFullWindow( bool v )
    {
      if (!isImmutable( TQString::fromLatin1( "CalendarFullWindow" ) ))
        mCalendarFullWindow = v;
    }

    /**
      Get Show window frame
    */
    bool calendarFullWindow() const
    {
      return mCalendarFullWindow;
    }

    /**
      Set Default size of the calendar
    */
    void setCalendarSize( const TQSize & v )
    {
      if (!isImmutable( TQString::fromLatin1( "CalendarSize" ) ))
        mCalendarSize = v;
    }

    /**
      Get Default size of the calendar
    */
    TQSize calendarSize() const
    {
      return mCalendarSize;
    }

  protected:

    // General
    int mType;

    // Date
    TQColor mDateForegroundColor;
    TQColor mDateBackgroundColor;
    TQFont mDateFont;

    // Plain
    bool mPlainShowSeconds;
    bool mPlainShowDate;
    bool mPlainShowDayOfWeek;
    bool mPlainShowFrame;
    bool mTransparentUseShadow;
    TQFont mPlainFont;
    TQColor mPlainForegroundColor;
    TQColor mPlainBackgroundColor;

    // Digital
    bool mDigitalShowSeconds;
    bool mDigitalShowDate;
    bool mDigitalShowDayOfWeek;
    bool mDigitalShowFrame;
    TQColor mDigitalForegroundColor;
    TQColor mDigitalBackgroundColor;
    TQColor mDigitalShadowColor;
    bool mDigitalBlink;
    bool mDigitalLCDStyle;

    // Analog
    bool mAnalogShowSeconds;
    bool mAnalogShowDate;
    bool mAnalogShowDayOfWeek;
    bool mAnalogShowFrame;
    TQColor mAnalogForegroundColor;
    TQColor mAnalogBackgroundColor;
    TQColor mAnalogShadowColor;
    bool mAnalogLCDStyle;
    int mAnalogAntialias;

    // Fuzzy
    bool mFuzzyShowDate;
    bool mFuzzyShowDayOfWeek;
    bool mFuzzyShowFrame;
    TQFont mFuzzyFont;
    TQColor mFuzzyForegroundColor;
    TQColor mFuzzyBackgroundColor;
    int mFuzzyness;

    // Calendar
    bool mCalendarFullWindow;
    TQSize mCalendarSize;

  private:
};

#endif

