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

#include "breezestyleconfigdata.h"

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

using namespace Breeze;

namespace Breeze {

class StyleConfigDataHelper
{
  public:
    StyleConfigDataHelper() : q(nullptr) {}
    ~StyleConfigDataHelper() { delete q; q = nullptr; }
    StyleConfigDataHelper(const StyleConfigDataHelper&) = delete;
    StyleConfigDataHelper& operator=(const StyleConfigDataHelper&) = delete;
    StyleConfigData *q;
};

}
Q_GLOBAL_STATIC(StyleConfigDataHelper, s_globalStyleConfigData)
StyleConfigData *StyleConfigData::self()
{
  if (!s_globalStyleConfigData()->q) {
    new StyleConfigData;
    s_globalStyleConfigData()->q->read();
  }

  return s_globalStyleConfigData()->q;
}

StyleConfigData::StyleConfigData( )
  : KConfigSkeleton( QStringLiteral( "klassy/klassyrc" ) )
{
  Q_ASSERT(!s_globalStyleConfigData()->q);
  s_globalStyleConfigData()->q = this;
  setCurrentGroup( QStringLiteral( "Style" ) );

  QList<KConfigSkeleton::ItemEnum::Choice> valuesFrameCornerRadius;
  {
    KConfigSkeleton::ItemEnum::Choice choice;
    choice.name = QStringLiteral("FCR_DerivedFromWindow");
    valuesFrameCornerRadius.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice choice;
    choice.name = QStringLiteral("FCR_Custom");
    valuesFrameCornerRadius.append( choice );
  }
  KConfigSkeleton::ItemEnum  *itemFrameCornerRadius;
  itemFrameCornerRadius = new KConfigSkeleton::ItemEnum( currentGroup(), QStringLiteral( "FrameCornerRadius" ), mFrameCornerRadius, valuesFrameCornerRadius, FCR_DerivedFromWindow );
  addItem( itemFrameCornerRadius, QStringLiteral( "FrameCornerRadius" ) );
  KConfigSkeleton::ItemDouble  *itemFrameCustomCornerRadius;
  itemFrameCustomCornerRadius = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "FrameCustomCornerRadius" ), mFrameCustomCornerRadius, 3.0 );
  itemFrameCustomCornerRadius->setMinValue(0);
  itemFrameCustomCornerRadius->setMaxValue(24.0);
  addItem( itemFrameCustomCornerRadius, QStringLiteral( "FrameCustomCornerRadius" ) );
  KConfigSkeleton::ItemBool  *itemAnimationsEnabled;
  itemAnimationsEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AnimationsEnabled" ), mAnimationsEnabled, true );
  addItem( itemAnimationsEnabled, QStringLiteral( "AnimationsEnabled" ) );
  KConfigSkeleton::ItemInt  *itemAnimationSteps;
  itemAnimationSteps = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "AnimationSteps" ), mAnimationSteps, 10 );
  addItem( itemAnimationSteps, QStringLiteral( "AnimationSteps" ) );
  KConfigSkeleton::ItemInt  *itemAnimationsDuration;
  itemAnimationsDuration = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "AnimationsDuration" ), mAnimationsDuration, 100 );
  addItem( itemAnimationsDuration, QStringLiteral( "AnimationsDuration" ) );
  KConfigSkeleton::ItemBool  *itemStackedWidgetTransitionsEnabled;
  itemStackedWidgetTransitionsEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "StackedWidgetTransitionsEnabled" ), mStackedWidgetTransitionsEnabled, false );
  addItem( itemStackedWidgetTransitionsEnabled, QStringLiteral( "StackedWidgetTransitionsEnabled" ) );
  KConfigSkeleton::ItemBool  *itemProgressBarAnimated;
  itemProgressBarAnimated = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ProgressBarAnimated" ), mProgressBarAnimated, true );
  addItem( itemProgressBarAnimated, QStringLiteral( "ProgressBarAnimated" ) );
  KConfigSkeleton::ItemInt  *itemProgressBarBusyStepDuration;
  itemProgressBarBusyStepDuration = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "ProgressBarBusyStepDuration" ), mProgressBarBusyStepDuration, 800 );
  addItem( itemProgressBarBusyStepDuration, QStringLiteral( "ProgressBarBusyStepDuration" ) );
  KConfigSkeleton::ItemBool  *itemScrollBarSeparator;
  itemScrollBarSeparator = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ScrollBarSeparator" ), mScrollBarSeparator, false );
  addItem( itemScrollBarSeparator, QStringLiteral( "ScrollBarSeparator" ) );
  KConfigSkeleton::ItemInt  *itemScrollBarTopBottomMargins;
  itemScrollBarTopBottomMargins = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "ScrollBarTopBottomMargins" ), mScrollBarTopBottomMargins, 4 );
  itemScrollBarTopBottomMargins->setMinValue(0);
  itemScrollBarTopBottomMargins->setMaxValue(20);
  addItem( itemScrollBarTopBottomMargins, QStringLiteral( "ScrollBarTopBottomMargins" ) );
  KConfigSkeleton::ItemInt  *itemScrollBarAddLineButtons;
  itemScrollBarAddLineButtons = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "ScrollBarAddLineButtons" ), mScrollBarAddLineButtons, 1 );
  addItem( itemScrollBarAddLineButtons, QStringLiteral( "ScrollBarAddLineButtons" ) );
  KConfigSkeleton::ItemInt  *itemScrollBarSubLineButtons;
  itemScrollBarSubLineButtons = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "ScrollBarSubLineButtons" ), mScrollBarSubLineButtons, 1 );
  addItem( itemScrollBarSubLineButtons, QStringLiteral( "ScrollBarSubLineButtons" ) );
  KConfigSkeleton::ItemInt  *itemScrollBarTopOneButtonSpacing;
  itemScrollBarTopOneButtonSpacing = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "ScrollBarTopOneButtonSpacing" ), mScrollBarTopOneButtonSpacing, -4 );
  itemScrollBarTopOneButtonSpacing->setMinValue(-10);
  itemScrollBarTopOneButtonSpacing->setMaxValue(10);
  addItem( itemScrollBarTopOneButtonSpacing, QStringLiteral( "ScrollBarTopOneButtonSpacing" ) );
  KConfigSkeleton::ItemInt  *itemScrollBarBottomOneButtonSpacing;
  itemScrollBarBottomOneButtonSpacing = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "ScrollBarBottomOneButtonSpacing" ), mScrollBarBottomOneButtonSpacing, -4 );
  itemScrollBarBottomOneButtonSpacing->setMinValue(-10);
  itemScrollBarBottomOneButtonSpacing->setMaxValue(10);
  addItem( itemScrollBarBottomOneButtonSpacing, QStringLiteral( "ScrollBarBottomOneButtonSpacing" ) );
  KConfigSkeleton::ItemInt  *itemScrollBarTopTwoButtonSpacing;
  itemScrollBarTopTwoButtonSpacing = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "ScrollBarTopTwoButtonSpacing" ), mScrollBarTopTwoButtonSpacing, -1 );
  itemScrollBarTopTwoButtonSpacing->setMinValue(-10);
  itemScrollBarTopTwoButtonSpacing->setMaxValue(10);
  addItem( itemScrollBarTopTwoButtonSpacing, QStringLiteral( "ScrollBarTopTwoButtonSpacing" ) );
  KConfigSkeleton::ItemInt  *itemScrollBarBottomTwoButtonSpacing;
  itemScrollBarBottomTwoButtonSpacing = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "ScrollBarBottomTwoButtonSpacing" ), mScrollBarBottomTwoButtonSpacing, -1 );
  itemScrollBarBottomTwoButtonSpacing->setMinValue(-10);
  itemScrollBarBottomTwoButtonSpacing->setMaxValue(10);
  addItem( itemScrollBarBottomTwoButtonSpacing, QStringLiteral( "ScrollBarBottomTwoButtonSpacing" ) );
  KConfigSkeleton::ItemBool  *itemScrollBarAutoHideArrows;
  itemScrollBarAutoHideArrows = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ScrollBarAutoHideArrows" ), mScrollBarAutoHideArrows, true );
  addItem( itemScrollBarAutoHideArrows, QStringLiteral( "ScrollBarAutoHideArrows" ) );
  KConfigSkeleton::ItemInt  *itemScrollBarSliderThicknessMouseOver;
  itemScrollBarSliderThicknessMouseOver = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "ScrollBarSliderThicknessMouseOver" ), mScrollBarSliderThicknessMouseOver, 8 );
  itemScrollBarSliderThicknessMouseOver->setMinValue(1);
  itemScrollBarSliderThicknessMouseOver->setMaxValue(50);
  addItem( itemScrollBarSliderThicknessMouseOver, QStringLiteral( "ScrollBarSliderThicknessMouseOver" ) );
  KConfigSkeleton::ItemInt  *itemScrollBarSliderThicknessMouseNotOverPercent;
  itemScrollBarSliderThicknessMouseNotOverPercent = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "ScrollBarSliderThicknessMouseNotOverPercent" ), mScrollBarSliderThicknessMouseNotOverPercent, 75 );
  itemScrollBarSliderThicknessMouseNotOverPercent->setMinValue(1);
  itemScrollBarSliderThicknessMouseNotOverPercent->setMaxValue(100);
  addItem( itemScrollBarSliderThicknessMouseNotOverPercent, QStringLiteral( "ScrollBarSliderThicknessMouseNotOverPercent" ) );
  KConfigSkeleton::ItemInt  *itemScrollBarSliderPadding;
  itemScrollBarSliderPadding = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "ScrollBarSliderPadding" ), mScrollBarSliderPadding, 5 );
  itemScrollBarSliderPadding->setMinValue(0);
  itemScrollBarSliderPadding->setMaxValue(20);
  addItem( itemScrollBarSliderPadding, QStringLiteral( "ScrollBarSliderPadding" ) );
  KConfigSkeleton::ItemInt  *itemScrollBarMinSliderHeight;
  itemScrollBarMinSliderHeight = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "ScrollBarMinSliderHeight" ), mScrollBarMinSliderHeight, 36 );
  itemScrollBarMinSliderHeight->setMinValue(5);
  itemScrollBarMinSliderHeight->setMaxValue(80);
  addItem( itemScrollBarMinSliderHeight, QStringLiteral( "ScrollBarMinSliderHeight" ) );
  QList<KConfigSkeleton::ItemEnum::Choice> valuesMnemonicsMode;
  {
    KConfigSkeleton::ItemEnum::Choice choice;
    choice.name = QStringLiteral("MN_NEVER");
    valuesMnemonicsMode.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice choice;
    choice.name = QStringLiteral("MN_AUTO");
    valuesMnemonicsMode.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice choice;
    choice.name = QStringLiteral("MN_ALWAYS");
    valuesMnemonicsMode.append( choice );
  }
  KConfigSkeleton::ItemEnum  *itemMnemonicsMode;
  itemMnemonicsMode = new KConfigSkeleton::ItemEnum( currentGroup(), QStringLiteral( "MnemonicsMode" ), mMnemonicsMode, valuesMnemonicsMode, MN_AUTO );
  addItem( itemMnemonicsMode, QStringLiteral( "MnemonicsMode" ) );
  KConfigSkeleton::ItemBool  *itemToolBarDrawItemSeparator;
  itemToolBarDrawItemSeparator = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ToolBarDrawItemSeparator" ), mToolBarDrawItemSeparator, true );
  addItem( itemToolBarDrawItemSeparator, QStringLiteral( "ToolBarDrawItemSeparator" ) );
  KConfigSkeleton::ItemBool  *itemViewDrawFocusIndicator;
  itemViewDrawFocusIndicator = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ViewDrawFocusIndicator" ), mViewDrawFocusIndicator, true );
  addItem( itemViewDrawFocusIndicator, QStringLiteral( "ViewDrawFocusIndicator" ) );
  KConfigSkeleton::ItemBool  *itemSliderDrawTickMarks;
  itemSliderDrawTickMarks = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "SliderDrawTickMarks" ), mSliderDrawTickMarks, true );
  addItem( itemSliderDrawTickMarks, QStringLiteral( "SliderDrawTickMarks" ) );
  KConfigSkeleton::ItemBool  *itemViewDrawTreeBranchLines;
  itemViewDrawTreeBranchLines = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ViewDrawTreeBranchLines" ), mViewDrawTreeBranchLines, true );
  addItem( itemViewDrawTreeBranchLines, QStringLiteral( "ViewDrawTreeBranchLines" ) );
  KConfigSkeleton::ItemBool  *itemViewInvertSortIndicator;
  itemViewInvertSortIndicator = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ViewInvertSortIndicator" ), mViewInvertSortIndicator, true );
  addItem( itemViewInvertSortIndicator, QStringLiteral( "ViewInvertSortIndicator" ) );
  KConfigSkeleton::ItemBool  *itemTabBarDrawCenteredTabs;
  itemTabBarDrawCenteredTabs = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "TabBarDrawCenteredTabs" ), mTabBarDrawCenteredTabs, false );
  addItem( itemTabBarDrawCenteredTabs, QStringLiteral( "TabBarDrawCenteredTabs" ) );
  KConfigSkeleton::ItemBool  *itemButtonGradient;
  itemButtonGradient = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ButtonGradient" ), mButtonGradient, false );
  addItem( itemButtonGradient, QStringLiteral( "ButtonGradient" ) );
  KConfigSkeleton::ItemBool  *itemDockWidgetDrawFrame;
  itemDockWidgetDrawFrame = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "DockWidgetDrawFrame" ), mDockWidgetDrawFrame, false );
  addItem( itemDockWidgetDrawFrame, QStringLiteral( "DockWidgetDrawFrame" ) );
  KConfigSkeleton::ItemBool  *itemSidePanelDrawFrame;
  itemSidePanelDrawFrame = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "SidePanelDrawFrame" ), mSidePanelDrawFrame, false );
  addItem( itemSidePanelDrawFrame, QStringLiteral( "SidePanelDrawFrame" ) );
  KConfigSkeleton::ItemBool  *itemMenuItemDrawStrongFocus;
  itemMenuItemDrawStrongFocus = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "MenuItemDrawStrongFocus" ), mMenuItemDrawStrongFocus, true );
  addItem( itemMenuItemDrawStrongFocus, QStringLiteral( "MenuItemDrawStrongFocus" ) );
  QList<KConfigSkeleton::ItemEnum::Choice> valuesWindowDragMode;
  {
    KConfigSkeleton::ItemEnum::Choice choice;
    choice.name = QStringLiteral("WD_NONE");
    valuesWindowDragMode.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice choice;
    choice.name = QStringLiteral("WD_MINIMAL");
    valuesWindowDragMode.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice choice;
    choice.name = QStringLiteral("WD_FULL");
    valuesWindowDragMode.append( choice );
  }
  KConfigSkeleton::ItemEnum  *itemWindowDragMode;
  itemWindowDragMode = new KConfigSkeleton::ItemEnum( currentGroup(), QStringLiteral( "WindowDragMode" ), mWindowDragMode, valuesWindowDragMode, WD_MINIMAL );
  addItem( itemWindowDragMode, QStringLiteral( "WindowDragMode" ) );
  KConfigSkeleton::ItemStringList  *itemWindowDragWhiteList;
  itemWindowDragWhiteList = new KConfigSkeleton::ItemStringList( currentGroup(), QStringLiteral( "WindowDragWhiteList" ), mWindowDragWhiteList );
  addItem( itemWindowDragWhiteList, QStringLiteral( "WindowDragWhiteList" ) );
  KConfigSkeleton::ItemStringList  *itemWindowDragBlackList;
  itemWindowDragBlackList = new KConfigSkeleton::ItemStringList( currentGroup(), QStringLiteral( "WindowDragBlackList" ), mWindowDragBlackList );
  addItem( itemWindowDragBlackList, QStringLiteral( "WindowDragBlackList" ) );
  KConfigSkeleton::ItemBool  *itemSplitterProxyEnabled;
  itemSplitterProxyEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "SplitterProxyEnabled" ), mSplitterProxyEnabled, false );
  addItem( itemSplitterProxyEnabled, QStringLiteral( "SplitterProxyEnabled" ) );
  KConfigSkeleton::ItemInt  *itemSplitterProxyWidth;
  itemSplitterProxyWidth = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "SplitterProxyWidth" ), mSplitterProxyWidth, 12 );
  addItem( itemSplitterProxyWidth, QStringLiteral( "SplitterProxyWidth" ) );
  KConfigSkeleton::ItemBool  *itemWidgetExplorerEnabled;
  itemWidgetExplorerEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "WidgetExplorerEnabled" ), mWidgetExplorerEnabled, false );
  addItem( itemWidgetExplorerEnabled, QStringLiteral( "WidgetExplorerEnabled" ) );
  KConfigSkeleton::ItemBool  *itemDrawWidgetRects;
  itemDrawWidgetRects = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "DrawWidgetRects" ), mDrawWidgetRects, false );
  addItem( itemDrawWidgetRects, QStringLiteral( "DrawWidgetRects" ) );
  KConfigSkeleton::ItemInt  *itemMenuOpacity;
  itemMenuOpacity = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "MenuOpacity" ), mMenuOpacity, 100 );
  addItem( itemMenuOpacity, QStringLiteral( "MenuOpacity" ) );
}

StyleConfigData::~StyleConfigData()
{
  if (s_globalStyleConfigData.exists() && !s_globalStyleConfigData.isDestroyed()) {
    s_globalStyleConfigData()->q = nullptr;
  }
}

