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

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

class Prefs : public TDEConfigSkeleton
{
  public:

    static Prefs *self();
    ~Prefs();


    /**
      Get Solvable
    */
    static
    bool solvable()
    {
      return self()->mSolvable;
    }

    /**
      Set Gravity
    */
    static
    void setGravity( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Gravity" ) ))
        self()->mGravity = v;
    }

    /**
      Get Gravity
    */
    static
    bool gravity()
    {
      return self()->mGravity;
    }

    /**
      Set Unscaled
    */
    static
    void setUnscaled( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Unscaled" ) ))
        self()->mUnscaled = v;
    }

    /**
      Get Unscaled
    */
    static
    bool unscaled()
    {
      return self()->mUnscaled;
    }


    /**
      Get Speed
    */
    static
    int speed()
    {
      return self()->mSpeed;
    }


    /**
      Get Size
    */
    static
    int size()
    {
      return self()->mSize;
    }


    /**
      Get Level
    */
    static
    int level()
    {
      return self()->mLevel;
    }

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


    // Game
    bool mSolvable;
    bool mGravity;
    bool mUnscaled;
    int mSpeed;
    int mSize;
    int mLevel;

  private:
};

#endif

