File indexing completed on 2025-01-19 03:59:48
0001 // This file is generated by kconfig_compiler_kf5 from breezesettingsdata.kcfg. 0002 // All changes you do to this file will be lost. 0003 0004 #include "breezesettings.h" 0005 0006 using namespace Breeze; 0007 0008 InternalSettings::InternalSettings( ) 0009 : KConfigSkeleton( QStringLiteral( "breezerc" ) ) 0010 { 0011 setCurrentGroup( QStringLiteral( "Common" ) ); 0012 0013 KConfigSkeleton::ItemInt *itemShadowStrength; 0014 itemShadowStrength = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "ShadowStrength" ), mShadowStrength, 255 ); 0015 itemShadowStrength->setMinValue(25); 0016 itemShadowStrength->setMaxValue(255); 0017 addItem( itemShadowStrength, QStringLiteral( "ShadowStrength" ) ); 0018 QList<KConfigSkeleton::ItemEnum::Choice> valuesShadowSize; 0019 { 0020 KConfigSkeleton::ItemEnum::Choice choice; 0021 choice.name = QStringLiteral("ShadowNone"); 0022 valuesShadowSize.append( choice ); 0023 } 0024 { 0025 KConfigSkeleton::ItemEnum::Choice choice; 0026 choice.name = QStringLiteral("ShadowSmall"); 0027 valuesShadowSize.append( choice ); 0028 } 0029 { 0030 KConfigSkeleton::ItemEnum::Choice choice; 0031 choice.name = QStringLiteral("ShadowMedium"); 0032 valuesShadowSize.append( choice ); 0033 } 0034 { 0035 KConfigSkeleton::ItemEnum::Choice choice; 0036 choice.name = QStringLiteral("ShadowLarge"); 0037 valuesShadowSize.append( choice ); 0038 } 0039 { 0040 KConfigSkeleton::ItemEnum::Choice choice; 0041 choice.name = QStringLiteral("ShadowVeryLarge"); 0042 valuesShadowSize.append( choice ); 0043 } 0044 KConfigSkeleton::ItemEnum *itemShadowSize; 0045 itemShadowSize = new KConfigSkeleton::ItemEnum( currentGroup(), QStringLiteral( "ShadowSize" ), mShadowSize, valuesShadowSize, ShadowLarge ); 0046 addItem( itemShadowSize, QStringLiteral( "ShadowSize" ) ); 0047 KConfigSkeleton::ItemColor *itemShadowColor; 0048 itemShadowColor = new KConfigSkeleton::ItemColor( currentGroup(), QStringLiteral( "ShadowColor" ), mShadowColor, QColor( 0, 0, 0 ) ); 0049 addItem( itemShadowColor, QStringLiteral( "ShadowColor" ) ); 0050 KConfigSkeleton::ItemBool *itemOutlineCloseButton; 0051 itemOutlineCloseButton = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "OutlineCloseButton" ), mOutlineCloseButton, false ); 0052 itemOutlineCloseButton->setWriteFlags(KConfigBase::Notify); 0053 addItem( itemOutlineCloseButton, QStringLiteral( "OutlineCloseButton" ) ); 0054 0055 setCurrentGroup( QStringLiteral( "Windeco" ) ); 0056 0057 QList<KConfigSkeleton::ItemEnum::Choice> valuesBorderSize; 0058 { 0059 KConfigSkeleton::ItemEnum::Choice choice; 0060 choice.name = QStringLiteral("BorderNone"); 0061 valuesBorderSize.append( choice ); 0062 } 0063 { 0064 KConfigSkeleton::ItemEnum::Choice choice; 0065 choice.name = QStringLiteral("BorderNoSides"); 0066 valuesBorderSize.append( choice ); 0067 } 0068 { 0069 KConfigSkeleton::ItemEnum::Choice choice; 0070 choice.name = QStringLiteral("BorderTiny"); 0071 valuesBorderSize.append( choice ); 0072 } 0073 { 0074 KConfigSkeleton::ItemEnum::Choice choice; 0075 choice.name = QStringLiteral("BorderNormal"); 0076 valuesBorderSize.append( choice ); 0077 } 0078 { 0079 KConfigSkeleton::ItemEnum::Choice choice; 0080 choice.name = QStringLiteral("BorderLarge"); 0081 valuesBorderSize.append( choice ); 0082 } 0083 { 0084 KConfigSkeleton::ItemEnum::Choice choice; 0085 choice.name = QStringLiteral("BorderVeryLarge"); 0086 valuesBorderSize.append( choice ); 0087 } 0088 { 0089 KConfigSkeleton::ItemEnum::Choice choice; 0090 choice.name = QStringLiteral("BorderHuge"); 0091 valuesBorderSize.append( choice ); 0092 } 0093 { 0094 KConfigSkeleton::ItemEnum::Choice choice; 0095 choice.name = QStringLiteral("BorderVeryHuge"); 0096 valuesBorderSize.append( choice ); 0097 } 0098 { 0099 KConfigSkeleton::ItemEnum::Choice choice; 0100 choice.name = QStringLiteral("BorderOversized"); 0101 valuesBorderSize.append( choice ); 0102 } 0103 KConfigSkeleton::ItemEnum *itemBorderSize; 0104 itemBorderSize = new KConfigSkeleton::ItemEnum( currentGroup(), QStringLiteral( "BorderSize" ), mBorderSize, valuesBorderSize, BorderNone ); 0105 addItem( itemBorderSize, QStringLiteral( "BorderSize" ) ); 0106 QList<KConfigSkeleton::ItemEnum::Choice> valuesTitleAlignment; 0107 { 0108 KConfigSkeleton::ItemEnum::Choice choice; 0109 choice.name = QStringLiteral("AlignLeft"); 0110 valuesTitleAlignment.append( choice ); 0111 } 0112 { 0113 KConfigSkeleton::ItemEnum::Choice choice; 0114 choice.name = QStringLiteral("AlignCenter"); 0115 valuesTitleAlignment.append( choice ); 0116 } 0117 { 0118 KConfigSkeleton::ItemEnum::Choice choice; 0119 choice.name = QStringLiteral("AlignCenterFullWidth"); 0120 valuesTitleAlignment.append( choice ); 0121 } 0122 { 0123 KConfigSkeleton::ItemEnum::Choice choice; 0124 choice.name = QStringLiteral("AlignRight"); 0125 valuesTitleAlignment.append( choice ); 0126 } 0127 KConfigSkeleton::ItemEnum *itemTitleAlignment; 0128 itemTitleAlignment = new KConfigSkeleton::ItemEnum( currentGroup(), QStringLiteral( "TitleAlignment" ), mTitleAlignment, valuesTitleAlignment, AlignCenterFullWidth ); 0129 addItem( itemTitleAlignment, QStringLiteral( "TitleAlignment" ) ); 0130 QList<KConfigSkeleton::ItemEnum::Choice> valuesButtonSize; 0131 { 0132 KConfigSkeleton::ItemEnum::Choice choice; 0133 choice.name = QStringLiteral("ButtonTiny"); 0134 valuesButtonSize.append( choice ); 0135 } 0136 { 0137 KConfigSkeleton::ItemEnum::Choice choice; 0138 choice.name = QStringLiteral("ButtonSmall"); 0139 valuesButtonSize.append( choice ); 0140 } 0141 { 0142 KConfigSkeleton::ItemEnum::Choice choice; 0143 choice.name = QStringLiteral("ButtonDefault"); 0144 valuesButtonSize.append( choice ); 0145 } 0146 { 0147 KConfigSkeleton::ItemEnum::Choice choice; 0148 choice.name = QStringLiteral("ButtonLarge"); 0149 valuesButtonSize.append( choice ); 0150 } 0151 { 0152 KConfigSkeleton::ItemEnum::Choice choice; 0153 choice.name = QStringLiteral("ButtonVeryLarge"); 0154 valuesButtonSize.append( choice ); 0155 } 0156 KConfigSkeleton::ItemEnum *itemButtonSize; 0157 itemButtonSize = new KConfigSkeleton::ItemEnum( currentGroup(), QStringLiteral( "ButtonSize" ), mButtonSize, valuesButtonSize, ButtonDefault ); 0158 addItem( itemButtonSize, QStringLiteral( "ButtonSize" ) ); 0159 KConfigSkeleton::ItemBool *itemDrawBorderOnMaximizedWindows; 0160 itemDrawBorderOnMaximizedWindows = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "DrawBorderOnMaximizedWindows" ), mDrawBorderOnMaximizedWindows, false ); 0161 addItem( itemDrawBorderOnMaximizedWindows, QStringLiteral( "DrawBorderOnMaximizedWindows" ) ); 0162 KConfigSkeleton::ItemBool *itemDrawBackgroundGradient; 0163 itemDrawBackgroundGradient = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "DrawBackgroundGradient" ), mDrawBackgroundGradient, false ); 0164 addItem( itemDrawBackgroundGradient, QStringLiteral( "DrawBackgroundGradient" ) ); 0165 KConfigSkeleton::ItemBool *itemHideTitleBar; 0166 itemHideTitleBar = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "HideTitleBar" ), mHideTitleBar, false ); 0167 addItem( itemHideTitleBar, QStringLiteral( "HideTitleBar" ) ); 0168 QList<KConfigSkeleton::ItemEnum::Choice> valuesExceptionType; 0169 { 0170 KConfigSkeleton::ItemEnum::Choice choice; 0171 choice.name = QStringLiteral("ExceptionWindowClassName"); 0172 valuesExceptionType.append( choice ); 0173 } 0174 { 0175 KConfigSkeleton::ItemEnum::Choice choice; 0176 choice.name = QStringLiteral("ExceptionWindowTitle"); 0177 valuesExceptionType.append( choice ); 0178 } 0179 KConfigSkeleton::ItemEnum *itemExceptionType; 0180 itemExceptionType = new KConfigSkeleton::ItemEnum( currentGroup(), QStringLiteral( "ExceptionType" ), mExceptionType, valuesExceptionType, ExceptionWindowClassName ); 0181 addItem( itemExceptionType, QStringLiteral( "ExceptionType" ) ); 0182 KConfigSkeleton::ItemString *itemExceptionPattern; 0183 itemExceptionPattern = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "ExceptionPattern" ), mExceptionPattern ); 0184 addItem( itemExceptionPattern, QStringLiteral( "ExceptionPattern" ) ); 0185 KConfigSkeleton::ItemBool *itemEnabled; 0186 itemEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "Enabled" ), mEnabled, true ); 0187 addItem( itemEnabled, QStringLiteral( "Enabled" ) ); 0188 KConfigSkeleton::ItemInt *itemMask; 0189 itemMask = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "Mask" ), mMask, 0 ); 0190 addItem( itemMask, QStringLiteral( "Mask" ) ); 0191 } 0192 0193 InternalSettings::~InternalSettings() 0194 { 0195 } 0196