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

#include "kuiserversettings.h"

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

class ConfigurationHelper
{
  public:
    ConfigurationHelper() : q(nullptr) {}
    ~ConfigurationHelper() { delete q; }
    Configuration *q;
};
Q_GLOBAL_STATIC(ConfigurationHelper, s_globalConfiguration)
Configuration *Configuration::self()
{
  if (!s_globalConfiguration()->q) {
    new Configuration;
    s_globalConfiguration()->q->read();
  }

  return s_globalConfiguration()->q;
}

Configuration::Configuration(  )
  : KConfigSkeleton( QStringLiteral( "kuiserverrc" ) )
{
  Q_ASSERT(!s_globalConfiguration()->q);
  s_globalConfiguration()->q = this;
  setCurrentGroup( QStringLiteral( "Configuration" ) );

  KConfigSkeleton::ItemBool  *itemRadioMove;
  itemRadioMove = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "radioMove" ), mRadioMove, false );
  addItem( itemRadioMove, QStringLiteral( "radioMove" ) );
  KConfigSkeleton::ItemBool  *itemRadioRemove;
  itemRadioRemove = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "radioRemove" ), mRadioRemove, true );
  addItem( itemRadioRemove, QStringLiteral( "radioRemove" ) );
  KConfigSkeleton::ItemBool  *itemRadioList;
  itemRadioList = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "radioList" ), mRadioList, true );
  addItem( itemRadioList, QStringLiteral( "radioList" ) );
  KConfigSkeleton::ItemBool  *itemRadioTree;
  itemRadioTree = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "radioTree" ), mRadioTree, false );
  addItem( itemRadioTree, QStringLiteral( "radioTree" ) );
  KConfigSkeleton::ItemBool  *itemCheckShowSeparateWindows;
  itemCheckShowSeparateWindows = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "checkShowSeparateWindows" ), mCheckShowSeparateWindows, false );
  addItem( itemCheckShowSeparateWindows, QStringLiteral( "checkShowSeparateWindows" ) );
}

Configuration::~Configuration()
{
  s_globalConfiguration()->q = nullptr;
}

