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

#include "is_gd_settings.h"

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

class Is_gd_SettingsHelper
{
  public:
    Is_gd_SettingsHelper() : q(0) {}
    ~Is_gd_SettingsHelper() { delete q; }
    Is_gd_Settings *q;
};
K_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->readConfig();
  }

  return s_globalIs_gd_Settings->q;
}

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

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

Is_gd_Settings::~Is_gd_Settings()
{
  if (!s_globalIs_gd_Settings.isDestroyed()) {
    s_globalIs_gd_Settings->q = 0;
  }
}

