// This file is generated by kconfig_compiler_kf5 from tinyarro_ws_settings.kcfg.
// All changes you do to this file will be lost.

#include "tinyarro_ws_settings.h"

#include <qglobal.h>
#include <QtCore/QFile>

class Tinyarro_ws_SettingsHelper
{
  public:
    Tinyarro_ws_SettingsHelper() : q(0) {}
    ~Tinyarro_ws_SettingsHelper() { delete q; }
    Tinyarro_ws_Settings *q;
};
Q_GLOBAL_STATIC(Tinyarro_ws_SettingsHelper, s_globalTinyarro_ws_Settings)
Tinyarro_ws_Settings *Tinyarro_ws_Settings::self()
{
  if (!s_globalTinyarro_ws_Settings()->q) {
    new Tinyarro_ws_Settings;
    s_globalTinyarro_ws_Settings()->q->read();
  }

  return s_globalTinyarro_ws_Settings()->q;
}

Tinyarro_ws_Settings::Tinyarro_ws_Settings(  )
  : KConfigSkeleton( QStringLiteral( "choqokrc" ) )
{
  Q_ASSERT(!s_globalTinyarro_ws_Settings()->q);
  s_globalTinyarro_ws_Settings()->q = this;
  setCurrentGroup( QStringLiteral( "Tinyarro.ws Shortener" ) );

  mTinyarro_ws_hostItem = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "tinyarro_ws_host" ), mTinyarro_ws_host );
  addItem( mTinyarro_ws_hostItem, QStringLiteral( "tinyarro_ws_host" ) );
  mTinyarro_ws_host_punnyItem = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "tinyarro_ws_host_punny" ), mTinyarro_ws_host_punny );
  addItem( mTinyarro_ws_host_punnyItem, QStringLiteral( "tinyarro_ws_host_punny" ) );
}

Tinyarro_ws_Settings::~Tinyarro_ws_Settings()
{
  s_globalTinyarro_ws_Settings()->q = 0;
}

