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

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

class WebInterfacePluginSettings : public TDEConfigSkeleton
{
  public:

    static WebInterfacePluginSettings *self();
    ~WebInterfacePluginSettings();

    /**
      Set Port number
    */
    static
    void setPort( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "port" ) ))
        self()->mPort = v;
    }

    /**
      Get Port number
    */
    static
    int port()
    {
      return self()->mPort;
    }

    /**
      Set forward Port
    */
    static
    void setForward( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "forward" ) ))
        self()->mForward = v;
    }

    /**
      Get forward Port
    */
    static
    bool forward()
    {
      return self()->mForward;
    }

    /**
      Set Session time to live
    */
    static
    void setSessionTTL( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "sessionTTL" ) ))
        self()->mSessionTTL = v;
    }

    /**
      Get Session time to live
    */
    static
    int sessionTTL()
    {
      return self()->mSessionTTL;
    }

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

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

    /**
      Set php executable path
    */
    static
    void setPhpExecutablePath( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "phpExecutablePath" ) ))
        self()->mPhpExecutablePath = v;
    }

    /**
      Get php executable path
    */
    static
    TQString phpExecutablePath()
    {
      return self()->mPhpExecutablePath;
    }

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

    /**
      Get username
    */
    static
    TQString username()
    {
      return self()->mUsername;
    }

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

    /**
      Get password
    */
    static
    TQString password()
    {
      return self()->mPassword;
    }

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


    // general
    int mPort;
    bool mForward;
    int mSessionTTL;
    TQString mSkin;
    TQString mPhpExecutablePath;
    TQString mUsername;
    TQString mPassword;

  private:
};

#endif

