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

#include <kstandarddirs.h>
#include <kdebug.h>

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

class Settings : public TDEConfigSkeleton
{
  public:

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

    /**
      Set The width of the canvas in pixels
    */
    static
    void setCanvasWidth( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "CanvasWidth" ) ))
        self()->mCanvasWidth = v;
    }

    /**
      Get The width of the canvas in pixels
    */
    static
    int canvasWidth()
    {
      return self()->mCanvasWidth;
    }

    /**
      Set The height of the canvas in pixels
    */
    static
    void setCanvasHeight( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "CanvasHeight" ) ))
        self()->mCanvasHeight = v;
    }

    /**
      Get The height of the canvas in pixels
    */
    static
    int canvasHeight()
    {
      return self()->mCanvasHeight;
    }

    /**
      Set The list of the available languages for the Logo commands
    */
    static
    void setLogoLanguageList( const TQStringList & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "LogoLanguageList" ) ))
        self()->mLogoLanguageList = v;
    }

    /**
      Get The list of the available languages for the Logo commands
    */
    static
    TQStringList logoLanguageList()
    {
      return self()->mLogoLanguageList;
    }

    /**
      Set The language of the Logo commands
    */
    static
    void setLogoLanguage( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "LogoLanguage" ) ))
        self()->mLogoLanguage = v;
    }

    /**
      Get The language of the Logo commands
    */
    static
    TQString logoLanguage()
    {
      return self()->mLogoLanguage;
    }

    /**
      Set The value of the ComboBox
    */
    static
    void setLanguageComboBox( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "LanguageComboBox" ) ))
        self()->mLanguageComboBox = v;
    }

    /**
      Get The value of the ComboBox
    */
    static
    int languageComboBox()
    {
      return self()->mLanguageComboBox;
    }

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


    // general
    int mCanvasWidth;
    int mCanvasHeight;

    // language
    TQStringList mLogoLanguageList;
    TQString mLogoLanguage;
    int mLanguageComboBox;

  private:
};

#endif

