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

#include "settings.h"

using namespace KWin;

Settings::Settings(  KSharedConfig::Ptr config  )
  : KConfigSkeleton( config )
{
  setCurrentGroup( QStringLiteral( "MouseBindings" ) );

  KConfigSkeleton::ItemString  *itemCommandTitlebarWheel;
  itemCommandTitlebarWheel = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "CommandTitlebarWheel" ), mCommandTitlebarWheel, QStringLiteral( "Nothing" ) );
  addItem( itemCommandTitlebarWheel, QStringLiteral( "CommandTitlebarWheel" ) );
  KConfigSkeleton::ItemString  *itemCommandAllKey;
  itemCommandAllKey = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "CommandAllKey" ), mCommandAllKey, QStringLiteral( "Alt" ) );
  addItem( itemCommandAllKey, QStringLiteral( "CommandAllKey" ) );
  KConfigSkeleton::ItemString  *itemCommandAllWheel;
  itemCommandAllWheel = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "CommandAllWheel" ), mCommandAllWheel, QStringLiteral( "Nothing" ) );
  addItem( itemCommandAllWheel, QStringLiteral( "CommandAllWheel" ) );
  KConfigSkeleton::ItemString  *itemCommandActiveTitlebar1;
  itemCommandActiveTitlebar1 = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "CommandActiveTitlebar1" ), mCommandActiveTitlebar1, QStringLiteral( "Raise" ) );
  addItem( itemCommandActiveTitlebar1, QStringLiteral( "CommandActiveTitlebar1" ) );
  KConfigSkeleton::ItemString  *itemCommandActiveTitlebar2;
  itemCommandActiveTitlebar2 = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "CommandActiveTitlebar2" ), mCommandActiveTitlebar2, QStringLiteral( "Nothing" ) );
  addItem( itemCommandActiveTitlebar2, QStringLiteral( "CommandActiveTitlebar2" ) );
  KConfigSkeleton::ItemString  *itemCommandActiveTitlebar3;
  itemCommandActiveTitlebar3 = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "CommandActiveTitlebar3" ), mCommandActiveTitlebar3, QStringLiteral( "Operations menu" ) );
  addItem( itemCommandActiveTitlebar3, QStringLiteral( "CommandActiveTitlebar3" ) );
  KConfigSkeleton::ItemString  *itemCommandInactiveTitlebar1;
  itemCommandInactiveTitlebar1 = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "CommandInactiveTitlebar1" ), mCommandInactiveTitlebar1, QStringLiteral( "Activate and raise" ) );
  addItem( itemCommandInactiveTitlebar1, QStringLiteral( "CommandInactiveTitlebar1" ) );
  KConfigSkeleton::ItemString  *itemCommandInactiveTitlebar2;
  itemCommandInactiveTitlebar2 = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "CommandInactiveTitlebar2" ), mCommandInactiveTitlebar2, QStringLiteral( "Nothing" ) );
  addItem( itemCommandInactiveTitlebar2, QStringLiteral( "CommandInactiveTitlebar2" ) );
  KConfigSkeleton::ItemString  *itemCommandInactiveTitlebar3;
  itemCommandInactiveTitlebar3 = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "CommandInactiveTitlebar3" ), mCommandInactiveTitlebar3, QStringLiteral( "Operations menu" ) );
  addItem( itemCommandInactiveTitlebar3, QStringLiteral( "CommandInactiveTitlebar3" ) );
  KConfigSkeleton::ItemString  *itemCommandWindow1;
  itemCommandWindow1 = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "CommandWindow1" ), mCommandWindow1, QStringLiteral( "Activate, raise and pass click" ) );
  addItem( itemCommandWindow1, QStringLiteral( "CommandWindow1" ) );
  KConfigSkeleton::ItemString  *itemCommandWindow2;
  itemCommandWindow2 = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "CommandWindow2" ), mCommandWindow2, QStringLiteral( "Activate and pass click" ) );
  addItem( itemCommandWindow2, QStringLiteral( "CommandWindow2" ) );
  KConfigSkeleton::ItemString  *itemCommandWindow3;
  itemCommandWindow3 = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "CommandWindow3" ), mCommandWindow3, QStringLiteral( "Activate and pass click" ) );
  addItem( itemCommandWindow3, QStringLiteral( "CommandWindow3" ) );
  KConfigSkeleton::ItemString  *itemCommandWindowWheel;
  itemCommandWindowWheel = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "CommandWindowWheel" ), mCommandWindowWheel, QStringLiteral( "Scroll" ) );
  addItem( itemCommandWindowWheel, QStringLiteral( "CommandWindowWheel" ) );
  KConfigSkeleton::ItemString  *itemCommandAll1;
  itemCommandAll1 = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "CommandAll1" ), mCommandAll1, QStringLiteral( "Move" ) );
  addItem( itemCommandAll1, QStringLiteral( "CommandAll1" ) );
  KConfigSkeleton::ItemString  *itemCommandAll2;
  itemCommandAll2 = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "CommandAll2" ), mCommandAll2, QStringLiteral( "Toggle raise and lower" ) );
  addItem( itemCommandAll2, QStringLiteral( "CommandAll2" ) );
  KConfigSkeleton::ItemString  *itemCommandAll3;
  itemCommandAll3 = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "CommandAll3" ), mCommandAll3, QStringLiteral( "Resize" ) );
  addItem( itemCommandAll3, QStringLiteral( "CommandAll3" ) );

  setCurrentGroup( QStringLiteral( "ElectricBorders" ) );

  KConfigSkeleton::ItemString  *itemTop;
  itemTop = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "Top" ), mTop, QStringLiteral( "None" ) );
  addItem( itemTop, QStringLiteral( "Top" ) );
  KConfigSkeleton::ItemString  *itemTopRight;
  itemTopRight = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "TopRight" ), mTopRight, QStringLiteral( "None" ) );
  addItem( itemTopRight, QStringLiteral( "TopRight" ) );
  KConfigSkeleton::ItemString  *itemRight;
  itemRight = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "Right" ), mRight, QStringLiteral( "None" ) );
  addItem( itemRight, QStringLiteral( "Right" ) );
  KConfigSkeleton::ItemString  *itemBottomRight;
  itemBottomRight = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "BottomRight" ), mBottomRight, QStringLiteral( "None" ) );
  addItem( itemBottomRight, QStringLiteral( "BottomRight" ) );
  KConfigSkeleton::ItemString  *itemBottom;
  itemBottom = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "Bottom" ), mBottom, QStringLiteral( "None" ) );
  addItem( itemBottom, QStringLiteral( "Bottom" ) );
  KConfigSkeleton::ItemString  *itemBottomLeft;
  itemBottomLeft = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "BottomLeft" ), mBottomLeft, QStringLiteral( "None" ) );
  addItem( itemBottomLeft, QStringLiteral( "BottomLeft" ) );
  KConfigSkeleton::ItemString  *itemLeft;
  itemLeft = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "Left" ), mLeft, QStringLiteral( "None" ) );
  addItem( itemLeft, QStringLiteral( "Left" ) );
  KConfigSkeleton::ItemString  *itemTopLeft;
  itemTopLeft = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "TopLeft" ), mTopLeft, QStringLiteral( "None" ) );
  addItem( itemTopLeft, QStringLiteral( "TopLeft" ) );

  setCurrentGroup( QStringLiteral( "Windows" ) );

  KConfigSkeleton::ItemBool  *itemGeometryTip;
  itemGeometryTip = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "GeometryTip" ), mGeometryTip, false );
  addItem( itemGeometryTip, QStringLiteral( "GeometryTip" ) );
  KConfigSkeleton::ItemBool  *itemCondensedTitle;
  itemCondensedTitle = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "CondensedTitle" ), mCondensedTitle, false );
  addItem( itemCondensedTitle, QStringLiteral( "CondensedTitle" ) );
  QList<KConfigSkeleton::ItemEnum::Choice> valuesFocusPolicy;
  {
    KConfigSkeleton::ItemEnum::Choice choice;
    choice.name = QStringLiteral("ClickToFocus");
    valuesFocusPolicy.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice choice;
    choice.name = QStringLiteral("FocusFollowsMouse");
    valuesFocusPolicy.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice choice;
    choice.name = QStringLiteral("FocusUnderMouse");
    valuesFocusPolicy.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice choice;
    choice.name = QStringLiteral("FocusStrictlyUnderMouse");
    valuesFocusPolicy.append( choice );
  }
  KConfigSkeleton::ItemEnum  *itemFocusPolicy;
  itemFocusPolicy = new KConfigSkeleton::ItemEnum( currentGroup(), QStringLiteral( "FocusPolicy" ), mFocusPolicy, valuesFocusPolicy, Options::ClickToFocus );
  addItem( itemFocusPolicy, QStringLiteral( "FocusPolicy" ) );
  KConfigSkeleton::ItemBool  *itemNextFocusPrefersMouse;
  itemNextFocusPrefersMouse = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "NextFocusPrefersMouse" ), mNextFocusPrefersMouse, false );
  addItem( itemNextFocusPrefersMouse, QStringLiteral( "NextFocusPrefersMouse" ) );
  KConfigSkeleton::ItemBool  *itemSeparateScreenFocus;
  itemSeparateScreenFocus = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "SeparateScreenFocus" ), mSeparateScreenFocus, false );
  addItem( itemSeparateScreenFocus, QStringLiteral( "SeparateScreenFocus" ) );
  KConfigSkeleton::ItemBool  *itemActiveMouseScreen;
  itemActiveMouseScreen = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ActiveMouseScreen" ), mActiveMouseScreen, focusPolicy() != Options::ClickToFocus );
  addItem( itemActiveMouseScreen, QStringLiteral( "ActiveMouseScreen" ) );
  KConfigSkeleton::ItemBool  *itemRollOverDesktops;
  itemRollOverDesktops = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "RollOverDesktops" ), mRollOverDesktops, true );
  addItem( itemRollOverDesktops, QStringLiteral( "RollOverDesktops" ) );
  KConfigSkeleton::ItemInt  *itemFocusStealingPreventionLevel;
  itemFocusStealingPreventionLevel = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "FocusStealingPreventionLevel" ), mFocusStealingPreventionLevel, 1 );
  itemFocusStealingPreventionLevel->setMinValue(0);
  itemFocusStealingPreventionLevel->setMaxValue(4);
  addItem( itemFocusStealingPreventionLevel, QStringLiteral( "FocusStealingPreventionLevel" ) );
  QList<KConfigSkeleton::ItemEnum::Choice> valuesPlacement;
  {
    KConfigSkeleton::ItemEnum::Choice choice;
    choice.name = QStringLiteral("NoPlacement");
    valuesPlacement.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice choice;
    choice.name = QStringLiteral("Default");
    valuesPlacement.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice choice;
    choice.name = QStringLiteral("Unknown");
    valuesPlacement.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice choice;
    choice.name = QStringLiteral("Random");
    valuesPlacement.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice choice;
    choice.name = QStringLiteral("Smart");
    valuesPlacement.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice choice;
    choice.name = QStringLiteral("Cascade");
    valuesPlacement.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice choice;
    choice.name = QStringLiteral("Centered");
    valuesPlacement.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice choice;
    choice.name = QStringLiteral("ZeroCornered");
    valuesPlacement.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice choice;
    choice.name = QStringLiteral("UnderMouse");
    valuesPlacement.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice choice;
    choice.name = QStringLiteral("OnMainWindow");
    valuesPlacement.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice choice;
    choice.name = QStringLiteral("Maximizing");
    valuesPlacement.append( choice );
  }
  KConfigSkeleton::ItemEnum  *itemPlacement;
  itemPlacement = new KConfigSkeleton::ItemEnum( currentGroup(), QStringLiteral( "Placement" ), mPlacement, valuesPlacement, Placement::Smart );
  addItem( itemPlacement, QStringLiteral( "Placement" ) );
  KConfigSkeleton::ItemBool  *itemAutoRaise;
  itemAutoRaise = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AutoRaise" ), mAutoRaise, false );
  addItem( itemAutoRaise, QStringLiteral( "AutoRaise" ) );
  KConfigSkeleton::ItemInt  *itemAutoRaiseInterval;
  itemAutoRaiseInterval = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "AutoRaiseInterval" ), mAutoRaiseInterval, 750 );
  addItem( itemAutoRaiseInterval, QStringLiteral( "AutoRaiseInterval" ) );
  KConfigSkeleton::ItemInt  *itemDelayFocusInterval;
  itemDelayFocusInterval = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "DelayFocusInterval" ), mDelayFocusInterval, 300 );
  addItem( itemDelayFocusInterval, QStringLiteral( "DelayFocusInterval" ) );
  KConfigSkeleton::ItemBool  *itemShadeHover;
  itemShadeHover = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShadeHover" ), mShadeHover, false );
  addItem( itemShadeHover, QStringLiteral( "ShadeHover" ) );
  KConfigSkeleton::ItemInt  *itemShadeHoverInterval;
  itemShadeHoverInterval = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "ShadeHoverInterval" ), mShadeHoverInterval, 250 );
  addItem( itemShadeHoverInterval, QStringLiteral( "ShadeHoverInterval" ) );
  KConfigSkeleton::ItemBool  *itemClickRaise;
  itemClickRaise = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ClickRaise" ), mClickRaise, true );
  addItem( itemClickRaise, QStringLiteral( "ClickRaise" ) );
  KConfigSkeleton::ItemInt  *itemBorderSnapZone;
  itemBorderSnapZone = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "BorderSnapZone" ), mBorderSnapZone, 10 );
  addItem( itemBorderSnapZone, QStringLiteral( "BorderSnapZone" ) );
  KConfigSkeleton::ItemInt  *itemWindowSnapZone;
  itemWindowSnapZone = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "WindowSnapZone" ), mWindowSnapZone, 10 );
  addItem( itemWindowSnapZone, QStringLiteral( "WindowSnapZone" ) );
  KConfigSkeleton::ItemInt  *itemCenterSnapZone;
  itemCenterSnapZone = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "CenterSnapZone" ), mCenterSnapZone, 0 );
  addItem( itemCenterSnapZone, QStringLiteral( "CenterSnapZone" ) );
  KConfigSkeleton::ItemBool  *itemSnapOnlyWhenOverlapping;
  itemSnapOnlyWhenOverlapping = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "SnapOnlyWhenOverlapping" ), mSnapOnlyWhenOverlapping, false );
  addItem( itemSnapOnlyWhenOverlapping, QStringLiteral( "SnapOnlyWhenOverlapping" ) );
  KConfigSkeleton::ItemInt  *itemElectricBorders;
  itemElectricBorders = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "ElectricBorders" ), mElectricBorders, 0 );
  addItem( itemElectricBorders, QStringLiteral( "ElectricBorders" ) );
  KConfigSkeleton::ItemInt  *itemElectricBorderDelay;
  itemElectricBorderDelay = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "ElectricBorderDelay" ), mElectricBorderDelay, 150 );
  addItem( itemElectricBorderDelay, QStringLiteral( "ElectricBorderDelay" ) );
  KConfigSkeleton::ItemInt  *itemElectricBorderCooldown;
  itemElectricBorderCooldown = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "ElectricBorderCooldown" ), mElectricBorderCooldown, 350 );
  addItem( itemElectricBorderCooldown, QStringLiteral( "ElectricBorderCooldown" ) );
  KConfigSkeleton::ItemInt  *itemElectricBorderPushbackPixels;
  itemElectricBorderPushbackPixels = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "ElectricBorderPushbackPixels" ), mElectricBorderPushbackPixels, 1 );
  addItem( itemElectricBorderPushbackPixels, QStringLiteral( "ElectricBorderPushbackPixels" ) );
  KConfigSkeleton::ItemBool  *itemElectricBorderMaximize;
  itemElectricBorderMaximize = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ElectricBorderMaximize" ), mElectricBorderMaximize, true );
  addItem( itemElectricBorderMaximize, QStringLiteral( "ElectricBorderMaximize" ) );
  KConfigSkeleton::ItemBool  *itemElectricBorderTiling;
  itemElectricBorderTiling = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ElectricBorderTiling" ), mElectricBorderTiling, true );
  addItem( itemElectricBorderTiling, QStringLiteral( "ElectricBorderTiling" ) );
  KConfigSkeleton::ItemDouble  *itemElectricBorderCornerRatio;
  itemElectricBorderCornerRatio = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "ElectricBorderCornerRatio" ), mElectricBorderCornerRatio, 0.25 );
  itemElectricBorderCornerRatio->setMinValue(0.0);
  itemElectricBorderCornerRatio->setMaxValue(1.0);
  addItem( itemElectricBorderCornerRatio, QStringLiteral( "ElectricBorderCornerRatio" ) );
  KConfigSkeleton::ItemString  *itemTitlebarDoubleClickCommand;
  itemTitlebarDoubleClickCommand = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "TitlebarDoubleClickCommand" ), mTitlebarDoubleClickCommand, QStringLiteral( "Maximize" ) );
  addItem( itemTitlebarDoubleClickCommand, QStringLiteral( "TitlebarDoubleClickCommand" ) );
  KConfigSkeleton::ItemString  *itemMaximizeButtonLeftClickCommand;
  itemMaximizeButtonLeftClickCommand = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "MaximizeButtonLeftClickCommand" ), mMaximizeButtonLeftClickCommand, QStringLiteral( "Maximize" ) );
  addItem( itemMaximizeButtonLeftClickCommand, QStringLiteral( "MaximizeButtonLeftClickCommand" ) );
  KConfigSkeleton::ItemString  *itemMaximizeButtonMiddleClickCommand;
  itemMaximizeButtonMiddleClickCommand = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "MaximizeButtonMiddleClickCommand" ), mMaximizeButtonMiddleClickCommand, QStringLiteral( "Maximize (vertical only)" ) );
  addItem( itemMaximizeButtonMiddleClickCommand, QStringLiteral( "MaximizeButtonMiddleClickCommand" ) );
  KConfigSkeleton::ItemString  *itemMaximizeButtonRightClickCommand;
  itemMaximizeButtonRightClickCommand = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "MaximizeButtonRightClickCommand" ), mMaximizeButtonRightClickCommand, QStringLiteral( "Maximize (horizontal only)" ) );
  addItem( itemMaximizeButtonRightClickCommand, QStringLiteral( "MaximizeButtonRightClickCommand" ) );
  KConfigSkeleton::ItemInt  *itemKillPingTimeout;
  itemKillPingTimeout = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "KillPingTimeout" ), mKillPingTimeout, 5000 );
  addItem( itemKillPingTimeout, QStringLiteral( "KillPingTimeout" ) );
  KConfigSkeleton::ItemBool  *itemHideUtilityWindowsForInactive;
  itemHideUtilityWindowsForInactive = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "HideUtilityWindowsForInactive" ), mHideUtilityWindowsForInactive, true );
  addItem( itemHideUtilityWindowsForInactive, QStringLiteral( "HideUtilityWindowsForInactive" ) );
  KConfigSkeleton::ItemBool  *itemInactiveTabsSkipTaskbar;
  itemInactiveTabsSkipTaskbar = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "InactiveTabsSkipTaskbar" ), mInactiveTabsSkipTaskbar, false );
  addItem( itemInactiveTabsSkipTaskbar, QStringLiteral( "InactiveTabsSkipTaskbar" ) );
  KConfigSkeleton::ItemBool  *itemAutogroupSimilarWindows;
  itemAutogroupSimilarWindows = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AutogroupSimilarWindows" ), mAutogroupSimilarWindows, false );
  addItem( itemAutogroupSimilarWindows, QStringLiteral( "AutogroupSimilarWindows" ) );
  KConfigSkeleton::ItemBool  *itemAutogroupInForeground;
  itemAutogroupInForeground = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AutogroupInForeground" ), mAutogroupInForeground, true );
  addItem( itemAutogroupInForeground, QStringLiteral( "AutogroupInForeground" ) );
  KConfigSkeleton::ItemBool  *itemBorderlessMaximizedWindows;
  itemBorderlessMaximizedWindows = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "BorderlessMaximizedWindows" ), mBorderlessMaximizedWindows, false );
  addItem( itemBorderlessMaximizedWindows, QStringLiteral( "BorderlessMaximizedWindows" ) );

  setCurrentGroup( QStringLiteral( "Compositing" ) );

  KConfigSkeleton::ItemUInt  *itemMaxFPS;
  itemMaxFPS = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "MaxFPS" ), mMaxFPS, 60 );
  addItem( itemMaxFPS, QStringLiteral( "MaxFPS" ) );
  KConfigSkeleton::ItemUInt  *itemRefreshRate;
  itemRefreshRate = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "RefreshRate" ), mRefreshRate, 0 );
  addItem( itemRefreshRate, QStringLiteral( "RefreshRate" ) );
  KConfigSkeleton::ItemUInt  *itemVBlankTime;
  itemVBlankTime = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "VBlankTime" ), mVBlankTime, 6144 );
  addItem( itemVBlankTime, QStringLiteral( "VBlankTime" ) );
  KConfigSkeleton::ItemString  *itemBackend;
  itemBackend = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "Backend" ), mBackend, QStringLiteral( "OpenGL" ) );
  addItem( itemBackend, QStringLiteral( "Backend" ) );
  KConfigSkeleton::ItemBool  *itemEnabled;
  itemEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "Enabled" ), mEnabled, true );
  addItem( itemEnabled, QStringLiteral( "Enabled" ) );
  KConfigSkeleton::ItemInt  *itemGLTextureFilter;
  itemGLTextureFilter = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "GLTextureFilter" ), mGLTextureFilter, 2 );
  itemGLTextureFilter->setMinValue(-1);
  itemGLTextureFilter->setMaxValue(2);
  addItem( itemGLTextureFilter, QStringLiteral( "GLTextureFilter" ) );
  KConfigSkeleton::ItemBool  *itemGLStrictBinding;
  itemGLStrictBinding = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "GLStrictBinding" ), mGLStrictBinding, true );
  addItem( itemGLStrictBinding, QStringLiteral( "GLStrictBinding" ) );
  KConfigSkeleton::ItemBool  *itemGLLegacy;
  itemGLLegacy = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "GLLegacy" ), mGLLegacy, false );
  addItem( itemGLLegacy, QStringLiteral( "GLLegacy" ) );
  KConfigSkeleton::ItemBool  *itemXRenderSmoothScale;
  itemXRenderSmoothScale = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "XRenderSmoothScale" ), mXRenderSmoothScale, false );
  addItem( itemXRenderSmoothScale, QStringLiteral( "XRenderSmoothScale" ) );
  KConfigSkeleton::ItemInt  *itemHiddenPreviews;
  itemHiddenPreviews = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "HiddenPreviews" ), mHiddenPreviews, 5 );
  itemHiddenPreviews->setMinValue(4);
  itemHiddenPreviews->setMaxValue(6);
  addItem( itemHiddenPreviews, QStringLiteral( "HiddenPreviews" ) );
  KConfigSkeleton::ItemInt  *itemAnimationSpeed;
  itemAnimationSpeed = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "AnimationSpeed" ), mAnimationSpeed, 3 );
  itemAnimationSpeed->setMinValue(0);
  itemAnimationSpeed->setMaxValue(6);
  addItem( itemAnimationSpeed, QStringLiteral( "AnimationSpeed" ) );
  KConfigSkeleton::ItemString  *itemGLPlatformInterface;
  itemGLPlatformInterface = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "GLPlatformInterface" ), mGLPlatformInterface, QStringLiteral( "glx" ) );
  addItem( itemGLPlatformInterface, QStringLiteral( "GLPlatformInterface" ) );
  KConfigSkeleton::ItemBool  *itemWindowsBlockCompositing;
  itemWindowsBlockCompositing = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "WindowsBlockCompositing" ), mWindowsBlockCompositing, true );
  addItem( itemWindowsBlockCompositing, QStringLiteral( "WindowsBlockCompositing" ) );

  setCurrentGroup( QStringLiteral( "TabBox" ) );

  KConfigSkeleton::ItemBool  *itemShowDelay;
  itemShowDelay = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowDelay" ), mShowDelay, true );
  addItem( itemShowDelay, QStringLiteral( "ShowDelay" ) );
  KConfigSkeleton::ItemInt  *itemDelayTime;
  itemDelayTime = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "DelayTime" ), mDelayTime, 90 );
  addItem( itemDelayTime, QStringLiteral( "DelayTime" ) );
  KConfigSkeleton::ItemUInt  *itemDesktopMode;
  itemDesktopMode = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "DesktopMode" ), mDesktopMode, 1 );
  addItem( itemDesktopMode, QStringLiteral( "DesktopMode" ) );
  KConfigSkeleton::ItemUInt  *itemActivitiesMode;
  itemActivitiesMode = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "ActivitiesMode" ), mActivitiesMode, 1 );
  addItem( itemActivitiesMode, QStringLiteral( "ActivitiesMode" ) );
  KConfigSkeleton::ItemUInt  *itemApplicationsMode;
  itemApplicationsMode = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "ApplicationsMode" ), mApplicationsMode, 0 );
  addItem( itemApplicationsMode, QStringLiteral( "ApplicationsMode" ) );
  KConfigSkeleton::ItemUInt  *itemMinimizedMode;
  itemMinimizedMode = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "MinimizedMode" ), mMinimizedMode, 0 );
  addItem( itemMinimizedMode, QStringLiteral( "MinimizedMode" ) );
  KConfigSkeleton::ItemUInt  *itemShowDesktopMode;
  itemShowDesktopMode = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "ShowDesktopMode" ), mShowDesktopMode, 0 );
  addItem( itemShowDesktopMode, QStringLiteral( "ShowDesktopMode" ) );
  KConfigSkeleton::ItemUInt  *itemMultiScreenMode;
  itemMultiScreenMode = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "MultiScreenMode" ), mMultiScreenMode, 0 );
  addItem( itemMultiScreenMode, QStringLiteral( "MultiScreenMode" ) );
  KConfigSkeleton::ItemUInt  *itemSwitchingMode;
  itemSwitchingMode = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "SwitchingMode" ), mSwitchingMode, 0 );
  addItem( itemSwitchingMode, QStringLiteral( "SwitchingMode" ) );
  KConfigSkeleton::ItemBool  *itemShowOutline;
  itemShowOutline = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowOutline" ), mShowOutline, true );
  addItem( itemShowOutline, QStringLiteral( "ShowOutline" ) );
  KConfigSkeleton::ItemBool  *itemShowTabBox;
  itemShowTabBox = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowTabBox" ), mShowTabBox, true );
  addItem( itemShowTabBox, QStringLiteral( "ShowTabBox" ) );
  KConfigSkeleton::ItemBool  *itemHighlightWindows;
  itemHighlightWindows = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "HighlightWindows" ), mHighlightWindows, true );
  addItem( itemHighlightWindows, QStringLiteral( "HighlightWindows" ) );
  KConfigSkeleton::ItemString  *itemLayoutName;
  itemLayoutName = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "LayoutName" ), mLayoutName, QStringLiteral( "thumbnails" ) );
  addItem( itemLayoutName, QStringLiteral( "LayoutName" ) );
}

Settings::~Settings()
{
}

