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

#include "kuiserversettings.h"

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

class ConfigurationHelper
{
  public:
    ConfigurationHelper() : q(0) {}
    ~ConfigurationHelper() { delete q; }
    Configuration *q;
};
K_GLOBAL_STATIC(ConfigurationHelper, s_globalConfiguration)
Configuration *Configuration::self()
{
  if (!s_globalConfiguration->q) {
    new Configuration;
    s_globalConfiguration->q->readConfig();
  }

  return s_globalConfiguration->q;
}

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

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

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

