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

#include "skgprint_settings.h"

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

class skgprint_settingsHelper
{
  public:
    skgprint_settingsHelper() : q(0) {}
    ~skgprint_settingsHelper() { delete q; }
    skgprint_settings *q;
};
K_GLOBAL_STATIC(skgprint_settingsHelper, s_globalskgprint_settings)
skgprint_settings *skgprint_settings::self()
{
  if (!s_globalskgprint_settings->q) {
    new skgprint_settings;
    s_globalskgprint_settings->q->readConfig();
  }

  return s_globalskgprint_settings->q;
}

skgprint_settings::skgprint_settings(  )
  : KConfigSkeleton()
{
  Q_ASSERT(!s_globalskgprint_settings->q);
  s_globalskgprint_settings->q = this;
  setCurrentGroup( QLatin1String( "skg_print" ) );

  KConfigSkeleton::ItemString  *itemUndefined;
  itemUndefined = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "undefined" ), mUndefined );
  addItem( itemUndefined, QLatin1String( "undefined" ) );
}

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

