// This file is generated by kconfig_compiler_kf5 from mobypicturesettings.kcfg.
// All changes you do to this file will be lost.
#ifndef MOBYPICTURESETTINGS_H
#define MOBYPICTURESETTINGS_H

#include <klocalizedstring.h>

#include <kconfigskeleton.h>
#include <QCoreApplication>
#include <QDebug>

class MobypictureSettings : public KConfigSkeleton
{
  public:

    static MobypictureSettings *self();
    ~MobypictureSettings();

    /**
      Set basic
    */
    static
    void setBasic( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "basic" ) ))
        self()->mBasic = v;
    }

    /**
      Get basic
    */
    static
    bool basic()
    {
      return self()->mBasic;
    }

    /**
      Get Item object corresponding to basic()
    */
    ItemBool *basicItem()
    {
      return mBasicItem;
    }

    /**
      Set login
    */
    static
    void setLogin( const QString & v )
    {
      if (!self()->isImmutable( QStringLiteral( "login" ) ))
        self()->mLogin = v;
    }

    /**
      Get login
    */
    static
    QString login()
    {
      return self()->mLogin;
    }

    /**
      Get Item object corresponding to login()
    */
    ItemString *loginItem()
    {
      return mLoginItem;
    }

    /**
      Set oauth
    */
    static
    void setOauth( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "oauth" ) ))
        self()->mOauth = v;
    }

    /**
      Get oauth
    */
    static
    bool oauth()
    {
      return self()->mOauth;
    }

    /**
      Get Item object corresponding to oauth()
    */
    ItemBool *oauthItem()
    {
      return mOauthItem;
    }

    /**
      Set alias
    */
    static
    void setAlias( const QString & v )
    {
      if (!self()->isImmutable( QStringLiteral( "alias" ) ))
        self()->mAlias = v;
    }

    /**
      Get alias
    */
    static
    QString alias()
    {
      return self()->mAlias;
    }

    /**
      Get Item object corresponding to alias()
    */
    ItemString *aliasItem()
    {
      return mAliasItem;
    }

  protected:
    MobypictureSettings();
    friend class MobypictureSettingsHelper;


    // Mobypicture ImageUploader
    bool mBasic;
    QString mLogin;
    bool mOauth;
    QString mAlias;

  private:
    ItemBool *mBasicItem;
    ItemString *mLoginItem;
    ItemBool *mOauthItem;
    ItemString *mAliasItem;
};

#endif

