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

#include "is_gd_settings.h"

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

class Is_gd_SettingsHelper
{
  public:
    Is_gd_SettingsHelper() : q(0) {}
    ~Is_gd_SettingsHelper() { delete q; }
    Is_gd_Settings *q;
};
Q_GLOBAL_STATIC(Is_gd_SettingsHelper, s_globalIs_gd_Settings)
Is_gd_Settings *Is_gd_Settings::self()
{
  if (!s_globalIs_gd_Settings()->q) {
    new Is_gd_Settings;
    s_globalIs_gd_Settings()->q->read();
  }

  return s_globalIs_gd_Settings()->q;
}

Is_gd_Settings::Is_gd_Settings(  )
  : KConfigSkeleton( QStringLiteral( "choqokrc" ) )
{
  Q_ASSERT(!s_globalIs_gd_Settings()->q);
  s_globalIs_gd_Settings()->q = this;
  setCurrentGroup( QStringLiteral( "is.gd Shortener" ) );

  mLogstatsItem = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "logstats" ), mLogstats );
  addItem( mLogstatsItem, QStringLiteral( "logstats" ) );
}

Is_gd_Settings::~Is_gd_Settings()
{
  s_globalIs_gd_Settings()->q = 0;
}

