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

#include <klocalizedstring.h>

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

class Bit_ly_Settings : public KConfigSkeleton
{
  public:

    static Bit_ly_Settings *self();
    ~Bit_ly_Settings();

    /**
      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 api_key
    */
    static
    void setApi_key( const QString & v )
    {
      if (!self()->isImmutable( QStringLiteral( "api_key" ) ))
        self()->mApi_key = v;
    }

    /**
      Get api_key
    */
    static
    QString api_key()
    {
      return self()->mApi_key;
    }

    /**
      Get Item object corresponding to api_key()
    */
    ItemString *api_keyItem()
    {
      return mApi_keyItem;
    }

    /**
      Set domain
    */
    static
    void setDomain( const QString & v )
    {
      if (!self()->isImmutable( QStringLiteral( "domain" ) ))
        self()->mDomain = v;
    }

    /**
      Get domain
    */
    static
    QString domain()
    {
      return self()->mDomain;
    }

    /**
      Get Item object corresponding to domain()
    */
    ItemString *domainItem()
    {
      return mDomainItem;
    }

  protected:
    Bit_ly_Settings();
    friend class Bit_ly_SettingsHelper;


    // Bit.ly Shortener
    QString mLogin;
    QString mApi_key;
    QString mDomain;

  private:
    ItemString *mLoginItem;
    ItemString *mApi_keyItem;
    ItemString *mDomainItem;
};

#endif

