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

#include "skgdashboard_settings.h"

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

class skgdashboard_settingsHelper
{
  public:
    skgdashboard_settingsHelper() : q(0) {}
    ~skgdashboard_settingsHelper() { delete q; }
    skgdashboard_settings *q;
};
K_GLOBAL_STATIC(skgdashboard_settingsHelper, s_globalskgdashboard_settings)
skgdashboard_settings *skgdashboard_settings::self()
{
  if (!s_globalskgdashboard_settings->q) {
    new skgdashboard_settings;
    s_globalskgdashboard_settings->q->readConfig();
  }

  return s_globalskgdashboard_settings->q;
}

skgdashboard_settings::skgdashboard_settings(  )
  : KConfigSkeleton()
{
  Q_ASSERT(!s_globalskgdashboard_settings->q);
  s_globalskgdashboard_settings->q = this;
  setCurrentGroup( QLatin1String( "skg_dashboard" ) );

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

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

