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

#include "scconfig.h"

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

class SCConfigHelper
{
  public:
    SCConfigHelper() : q(nullptr) {}
    ~SCConfigHelper() { delete q; q = nullptr; }
    SCConfigHelper(const SCConfigHelper&) = delete;
    SCConfigHelper& operator=(const SCConfigHelper&) = delete;
    SCConfig *q;
};
Q_GLOBAL_STATIC(SCConfigHelper, s_globalSCConfig)
SCConfig *SCConfig::self()
{
  if (!s_globalSCConfig()->q) {
    new SCConfig;
    s_globalSCConfig()->q->read();
  }

  return s_globalSCConfig()->q;
}

SCConfig::SCConfig( )
  : KConfigSkeleton( QStringLiteral( "subtitlecomposerrc" ) )
{
  Q_ASSERT(!s_globalSCConfig()->q);
  s_globalSCConfig()->q = this;
  setCurrentGroup( QStringLiteral( "General" ) );

  KConfigSkeleton::ItemString  *itemDefaultSubtitlesEncoding;
  itemDefaultSubtitlesEncoding = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "DefaultSubtitlesEncoding" ), mDefaultSubtitlesEncoding, QStringLiteral( "UTF-8" ) );
  addItem( itemDefaultSubtitlesEncoding, QStringLiteral( "DefaultSubtitlesEncoding" ) );
  KConfigSkeleton::ItemInt  *itemTextLineBreak;
  itemTextLineBreak = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "TextLineBreak" ), mTextLineBreak, 0 );
  addItem( itemTextLineBreak, QStringLiteral( "TextLineBreak" ) );
  KConfigSkeleton::ItemInt  *itemSeekOffsetOnDoubleClick;
  itemSeekOffsetOnDoubleClick = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "SeekOffsetOnDoubleClick" ), mSeekOffsetOnDoubleClick, 1500 );
  addItem( itemSeekOffsetOnDoubleClick, QStringLiteral( "SeekOffsetOnDoubleClick" ) );
  KConfigSkeleton::ItemInt  *itemJumpLineOffset;
  itemJumpLineOffset = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "JumpLineOffset" ), mJumpLineOffset, 0 );
  addItem( itemJumpLineOffset, QStringLiteral( "JumpLineOffset" ) );
  KConfigSkeleton::ItemBool  *itemUnpauseOnDoubleClick;
  itemUnpauseOnDoubleClick = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "UnpauseOnDoubleClick" ), mUnpauseOnDoubleClick, false );
  addItem( itemUnpauseOnDoubleClick, QStringLiteral( "UnpauseOnDoubleClick" ) );
  KConfigSkeleton::ItemBool  *itemAutomaticVideoLoad;
  itemAutomaticVideoLoad = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AutomaticVideoLoad" ), mAutomaticVideoLoad, true );
  addItem( itemAutomaticVideoLoad, QStringLiteral( "AutomaticVideoLoad" ) );
  KConfigSkeleton::ItemInt  *itemLinesQuickShiftAmount;
  itemLinesQuickShiftAmount = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "LinesQuickShiftAmount" ), mLinesQuickShiftAmount, 100 );
  addItem( itemLinesQuickShiftAmount, QStringLiteral( "LinesQuickShiftAmount" ) );
  KConfigSkeleton::ItemInt  *itemGrabbedPositionCompensation;
  itemGrabbedPositionCompensation = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "GrabbedPositionCompensation" ), mGrabbedPositionCompensation, 250 );
  addItem( itemGrabbedPositionCompensation, QStringLiteral( "GrabbedPositionCompensation" ) );
  KConfigSkeleton::ItemInt  *itemLineDuration;
  itemLineDuration = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "LineDuration" ), mLineDuration, 1000 );
  addItem( itemLineDuration, QStringLiteral( "LineDuration" ) );
  KConfigSkeleton::ItemInt  *itemLinePause;
  itemLinePause = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "LinePause" ), mLinePause, 100 );
  addItem( itemLinePause, QStringLiteral( "LinePause" ) );

  setCurrentGroup( QStringLiteral( "Error Check" ) );

  KConfigSkeleton::ItemInt  *itemMaxCharacters;
  itemMaxCharacters = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "MaxCharacters" ), mMaxCharacters, 80 );
  addItem( itemMaxCharacters, QStringLiteral( "MaxCharacters" ) );
  KConfigSkeleton::ItemInt  *itemMaxLines;
  itemMaxLines = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "MaxLines" ), mMaxLines, 2 );
  addItem( itemMaxLines, QStringLiteral( "MaxLines" ) );
  KConfigSkeleton::ItemInt  *itemMaxCharactersPerLine;
  itemMaxCharactersPerLine = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "MaxCharactersPerLine" ), mMaxCharactersPerLine, 40 );
  addItem( itemMaxCharactersPerLine, QStringLiteral( "MaxCharactersPerLine" ) );
  KConfigSkeleton::ItemInt  *itemMinDuration;
  itemMinDuration = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "MinDuration" ), mMinDuration, 700 );
  addItem( itemMinDuration, QStringLiteral( "MinDuration" ) );
  KConfigSkeleton::ItemInt  *itemMaxDuration;
  itemMaxDuration = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "MaxDuration" ), mMaxDuration, 5000 );
  addItem( itemMaxDuration, QStringLiteral( "MaxDuration" ) );
  KConfigSkeleton::ItemInt  *itemMinDurationPerCharacter;
  itemMinDurationPerCharacter = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "MinDurationPerCharacter" ), mMinDurationPerCharacter, 30 );
  addItem( itemMinDurationPerCharacter, QStringLiteral( "MinDurationPerCharacter" ) );
  KConfigSkeleton::ItemInt  *itemIdealDurationPerCharacter;
  itemIdealDurationPerCharacter = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "IdealDurationPerCharacter" ), mIdealDurationPerCharacter, 50 );
  addItem( itemIdealDurationPerCharacter, QStringLiteral( "IdealDurationPerCharacter" ) );
  KConfigSkeleton::ItemInt  *itemMaxDurationPerCharacter;
  itemMaxDurationPerCharacter = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "MaxDurationPerCharacter" ), mMaxDurationPerCharacter, 185 );
  addItem( itemMaxDurationPerCharacter, QStringLiteral( "MaxDurationPerCharacter" ) );
  KConfigSkeleton::ItemBool  *itemAutoClearFixed;
  itemAutoClearFixed = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AutoClearFixed" ), mAutoClearFixed, false );
  addItem( itemAutoClearFixed, QStringLiteral( "AutoClearFixed" ) );

  setCurrentGroup( QStringLiteral( "Spelling" ) );

  KConfigSkeleton::ItemString  *itemDefaultLanguage;
  itemDefaultLanguage = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "DefaultLanguage" ), mDefaultLanguage, QStringLiteral( "en_US" ) );
  addItem( itemDefaultLanguage, QStringLiteral( "DefaultLanguage" ) );
  KConfigSkeleton::ItemBool  *itemAutodetectLanguage;
  itemAutodetectLanguage = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "autodetectLanguage" ), mAutodetectLanguage, true );
  addItem( itemAutodetectLanguage, QStringLiteral( "autodetectLanguage" ) );
  KConfigSkeleton::ItemString  *itemDefaultClient;
  itemDefaultClient = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "DefaultClient" ), mDefaultClient );
  addItem( itemDefaultClient, QStringLiteral( "DefaultClient" ) );
  KConfigSkeleton::ItemBool  *itemBackgroundCheckerEnabled;
  itemBackgroundCheckerEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "backgroundCheckerEnabled" ), mBackgroundCheckerEnabled, true );
  addItem( itemBackgroundCheckerEnabled, QStringLiteral( "backgroundCheckerEnabled" ) );
  KConfigSkeleton::ItemBool  *itemCheckerEnabledByDefault;
  itemCheckerEnabledByDefault = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "checkerEnabledByDefault" ), mCheckerEnabledByDefault, true );
  addItem( itemCheckerEnabledByDefault, QStringLiteral( "checkerEnabledByDefault" ) );
  KConfigSkeleton::ItemBool  *itemSkipUppercase;
  itemSkipUppercase = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "skipUppercase" ), mSkipUppercase, false );
  addItem( itemSkipUppercase, QStringLiteral( "skipUppercase" ) );
  KConfigSkeleton::ItemBool  *itemSkipRunTogether;
  itemSkipRunTogether = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "skipRunTogether" ), mSkipRunTogether, true );
  addItem( itemSkipRunTogether, QStringLiteral( "skipRunTogether" ) );

  setCurrentGroup( QStringLiteral( "Waveform Widget" ) );

  KConfigSkeleton::ItemString  *itemWfInnerColor;
  itemWfInnerColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "wfInnerColor" ), mWfInnerColor, QStringLiteral( "#969696" ) );
  addItem( itemWfInnerColor, QStringLiteral( "wfInnerColor" ) );
  KConfigSkeleton::ItemString  *itemWfOuterColor;
  itemWfOuterColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "wfOuterColor" ), mWfOuterColor, QStringLiteral( "#646464" ) );
  addItem( itemWfOuterColor, QStringLiteral( "wfOuterColor" ) );
  KConfigSkeleton::ItemBool  *itemWfSmoothScroll;
  itemWfSmoothScroll = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "wfSmoothScroll" ), mWfSmoothScroll, true );
  addItem( itemWfSmoothScroll, QStringLiteral( "wfSmoothScroll" ) );
  KConfigSkeleton::ItemInt  *itemWfAutoscrollPadding;
  itemWfAutoscrollPadding = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "wfAutoscrollPadding" ), mWfAutoscrollPadding, 12 );
  addItem( itemWfAutoscrollPadding, QStringLiteral( "wfAutoscrollPadding" ) );
  KConfigSkeleton::ItemString  *itemWfSubBackground;
  itemWfSubBackground = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "wfSubBackground" ), mWfSubBackground, QStringLiteral( "#64000064" ) );
  addItem( itemWfSubBackground, QStringLiteral( "wfSubBackground" ) );
  KConfigSkeleton::ItemString  *itemWfSubBorder;
  itemWfSubBorder = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "wfSubBorder" ), mWfSubBorder, QStringLiteral( "#960000ff" ) );
  addItem( itemWfSubBorder, QStringLiteral( "wfSubBorder" ) );
  KConfigSkeleton::ItemInt  *itemWfSubBorderWidth;
  itemWfSubBorderWidth = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "wfSubBorderWidth" ), mWfSubBorderWidth, 1 );
  addItem( itemWfSubBorderWidth, QStringLiteral( "wfSubBorderWidth" ) );
  KConfigSkeleton::ItemString  *itemWfSelBackground;
  itemWfSelBackground = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "wfSelBackground" ), mWfSelBackground, QStringLiteral( "#64646400" ) );
  addItem( itemWfSelBackground, QStringLiteral( "wfSelBackground" ) );
  KConfigSkeleton::ItemString  *itemWfSelBorder;
  itemWfSelBorder = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "wfSelBorder" ), mWfSelBorder, QStringLiteral( "#96ffff00" ) );
  addItem( itemWfSelBorder, QStringLiteral( "wfSelBorder" ) );
  KConfigSkeleton::ItemString  *itemWfFontFamily;
  itemWfFontFamily = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "wfFontFamily" ), mWfFontFamily, QStringLiteral( "Sans Serif" ) );
  addItem( itemWfFontFamily, QStringLiteral( "wfFontFamily" ) );
  KConfigSkeleton::ItemInt  *itemWfSubNumberFontSize;
  itemWfSubNumberFontSize = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "wfSubNumberFontSize" ), mWfSubNumberFontSize, 10 );
  addItem( itemWfSubNumberFontSize, QStringLiteral( "wfSubNumberFontSize" ) );
  KConfigSkeleton::ItemString  *itemWfSubNumberColor;
  itemWfSubNumberColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "wfSubNumberColor" ), mWfSubNumberColor, QStringLiteral( "#ffffff" ) );
  addItem( itemWfSubNumberColor, QStringLiteral( "wfSubNumberColor" ) );
  KConfigSkeleton::ItemInt  *itemWfSubTextFontSize;
  itemWfSubTextFontSize = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "wfSubTextFontSize" ), mWfSubTextFontSize, 9 );
  addItem( itemWfSubTextFontSize, QStringLiteral( "wfSubTextFontSize" ) );
  KConfigSkeleton::ItemString  *itemWfSubTextColor;
  itemWfSubTextColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "wfSubTextColor" ), mWfSubTextColor, QStringLiteral( "#e1ffffff" ) );
  addItem( itemWfSubTextColor, QStringLiteral( "wfSubTextColor" ) );
  KConfigSkeleton::ItemString  *itemWfMouseLocation;
  itemWfMouseLocation = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "wfMouseLocation" ), mWfMouseLocation, QStringLiteral( "#50ffffff" ) );
  addItem( itemWfMouseLocation, QStringLiteral( "wfMouseLocation" ) );
  KConfigSkeleton::ItemString  *itemWfPlayLocation;
  itemWfPlayLocation = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "wfPlayLocation" ), mWfPlayLocation, QStringLiteral( "#a0ffffff" ) );
  addItem( itemWfPlayLocation, QStringLiteral( "wfPlayLocation" ) );

  setCurrentGroup( QStringLiteral( "VideoPlayer" ) );

  KConfigSkeleton::ItemBool  *itemVideoAutoPlay;
  itemVideoAutoPlay = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "VideoAutoPlay" ), mVideoAutoPlay, true );
  addItem( itemVideoAutoPlay, QStringLiteral( "VideoAutoPlay" ) );
  KConfigSkeleton::ItemDouble  *itemSeekJumpLength;
  itemSeekJumpLength = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "SeekJumpLength" ), mSeekJumpLength, 5.0 );
  addItem( itemSeekJumpLength, QStringLiteral( "SeekJumpLength" ) );
  KConfigSkeleton::ItemInt  *itemStepJumpLength;
  itemStepJumpLength = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "StepJumpLength" ), mStepJumpLength, 2 );
  addItem( itemStepJumpLength, QStringLiteral( "StepJumpLength" ) );
  KConfigSkeleton::ItemBool  *itemShowPositionTimeEdit;
  itemShowPositionTimeEdit = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowPositionTimeEdit" ), mShowPositionTimeEdit, false );
  addItem( itemShowPositionTimeEdit, QStringLiteral( "ShowPositionTimeEdit" ) );
  KConfigSkeleton::ItemInt  *itemVolumeAmplification;
  itemVolumeAmplification = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "VolumeAmplification" ), mVolumeAmplification, 0 );
  addItem( itemVolumeAmplification, QStringLiteral( "VolumeAmplification" ) );
  KConfigSkeleton::ItemString  *itemFontFamily;
  itemFontFamily = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "FontFamily" ), mFontFamily, QStringLiteral( "Sans Serif" ) );
  addItem( itemFontFamily, QStringLiteral( "FontFamily" ) );
  KConfigSkeleton::ItemInt  *itemFontSize;
  itemFontSize = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "FontSize" ), mFontSize, 15 );
  addItem( itemFontSize, QStringLiteral( "FontSize" ) );
  KConfigSkeleton::ItemString  *itemFontColor;
  itemFontColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "FontColor" ), mFontColor, QStringLiteral( "#ffff00" ) );
  addItem( itemFontColor, QStringLiteral( "FontColor" ) );
  KConfigSkeleton::ItemString  *itemOutlineColor;
  itemOutlineColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "OutlineColor" ), mOutlineColor, QStringLiteral( "#000000" ) );
  addItem( itemOutlineColor, QStringLiteral( "OutlineColor" ) );
  KConfigSkeleton::ItemInt  *itemOutlineWidth;
  itemOutlineWidth = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "OutlineWidth" ), mOutlineWidth, 1 );
  addItem( itemOutlineWidth, QStringLiteral( "OutlineWidth" ) );

  setCurrentGroup( QStringLiteral( "Translation" ) );

  KConfigSkeleton::ItemString  *itemTranslateEngine;
  itemTranslateEngine = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "translateEngine" ), mTranslateEngine, QStringLiteral( "DeepL" ) );
  addItem( itemTranslateEngine, QStringLiteral( "translateEngine" ) );

  setCurrentGroup( QStringLiteral( "GoogleCloudTranslate" ) );

  KConfigSkeleton::ItemPath  *itemGctServiceJSON;
  itemGctServiceJSON = new KConfigSkeleton::ItemPath( currentGroup(), QStringLiteral( "gctServiceJSON" ), mGctServiceJSON );
  addItem( itemGctServiceJSON, QStringLiteral( "gctServiceJSON" ) );
  KConfigSkeleton::ItemString  *itemGctLangSource;
  itemGctLangSource = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "gctLangSource" ), mGctLangSource );
  addItem( itemGctLangSource, QStringLiteral( "gctLangSource" ) );
  KConfigSkeleton::ItemString  *itemGctLangTrans;
  itemGctLangTrans = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "gctLangTrans" ), mGctLangTrans );
  addItem( itemGctLangTrans, QStringLiteral( "gctLangTrans" ) );
  KConfigSkeleton::ItemString  *itemGctAccessToken;
  itemGctAccessToken = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "gctAccessToken" ), mGctAccessToken );
  addItem( itemGctAccessToken, QStringLiteral( "gctAccessToken" ) );
  KConfigSkeleton::ItemDateTime  *itemGctTokenExpires;
  itemGctTokenExpires = new KConfigSkeleton::ItemDateTime( currentGroup(), QStringLiteral( "gctTokenExpires" ), mGctTokenExpires );
  addItem( itemGctTokenExpires, QStringLiteral( "gctTokenExpires" ) );
  KConfigSkeleton::ItemString  *itemGctTokenType;
  itemGctTokenType = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "gctTokenType" ), mGctTokenType );
  addItem( itemGctTokenType, QStringLiteral( "gctTokenType" ) );

  setCurrentGroup( QStringLiteral( "DeepLTranslate" ) );

  KConfigSkeleton::ItemString  *itemDltAuthKey;
  itemDltAuthKey = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "dltAuthKey" ), mDltAuthKey );
  addItem( itemDltAuthKey, QStringLiteral( "dltAuthKey" ) );
  KConfigSkeleton::ItemString  *itemDltApiDomain;
  itemDltApiDomain = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "dltApiDomain" ), mDltApiDomain );
  addItem( itemDltApiDomain, QStringLiteral( "dltApiDomain" ) );
  KConfigSkeleton::ItemString  *itemDltLangSource;
  itemDltLangSource = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "dltLangSource" ), mDltLangSource );
  addItem( itemDltLangSource, QStringLiteral( "dltLangSource" ) );
  KConfigSkeleton::ItemString  *itemDltLangTrans;
  itemDltLangTrans = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "dltLangTrans" ), mDltLangTrans );
  addItem( itemDltLangTrans, QStringLiteral( "dltLangTrans" ) );

  setCurrentGroup( QStringLiteral( "MinTTranslate" ) );

  KConfigSkeleton::ItemString  *itemMintURLPrefix;
  itemMintURLPrefix = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "mintURLPrefix" ), mMintURLPrefix, QStringLiteral( "https://translate.wmcloud.org/" ) );
  addItem( itemMintURLPrefix, QStringLiteral( "mintURLPrefix" ) );
  KConfigSkeleton::ItemString  *itemMintLangSource;
  itemMintLangSource = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "mintLangSource" ), mMintLangSource );
  addItem( itemMintLangSource, QStringLiteral( "mintLangSource" ) );
  KConfigSkeleton::ItemString  *itemMintLangTrans;
  itemMintLangTrans = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "mintLangTrans" ), mMintLangTrans );
  addItem( itemMintLangTrans, QStringLiteral( "mintLangTrans" ) );
}

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

