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

#include "untinysettings.h"

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

class UnTinySettingsHelper
{
  public:
    UnTinySettingsHelper() : q(0) {}
    ~UnTinySettingsHelper() { delete q; }
    UnTinySettings *q;
};
Q_GLOBAL_STATIC(UnTinySettingsHelper, s_globalUnTinySettings)
UnTinySettings *UnTinySettings::self()
{
  if (!s_globalUnTinySettings()->q) {
    new UnTinySettings;
    s_globalUnTinySettings()->q->read();
  }

  return s_globalUnTinySettings()->q;
}

UnTinySettings::UnTinySettings(  )
  : KConfigSkeleton( QStringLiteral( "choqokrc" ) )
{
  Q_ASSERT(!s_globalUnTinySettings()->q);
  s_globalUnTinySettings()->q = this;
  setCurrentGroup( QStringLiteral( "UnTiny Plugin" ) );

  mUseUntinyDotComItem = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "useUntinyDotCom" ), mUseUntinyDotCom, true );
  addItem( mUseUntinyDotComItem, QStringLiteral( "useUntinyDotCom" ) );
}

UnTinySettings::~UnTinySettings()
{
  s_globalUnTinySettings()->q = 0;
}

