// This file is generated by kconfig_compiler from kblogger.kcfg.
// All changes you do to this file will be lost.
#ifndef KBLOGGERCONFIG_H
#define KBLOGGERCONFIG_H

#include <kconfigskeleton.h>
#include <kdebug.h>

class KBloggerConfig : public KConfigSkeleton
{
  public:

    static KBloggerConfig *self();
    ~KBloggerConfig();

    /**
      Set Type
    */
    static
    void setType( int v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "Type" ) ))
        self()->mType = v;
    }

    /**
      Get Type
    */
    static
    int type()
    {
      return self()->mType;
    }

    /**
      Set Username
    */
    static
    void setUser( const QString & v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "User" ) ))
        self()->mUser = v;
    }

    /**
      Get Username
    */
    static
    QString user()
    {
      return self()->mUser;
    }

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

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

    /**
      Set BlogId
    */
    static
    void setBlogId( const QString & v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "BlogId" ) ))
        self()->mBlogId = v;
    }

    /**
      Get BlogId
    */
    static
    QString blogId()
    {
      return self()->mBlogId;
    }

    /**
      Set Url
    */
    static
    void setUrl( const QString & v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "Url" ) ))
        self()->mUrl = v;
    }

    /**
      Get Url
    */
    static
    QString url()
    {
      return self()->mUrl;
    }

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


    // Account settings
    int mType;
    QString mUser;
    QString mPassword;

    // Server Settings
    QString mBlogId;
    QString mUrl;

  private:
};

#endif

