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

#include "keyboardsettings.h"

KeyboardSettingsBase::KeyboardSettingsBase( QObject *parent )
  : KConfigSkeleton( QStringLiteral( "kxkbrc" ) )
{
  setParent(parent);
  setCurrentGroup( QStringLiteral( "Layout" ) );

  KConfigSkeleton::ItemStringList  *itemLayoutList;
  itemLayoutList = new KConfigSkeleton::ItemStringList( currentGroup(), QStringLiteral( "LayoutList" ), mLayoutList, QStringList() );
  addItem( itemLayoutList, QStringLiteral( "layoutList" ) );
  KConfigSkeleton::ItemInt  *itemLayoutLoopCount;
  itemLayoutLoopCount = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "LayoutLoopCount" ), mLayoutLoopCount, -1 );
  addItem( itemLayoutLoopCount, QStringLiteral( "layoutLoopCount" ) );
  KConfigSkeleton::ItemString  *itemKeyboardModel;
  itemKeyboardModel = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "Model" ), mKeyboardModel, QStringLiteral( "pc104" ) );
  addItem( itemKeyboardModel, QStringLiteral( "keyboardModel" ) );
  KConfigSkeleton::ItemStringList  *itemXkbOptions;
  itemXkbOptions = new KConfigSkeleton::ItemStringList( currentGroup(), QStringLiteral( "Options" ), mXkbOptions, QStringList() );
  addItem( itemXkbOptions, QStringLiteral( "xkbOptions" ) );
  KConfigSkeleton::ItemBool  *itemResetOldXkbOptions;
  itemResetOldXkbOptions = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ResetOldOptions" ), mResetOldXkbOptions, false );
  addItem( itemResetOldXkbOptions, QStringLiteral( "resetOldXkbOptions" ) );
  KConfigSkeleton::ItemString  *itemSwitchMode;
  itemSwitchMode = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "SwitchMode" ), mSwitchMode, QStringLiteral( "Global" ) );
  addItem( itemSwitchMode, QStringLiteral( "switchMode" ) );
  KConfigSkeleton::ItemBool  *itemConfigureLayouts;
  itemConfigureLayouts = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "Use" ), mConfigureLayouts, false );
  addItem( itemConfigureLayouts, QStringLiteral( "configureLayouts" ) );
  KConfigSkeleton::ItemStringList  *itemVariantList;
  itemVariantList = new KConfigSkeleton::ItemStringList( currentGroup(), QStringLiteral( "VariantList" ), mVariantList, QStringList() );
  addItem( itemVariantList, QStringLiteral( "variantList" ) );
  KConfigSkeleton::ItemStringList  *itemDisplayNames;
  itemDisplayNames = new KConfigSkeleton::ItemStringList( currentGroup(), QStringLiteral( "DisplayNames" ), mDisplayNames, QStringList() );
  addItem( itemDisplayNames, QStringLiteral( "displayNames" ) );
}

QStringList KeyboardSettingsBase::defaultLayoutListValue_helper() const
{

  return QStringList();
}

int KeyboardSettingsBase::defaultLayoutLoopCountValue_helper() const
{

  return -1;
}

QString KeyboardSettingsBase::defaultKeyboardModelValue_helper() const
{

  return QStringLiteral( "pc104" );
}

QStringList KeyboardSettingsBase::defaultXkbOptionsValue_helper() const
{

  return QStringList();
}

bool KeyboardSettingsBase::defaultResetOldXkbOptionsValue_helper() const
{

  return false;
}

QString KeyboardSettingsBase::defaultSwitchModeValue_helper() const
{

  return QStringLiteral( "Global" );
}

bool KeyboardSettingsBase::defaultConfigureLayoutsValue_helper() const
{

  return false;
}

QStringList KeyboardSettingsBase::defaultVariantListValue_helper() const
{

  return QStringList();
}

QStringList KeyboardSettingsBase::defaultDisplayNamesValue_helper() const
{

  return QStringList();
}

KeyboardSettingsBase::~KeyboardSettingsBase()
{
}

