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

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

class Settings : public TDEConfigSkeleton
{
  public:

    static Settings *self();
    ~Settings();

    /**
      Set firstrun
    */
    static
    void setFirstrun( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "firstrun" ) ))
        self()->mFirstrun = v;
    }

    /**
      Get firstrun
    */
    static
    bool firstrun()
    {
      return self()->mFirstrun;
    }

    /**
      Get Item object corresponding to firstrun()
    */
    ItemBool *firstrunItem()
    {
      return mFirstrunItem;
    }

    /**
      Set skin
    */
    static
    void setSkin( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "skin" ) ))
        self()->mSkin = v;
    }

    /**
      Get skin
    */
    static
    TQString skin()
    {
      return self()->mSkin;
    }

    /**
      Get Item object corresponding to skin()
    */
    ItemString *skinItem()
    {
      return mSkinItem;
    }

    /**
      Set skinbgcolor
    */
    static
    void setSkinbgcolor( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "skinbgcolor" ) ))
        self()->mSkinbgcolor = v;
    }

    /**
      Get skinbgcolor
    */
    static
    TQColor skinbgcolor()
    {
      return self()->mSkinbgcolor;
    }

    /**
      Get Item object corresponding to skinbgcolor()
    */
    ItemColor *skinbgcolorItem()
    {
      return mSkinbgcolorItem;
    }

    /**
      Set steps
    */
    static
    void setSteps( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "steps" ) ))
        self()->mSteps = v;
    }

    /**
      Get steps
    */
    static
    int steps()
    {
      return self()->mSteps;
    }

    /**
      Get Item object corresponding to steps()
    */
    ItemInt *stepsItem()
    {
      return mStepsItem;
    }

    /**
      Set width
    */
    static
    void setWidth( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "width" ) ))
        self()->mWidth = v;
    }

    /**
      Get width
    */
    static
    int width()
    {
      return self()->mWidth;
    }

    /**
      Get Item object corresponding to width()
    */
    ItemInt *widthItem()
    {
      return mWidthItem;
    }

    /**
      Set height
    */
    static
    void setHeight( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "height" ) ))
        self()->mHeight = v;
    }

    /**
      Get height
    */
    static
    int height()
    {
      return self()->mHeight;
    }

    /**
      Get Item object corresponding to height()
    */
    ItemInt *heightItem()
    {
      return mHeightItem;
    }

    /**
      Set screen
    */
    static
    void setScreen( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "screen" ) ))
        self()->mScreen = v;
    }

    /**
      Get screen
    */
    static
    int screen()
    {
      return self()->mScreen;
    }

    /**
      Get Item object corresponding to screen()
    */
    ItemInt *screenItem()
    {
      return mScreenItem;
    }

    /**
      Set location
    */
    static
    void setLocation( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "location" ) ))
        self()->mLocation = v;
    }

    /**
      Get location
    */
    static
    int location()
    {
      return self()->mLocation;
    }

    /**
      Get Item object corresponding to location()
    */
    ItemInt *locationItem()
    {
      return mLocationItem;
    }

    /**
      Set tabs
    */
    static
    void setTabs( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "tabs" ) ))
        self()->mTabs = v;
    }

    /**
      Get tabs
    */
    static
    bool tabs()
    {
      return self()->mTabs;
    }

    /**
      Get Item object corresponding to tabs()
    */
    ItemBool *tabsItem()
    {
      return mTabsItem;
    }

    /**
      Set translucency
    */
    static
    void setTranslucency( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "translucency" ) ))
        self()->mTranslucency = v;
    }

    /**
      Get translucency
    */
    static
    bool translucency()
    {
      return self()->mTranslucency;
    }

    /**
      Get Item object corresponding to translucency()
    */
    ItemBool *translucencyItem()
    {
      return mTranslucencyItem;
    }

    /**
      Set focus
    */
    static
    void setFocus( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "focus" ) ))
        self()->mFocus = v;
    }

    /**
      Get focus
    */
    static
    bool focus()
    {
      return self()->mFocus;
    }

    /**
      Get Item object corresponding to focus()
    */
    ItemBool *focusItem()
    {
      return mFocusItem;
    }

    /**
      Set focusontoggle
    */
    static
    void setFocusontoggle( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "focusontoggle" ) ))
        self()->mFocusontoggle = v;
    }

    /**
      Get focusontoggle
    */
    static
    bool focusontoggle()
    {
      return self()->mFocusontoggle;
    }

    /**
      Get Item object corresponding to focusontoggle()
    */
    ItemBool *focusontoggleItem()
    {
      return mFocusontoggleItem;
    }

    /**
      Set keepabove
    */
    static
    void setKeepabove( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "keepabove" ) ))
        self()->mKeepabove = v;
    }

    /**
      Get keepabove
    */
    static
    bool keepabove()
    {
      return self()->mKeepabove;
    }

    /**
      Get Item object corresponding to keepabove()
    */
    ItemBool *keepaboveItem()
    {
      return mKeepaboveItem;
    }

    /**
      Set popup
    */
    static
    void setPopup( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "popup" ) ))
        self()->mPopup = v;
    }

    /**
      Get popup
    */
    static
    bool popup()
    {
      return self()->mPopup;
    }

    /**
      Get Item object corresponding to popup()
    */
    ItemBool *popupItem()
    {
      return mPopupItem;
    }

    /**
      Set confirmquit
    */
    static
    void setConfirmquit( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "confirmquit" ) ))
        self()->mConfirmquit = v;
    }

    /**
      Get confirmquit
    */
    static
    bool confirmquit()
    {
      return self()->mConfirmquit;
    }

    /**
      Get Item object corresponding to confirmquit()
    */
    ItemBool *confirmquitItem()
    {
      return mConfirmquitItem;
    }

    /**
      Set poll
    */
    static
    void setPoll( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "poll" ) ))
        self()->mPoll = v;
    }

    /**
      Get poll
    */
    static
    bool poll()
    {
      return self()->mPoll;
    }

    /**
      Get Item object corresponding to poll()
    */
    ItemBool *pollItem()
    {
      return mPollItem;
    }

    /**
      Set pollinterval
    */
    static
    void setPollinterval( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "pollinterval" ) ))
        self()->mPollinterval = v;
    }

    /**
      Get pollinterval
    */
    static
    int pollinterval()
    {
      return self()->mPollinterval;
    }

    /**
      Get Item object corresponding to pollinterval()
    */
    ItemInt *pollintervalItem()
    {
      return mPollintervalItem;
    }

    static
    void writeConfig()
    {
      static_cast<TDEConfigSkeleton*>(self())->writeConfig();
    }
  protected:
    Settings();
    static Settings *mSelf;


    // Options
    bool mFirstrun;
    TQString mSkin;
    TQColor mSkinbgcolor;
    int mSteps;
    int mWidth;
    int mHeight;
    int mScreen;
    int mLocation;
    bool mTabs;
    bool mTranslucency;
    bool mFocus;
    bool mFocusontoggle;
    bool mKeepabove;
    bool mPopup;
    bool mConfirmquit;
    bool mPoll;
    int mPollinterval;

  private:
    ItemBool *mFirstrunItem;
    ItemString *mSkinItem;
    ItemColor *mSkinbgcolorItem;
    ItemInt *mStepsItem;
    ItemInt *mWidthItem;
    ItemInt *mHeightItem;
    ItemInt *mScreenItem;
    ItemInt *mLocationItem;
    ItemBool *mTabsItem;
    ItemBool *mTranslucencyItem;
    ItemBool *mFocusItem;
    ItemBool *mFocusontoggleItem;
    ItemBool *mKeepaboveItem;
    ItemBool *mPopupItem;
    ItemBool *mConfirmquitItem;
    ItemBool *mPollItem;
    ItemInt *mPollintervalItem;
};

#endif

