// This file is generated by tdeconfig_compiler from twin4.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 Network connection port
    */
    static
    int port()
    {
      return self()->mPort;
    }


    /**
      Get Game name
    */
    static
    TQString gamename()
    {
      return self()->mGamename;
    }


    /**
      Get Network connection host
    */
    static
    TQString host()
    {
      return self()->mHost;
    }


    /**
      Get Change the strength of the computer player.
    */
    static
    int level()
    {
      return self()->mLevel;
    }


    /**
      Get Player 1 name
    */
    static
    TQString name1()
    {
      return self()->mName1;
    }


    /**
      Get Player 2 name
    */
    static
    TQString name2()
    {
      return self()->mName2;
    }


    /**
      Get Input1
    */
    static
    int input1()
    {
      return self()->mInput1;
    }


    /**
      Get Input2
    */
    static
    int input2()
    {
      return self()->mInput2;
    }


    /**
      Get Colour1
    */
    static
    int colour1()
    {
      return self()->mColour1;
    }

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


    // Parameter
    int mPort;
    TQString mGamename;
    TQString mHost;
    int mLevel;
    TQString mName1;
    TQString mName2;
    int mInput1;
    int mInput2;
    int mColour1;

  private:
};

#endif

