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

#include "skgdashboard_settings.h"

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

class skgdashboard_settingsHelper
{
  public:
    skgdashboard_settingsHelper() : q(nullptr) {}
    ~skgdashboard_settingsHelper() { delete q; }
    skgdashboard_settings *q;
};
Q_GLOBAL_STATIC(skgdashboard_settingsHelper, s_globalskgdashboard_settings)
skgdashboard_settings *skgdashboard_settings::self()
{
  if (!s_globalskgdashboard_settings()->q) {
    new skgdashboard_settings;
    s_globalskgdashboard_settings()->q->read();
  }

  return s_globalskgdashboard_settings()->q;
}

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

  KConfigSkeleton::ItemBool  *itemQmlmode;
  itemQmlmode = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "qmlmode" ), mQmlmode, false );
  addItem( itemQmlmode, QStringLiteral( "qmlmode" ) );
}

skgdashboard_settings::~skgdashboard_settings()
{
  s_globalskgdashboard_settings()->q = nullptr;
}

