File: fakeadwaitastyleconfigdata.cpp

package info (click to toggle)
adwaita-qt 1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,476 kB
  • sloc: cpp: 10,844; makefile: 2
file content (177 lines) | stat: -rw-r--r-- 10,862 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
// This file is generated by kconfig_compiler from adwaita.kcfg.
// All changes you do to this file will be lost.

#include "fakeadwaitastyleconfigdata.h"

#include <QtCore/QFile>

using namespace Adwaita;

namespace Adwaita {

class StyleConfigDataHelper
{
  public:
    StyleConfigDataHelper() : q(0) {}
    ~StyleConfigDataHelper() { delete q; }
    StyleConfigData *q;
};
}

StyleConfigData* StyleConfigData::_self = nullptr;

StyleConfigData *StyleConfigData::self()
{
  if (!_self)
    _self = new StyleConfigData;

  return _self;
}

StyleConfigData::StyleConfigData(  )
{
  /*
  setCurrentGroup( QLatin1String( "Common" ) );

  KConfigSkeleton::ItemInt  *itemShadowStrength;
  itemShadowStrength = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "ShadowStrength" ), mShadowStrength, 90 );
  itemShadowStrength->setMinValue(25);
  itemShadowStrength->setMaxValue(255);
  addItem( itemShadowStrength, QLatin1String( "ShadowStrength" ) );
  KConfigSkeleton::ItemInt  *itemShadowSize;
  itemShadowSize = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "ShadowSize" ), mShadowSize, 16 );
  itemShadowSize->setMinValue(6);
  itemShadowSize->setMaxValue(64);
  addItem( itemShadowSize, QLatin1String( "ShadowSize" ) );
  KConfigSkeleton::ItemColor  *itemShadowColor;
  itemShadowColor = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "ShadowColor" ), mShadowColor, QColor( 0, 0, 0 ) );
  addItem( itemShadowColor, QLatin1String( "ShadowColor" ) );
  KConfigSkeleton::ItemBool  *itemOutlineCloseButton;
  itemOutlineCloseButton = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "OutlineCloseButton" ), mOutlineCloseButton, true );
  addItem( itemOutlineCloseButton, QLatin1String( "OutlineCloseButton" ) );

  setCurrentGroup( QLatin1String( "Style" ) );

  KConfigSkeleton::ItemBool  *itemAnimationsEnabled;
  itemAnimationsEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "AnimationsEnabled" ), mAnimationsEnabled, true );
  addItem( itemAnimationsEnabled, QLatin1String( "AnimationsEnabled" ) );
  KConfigSkeleton::ItemInt  *itemAnimationSteps;
  itemAnimationSteps = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "AnimationSteps" ), mAnimationSteps, 10 );
  addItem( itemAnimationSteps, QLatin1String( "AnimationSteps" ) );
  KConfigSkeleton::ItemInt  *itemAnimationsDuration;
  itemAnimationsDuration = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "AnimationsDuration" ), mAnimationsDuration, 100 );
  addItem( itemAnimationsDuration, QLatin1String( "AnimationsDuration" ) );
  KConfigSkeleton::ItemBool  *itemStackedWidgetTransitionsEnabled;
  itemStackedWidgetTransitionsEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "StackedWidgetTransitionsEnabled" ), mStackedWidgetTransitionsEnabled, false );
  addItem( itemStackedWidgetTransitionsEnabled, QLatin1String( "StackedWidgetTransitionsEnabled" ) );
  KConfigSkeleton::ItemBool  *itemProgressBarAnimated;
  itemProgressBarAnimated = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ProgressBarAnimated" ), mProgressBarAnimated, true );
  addItem( itemProgressBarAnimated, QLatin1String( "ProgressBarAnimated" ) );
  KConfigSkeleton::ItemInt  *itemProgressBarBusyStepDuration;
  itemProgressBarBusyStepDuration = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "ProgressBarBusyStepDuration" ), mProgressBarBusyStepDuration, 800 );
  addItem( itemProgressBarBusyStepDuration, QLatin1String( "ProgressBarBusyStepDuration" ) );
  KConfigSkeleton::ItemInt  *itemScrollBarAddLineButtons;
  itemScrollBarAddLineButtons = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "ScrollBarAddLineButtons" ), mScrollBarAddLineButtons, 1 );
  addItem( itemScrollBarAddLineButtons, QLatin1String( "ScrollBarAddLineButtons" ) );
  KConfigSkeleton::ItemInt  *itemScrollBarSubLineButtons;
  itemScrollBarSubLineButtons = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "ScrollBarSubLineButtons" ), mScrollBarSubLineButtons, 1 );
  addItem( itemScrollBarSubLineButtons, QLatin1String( "ScrollBarSubLineButtons" ) );
  KConfigSkeleton::ItemBool  *itemScrollBarShowOnMouseOver;
  itemScrollBarShowOnMouseOver = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ScrollBarShowOnMouseOver" ), mScrollBarShowOnMouseOver, true );
  addItem( itemScrollBarShowOnMouseOver, QLatin1String( "ScrollBarShowOnMouseOver" ) );
  QList<KConfigSkeleton::ItemEnum::Choice2> valuesMnemonicsMode;
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("MN_NEVER");
    valuesMnemonicsMode.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("MN_AUTO");
    valuesMnemonicsMode.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("MN_ALWAYS");
    valuesMnemonicsMode.append( choice );
  }
  KConfigSkeleton::ItemEnum  *itemMnemonicsMode;
  itemMnemonicsMode = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "MnemonicsMode" ), mMnemonicsMode, valuesMnemonicsMode, MN_AUTO );
  addItem( itemMnemonicsMode, QLatin1String( "MnemonicsMode" ) );
  KConfigSkeleton::ItemBool  *itemToolBarDrawItemSeparator;
  itemToolBarDrawItemSeparator = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ToolBarDrawItemSeparator" ), mToolBarDrawItemSeparator, true );
  addItem( itemToolBarDrawItemSeparator, QLatin1String( "ToolBarDrawItemSeparator" ) );
  KConfigSkeleton::ItemBool  *itemViewDrawFocusIndicator;
  itemViewDrawFocusIndicator = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ViewDrawFocusIndicator" ), mViewDrawFocusIndicator, true );
  addItem( itemViewDrawFocusIndicator, QLatin1String( "ViewDrawFocusIndicator" ) );
  KConfigSkeleton::ItemBool  *itemSliderDrawTickMarks;
  itemSliderDrawTickMarks = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "SliderDrawTickMarks" ), mSliderDrawTickMarks, true );
  addItem( itemSliderDrawTickMarks, QLatin1String( "SliderDrawTickMarks" ) );
  KConfigSkeleton::ItemBool  *itemViewDrawTreeBranchLines;
  itemViewDrawTreeBranchLines = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ViewDrawTreeBranchLines" ), mViewDrawTreeBranchLines, true );
  addItem( itemViewDrawTreeBranchLines, QLatin1String( "ViewDrawTreeBranchLines" ) );
  KConfigSkeleton::ItemBool  *itemViewInvertSortIndicator;
  itemViewInvertSortIndicator = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ViewInvertSortIndicator" ), mViewInvertSortIndicator, false );
  addItem( itemViewInvertSortIndicator, QLatin1String( "ViewInvertSortIndicator" ) );
  KConfigSkeleton::ItemBool  *itemTabBarDrawCenteredTabs;
  itemTabBarDrawCenteredTabs = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "TabBarDrawCenteredTabs" ), mTabBarDrawCenteredTabs, false );
  addItem( itemTabBarDrawCenteredTabs, QLatin1String( "TabBarDrawCenteredTabs" ) );
  KConfigSkeleton::ItemBool  *itemTitleWidgetDrawFrame;
  itemTitleWidgetDrawFrame = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "TitleWidgetDrawFrame" ), mTitleWidgetDrawFrame, false );
  addItem( itemTitleWidgetDrawFrame, QLatin1String( "TitleWidgetDrawFrame" ) );
  KConfigSkeleton::ItemBool  *itemDockWidgetDrawFrame;
  itemDockWidgetDrawFrame = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "DockWidgetDrawFrame" ), mDockWidgetDrawFrame, false );
  addItem( itemDockWidgetDrawFrame, QLatin1String( "DockWidgetDrawFrame" ) );
  KConfigSkeleton::ItemBool  *itemSidePanelDrawFrame;
  itemSidePanelDrawFrame = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "SidePanelDrawFrame" ), mSidePanelDrawFrame, false );
  addItem( itemSidePanelDrawFrame, QLatin1String( "SidePanelDrawFrame" ) );
  KConfigSkeleton::ItemBool  *itemMenuItemDrawStrongFocus;
  itemMenuItemDrawStrongFocus = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "MenuItemDrawStrongFocus" ), mMenuItemDrawStrongFocus, true );
  addItem( itemMenuItemDrawStrongFocus, QLatin1String( "MenuItemDrawStrongFocus" ) );
  QList<KConfigSkeleton::ItemEnum::Choice2> valuesWindowDragMode;
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("WD_NONE");
    valuesWindowDragMode.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("WD_MINIMAL");
    valuesWindowDragMode.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("WD_FULL");
    valuesWindowDragMode.append( choice );
  }
  KConfigSkeleton::ItemEnum  *itemWindowDragMode;
  itemWindowDragMode = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "WindowDragMode" ), mWindowDragMode, valuesWindowDragMode, WD_FULL );
  addItem( itemWindowDragMode, QLatin1String( "WindowDragMode" ) );
  KConfigSkeleton::ItemStringList  *itemWindowDragWhiteList;
  itemWindowDragWhiteList = new KConfigSkeleton::ItemStringList( currentGroup(), QLatin1String( "WindowDragWhiteList" ), mWindowDragWhiteList );
  addItem( itemWindowDragWhiteList, QLatin1String( "WindowDragWhiteList" ) );
  KConfigSkeleton::ItemStringList  *itemWindowDragBlackList;
  itemWindowDragBlackList = new KConfigSkeleton::ItemStringList( currentGroup(), QLatin1String( "WindowDragBlackList" ), mWindowDragBlackList );
  addItem( itemWindowDragBlackList, QLatin1String( "WindowDragBlackList" ) );
  KConfigSkeleton::ItemBool  *itemUseWMMoveResize;
  itemUseWMMoveResize = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "UseWMMoveResize" ), mUseWMMoveResize, true );
  addItem( itemUseWMMoveResize, QLatin1String( "UseWMMoveResize" ) );
  KConfigSkeleton::ItemBool  *itemSplitterProxyEnabled;
  itemSplitterProxyEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "SplitterProxyEnabled" ), mSplitterProxyEnabled, true );
  addItem( itemSplitterProxyEnabled, QLatin1String( "SplitterProxyEnabled" ) );
  KConfigSkeleton::ItemInt  *itemSplitterProxyWidth;
  itemSplitterProxyWidth = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "SplitterProxyWidth" ), mSplitterProxyWidth, 12 );
  addItem( itemSplitterProxyWidth, QLatin1String( "SplitterProxyWidth" ) );
  KConfigSkeleton::ItemBool  *itemWidgetExplorerEnabled;
  itemWidgetExplorerEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "WidgetExplorerEnabled" ), mWidgetExplorerEnabled, false );
  addItem( itemWidgetExplorerEnabled, QLatin1String( "WidgetExplorerEnabled" ) );
  KConfigSkeleton::ItemBool  *itemDrawWidgetRects;
  itemDrawWidgetRects = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "DrawWidgetRects" ), mDrawWidgetRects, false );
  addItem( itemDrawWidgetRects, QLatin1String( "DrawWidgetRects" ) );
  */
}

StyleConfigData::~StyleConfigData()
{
}