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

#include "konqsettingsxt.h"

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

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

  return s_globalKonqSettings()->q;
}

KonqSettings::KonqSettings( )
  : KConfigSkeleton( QStringLiteral( "konquerorrc" ) )
{
  Q_ASSERT(!s_globalKonqSettings()->q);
  s_globalKonqSettings()->q = this;
  setCurrentGroup( QStringLiteral( "UserSettings" ) );

  KConfigSkeleton::ItemPath  *itemStartURL;
  itemStartURL = new KConfigSkeleton::ItemPath( currentGroup(), QStringLiteral( "StartURL" ), mStartURL, QStringLiteral( "konq:konqueror" ) );
  addItem( itemStartURL, QStringLiteral( "StartURL" ) );
  KConfigSkeleton::ItemPath  *itemHomeURL;
  itemHomeURL = new KConfigSkeleton::ItemPath( currentGroup(), QStringLiteral( "HomeURL" ), mHomeURL, QStringLiteral( "https://www.kde.org/" ) );
  addItem( itemHomeURL, QStringLiteral( "HomeURL" ) );

  setCurrentGroup( QStringLiteral( "UndoManagerSettings" ) );

  KConfigSkeleton::ItemInt  *itemMaxNumClosedItems;
  itemMaxNumClosedItems = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "maxNumClosedItems" ), mMaxNumClosedItems, 20 );
  itemMaxNumClosedItems->setMinValue(0);
  addItem( itemMaxNumClosedItems, QStringLiteral( "maxNumClosedItems" ) );

  setCurrentGroup( QStringLiteral( "FMSettings" ) );

  KConfigSkeleton::ItemBool  *itemAlwaysNewWin;
  itemAlwaysNewWin = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AlwaysNewWin" ), mAlwaysNewWin, false );
  addItem( itemAlwaysNewWin, QStringLiteral( "AlwaysNewWin" ) );
  KConfigSkeleton::ItemBool  *itemShowFileTips;
  itemShowFileTips = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowFileTips" ), mShowFileTips, true );
  addItem( itemShowFileTips, QStringLiteral( "ShowFileTips" ) );
  KConfigSkeleton::ItemInt  *itemFileTipsItems;
  itemFileTipsItems = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "FileTipsItems" ), mFileTipsItems, 6 );
  addItem( itemFileTipsItems, QStringLiteral( "FileTipsItems" ) );
  KConfigSkeleton::ItemBool  *itemShowPreviewsInFileTips;
  itemShowPreviewsInFileTips = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowPreviewsInFileTips" ), mShowPreviewsInFileTips, true );
  addItem( itemShowPreviewsInFileTips, QStringLiteral( "ShowPreviewsInFileTips" ) );
  KConfigSkeleton::ItemBool  *itemShowDeleteCommand;
  itemShowDeleteCommand = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowDeleteCommand" ), mShowDeleteCommand, true );
  addItem( itemShowDeleteCommand, QStringLiteral( "ShowDeleteCommand" ) );
  KConfigSkeleton::ItemBool  *itemMmbOpensTab;
  itemMmbOpensTab = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "MMBOpensTab" ), mMmbOpensTab, true );
  addItem( itemMmbOpensTab, QStringLiteral( "MmbOpensTab" ) );
  KConfigSkeleton::ItemBool  *itemAlwaysTabbedMode;
  itemAlwaysTabbedMode = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AlwaysTabbedMode" ), mAlwaysTabbedMode, false );
  addItem( itemAlwaysTabbedMode, QStringLiteral( "AlwaysTabbedMode" ) );
  KConfigSkeleton::ItemBool  *itemNewTabsInFront;
  itemNewTabsInFront = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "NewTabsInFront" ), mNewTabsInFront, false );
  addItem( itemNewTabsInFront, QStringLiteral( "NewTabsInFront" ) );
  KConfigSkeleton::ItemBool  *itemOpenAfterCurrentPage;
  itemOpenAfterCurrentPage = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "OpenAfterCurrentPage" ), mOpenAfterCurrentPage, false );
  addItem( itemOpenAfterCurrentPage, QStringLiteral( "OpenAfterCurrentPage" ) );
  KConfigSkeleton::ItemBool  *itemPermanentCloseButton;
  itemPermanentCloseButton = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "PermanentCloseButton" ), mPermanentCloseButton, true );
  addItem( itemPermanentCloseButton, QStringLiteral( "PermanentCloseButton" ) );
  KConfigSkeleton::ItemBool  *itemKonquerorTabforExternalURL;
  itemKonquerorTabforExternalURL = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "KonquerorTabforExternalURL" ), mKonquerorTabforExternalURL, false );
  addItem( itemKonquerorTabforExternalURL, QStringLiteral( "KonquerorTabforExternalURL" ) );
  KConfigSkeleton::ItemBool  *itemPopupsWithinTabs;
  itemPopupsWithinTabs = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "PopupsWithinTabs" ), mPopupsWithinTabs, false );
  addItem( itemPopupsWithinTabs, QStringLiteral( "PopupsWithinTabs" ) );
  KConfigSkeleton::ItemBool  *itemTabCloseActivatePrevious;
  itemTabCloseActivatePrevious = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "TabCloseActivatePrevious" ), mTabCloseActivatePrevious, false );
  addItem( itemTabCloseActivatePrevious, QStringLiteral( "TabCloseActivatePrevious" ) );
  KConfigSkeleton::ItemBool  *itemMouseMiddleClickClosesTab;
  itemMouseMiddleClickClosesTab = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "MouseMiddleClickClosesTab" ), mMouseMiddleClickClosesTab, false );
  addItem( itemMouseMiddleClickClosesTab, QStringLiteral( "MouseMiddleClickClosesTab" ) );
  KConfigSkeleton::ItemBool  *itemAddTabButton;
  itemAddTabButton = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AddTabButton" ), mAddTabButton, true );
  addItem( itemAddTabButton, QStringLiteral( "AddTabButton" ) );
  KConfigSkeleton::ItemBool  *itemCloseTabButton;
  itemCloseTabButton = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "CloseTabButton" ), mCloseTabButton, true );
  addItem( itemCloseTabButton, QStringLiteral( "CloseTabButton" ) );
  KConfigSkeleton::ItemInt  *itemMaximumTabLength;
  itemMaximumTabLength = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "MaximumTabLength" ), mMaximumTabLength, 30 );
  addItem( itemMaximumTabLength, QStringLiteral( "MaximumTabLength" ) );
  KConfigSkeleton::ItemInt  *itemMinimumTabLength;
  itemMinimumTabLength = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "MinimumTabLength" ), mMinimumTabLength, 3 );
  addItem( itemMinimumTabLength, QStringLiteral( "MinimumTabLength" ) );
  KConfigSkeleton::ItemString  *itemTabPosition;
  itemTabPosition = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "TabPosition" ), mTabPosition );
  addItem( itemTabPosition, QStringLiteral( "TabPosition" ) );
  KConfigSkeleton::ItemInt  *itemOpenWithItems;
  itemOpenWithItems = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "OpenWithItems" ), mOpenWithItems, 2 );
  addItem( itemOpenWithItems, QStringLiteral( "OpenWithItems" ) );

  setCurrentGroup( QStringLiteral( "HTML Settings" ) );

  KConfigSkeleton::ItemFont  *itemStandardFont;
  itemStandardFont = new KConfigSkeleton::ItemFont( currentGroup(), QStringLiteral( "StandardFont" ), mStandardFont, QFont("Sans Serif") );
  addItem( itemStandardFont, QStringLiteral( "StandardFont" ) );
  KConfigSkeleton::ItemInt  *itemMediumFontSize;
  itemMediumFontSize = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "MediumFontSize" ), mMediumFontSize, 12 );
  addItem( itemMediumFontSize, QStringLiteral( "MediumFontSize" ) );
  KConfigSkeleton::ItemInt  *itemMinimumFontSize;
  itemMinimumFontSize = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "MinimumFontSize" ), mMinimumFontSize, 7 );
  addItem( itemMinimumFontSize, QStringLiteral( "MinimumFontSize" ) );
  KConfigSkeleton::ItemStringList  *itemFonts;
  itemFonts = new KConfigSkeleton::ItemStringList( currentGroup(), QStringLiteral( "Fonts" ), mFonts );
  addItem( itemFonts, QStringLiteral( "Fonts" ) );
  KConfigSkeleton::ItemString  *itemDefaultEncoding;
  itemDefaultEncoding = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "DefaultEncoding" ), mDefaultEncoding, QString() );
  addItem( itemDefaultEncoding, QStringLiteral( "DefaultEncoding" ) );
  KConfigSkeleton::ItemBool  *itemChangeCursor;
  itemChangeCursor = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ChangeCursor" ), mChangeCursor, true );
  addItem( itemChangeCursor, QStringLiteral( "ChangeCursor" ) );
  KConfigSkeleton::ItemBool  *itemHtmlUnderlineLinks;
  itemHtmlUnderlineLinks = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "UnderlineLinks" ), mHtmlUnderlineLinks, true );
  addItem( itemHtmlUnderlineLinks, QStringLiteral( "HtmlUnderlineLinks" ) );
  KConfigSkeleton::ItemBool  *itemHoverLinks;
  itemHoverLinks = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "HoverLinks" ), mHoverLinks, false );
  addItem( itemHoverLinks, QStringLiteral( "HoverLinks" ) );
  KConfigSkeleton::ItemBool  *itemAutoLoadImages;
  itemAutoLoadImages = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AutoLoadImages" ), mAutoLoadImages, true );
  addItem( itemAutoLoadImages, QStringLiteral( "AutoLoadImages" ) );
  KConfigSkeleton::ItemString  *itemShowAnimations;
  itemShowAnimations = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "ShowAnimations" ), mShowAnimations );
  addItem( itemShowAnimations, QStringLiteral( "ShowAnimations" ) );
  KConfigSkeleton::ItemBool  *itemAutoDelayedActions;
  itemAutoDelayedActions = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AutoDelayedActions" ), mAutoDelayedActions, true );
  addItem( itemAutoDelayedActions, QStringLiteral( "AutoDelayedActions" ) );
  KConfigSkeleton::ItemBool  *itemFormCompletion;
  itemFormCompletion = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "FormCompletion" ), mFormCompletion, true );
  addItem( itemFormCompletion, QStringLiteral( "FormCompletion" ) );
  KConfigSkeleton::ItemInt  *itemMaxFormCompletionItems;
  itemMaxFormCompletionItems = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "MaxFormCompletionItems" ), mMaxFormCompletionItems, 10 );
  addItem( itemMaxFormCompletionItems, QStringLiteral( "MaxFormCompletionItems" ) );
  KConfigSkeleton::ItemBool  *itemEnableFavicon;
  itemEnableFavicon = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "EnableFavicon" ), mEnableFavicon, true );
  addItem( itemEnableFavicon, QStringLiteral( "EnableFavicon" ) );
  KConfigSkeleton::ItemInt  *itemAutomaticDetectionLanguage;
  itemAutomaticDetectionLanguage = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "AutomaticDetectionLanguage" ), mAutomaticDetectionLanguage );
  addItem( itemAutomaticDetectionLanguage, QStringLiteral( "AutomaticDetectionLanguage" ) );
  KConfigSkeleton::ItemBool  *itemEnforceDefaultCharset;
  itemEnforceDefaultCharset = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "EnforceDefaultCharset" ), mEnforceDefaultCharset );
  addItem( itemEnforceDefaultCharset, QStringLiteral( "EnforceDefaultCharset" ) );
  KConfigSkeleton::ItemBool  *itemUserStyleSheetEnabled;
  itemUserStyleSheetEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "UserStyleSheetEnabled" ), mUserStyleSheetEnabled );
  addItem( itemUserStyleSheetEnabled, QStringLiteral( "UserStyleSheetEnabled" ) );

  setCurrentGroup( QStringLiteral( "MainView Settings" ) );

  KConfigSkeleton::ItemBool  *itemOpenMiddleClick;
  itemOpenMiddleClick = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "OpenMiddleClick" ), mOpenMiddleClick, true );
  addItem( itemOpenMiddleClick, QStringLiteral( "OpenMiddleClick" ) );
  KConfigSkeleton::ItemBool  *itemBackRightClick;
  itemBackRightClick = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "BackRightClick" ), mBackRightClick, false );
  addItem( itemBackRightClick, QStringLiteral( "BackRightClick" ) );
  KConfigSkeleton::ItemStringList  *itemToggableViewsShown;
  itemToggableViewsShown = new KConfigSkeleton::ItemStringList( currentGroup(), QStringLiteral( "ToggableViewsShown" ), mToggableViewsShown );
  addItem( itemToggableViewsShown, QStringLiteral( "ToggableViewsShown" ) );

  setCurrentGroup( QStringLiteral( "HistorySettings" ) );

  KConfigSkeleton::ItemString  *itemOpenGroups;
  itemOpenGroups = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "OpenGroups" ), mOpenGroups );
  addItem( itemOpenGroups, QStringLiteral( "OpenGroups" ) );
  KConfigSkeleton::ItemInt  *itemMaximumHistoryEntriesPerView;
  itemMaximumHistoryEntriesPerView = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "MaximumHistoryEntriesPerView" ), mMaximumHistoryEntriesPerView, 50 );
  addItem( itemMaximumHistoryEntriesPerView, QStringLiteral( "MaximumHistoryEntriesPerView" ) );

  setCurrentGroup( QStringLiteral( "Java/JavaScript Settings" ) );

  KConfigSkeleton::ItemBool  *itemShowJavaConsole;
  itemShowJavaConsole = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowJavaConsole" ), mShowJavaConsole, false );
  addItem( itemShowJavaConsole, QStringLiteral( "ShowJavaConsole" ) );
  KConfigSkeleton::ItemBool  *itemUseSecurityManager;
  itemUseSecurityManager = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "UseSecurityManager" ), mUseSecurityManager, true );
  addItem( itemUseSecurityManager, QStringLiteral( "UseSecurityManager" ) );
  KConfigSkeleton::ItemBool  *itemUseKio;
  itemUseKio = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "UseKio" ), mUseKio, false );
  addItem( itemUseKio, QStringLiteral( "UseKio" ) );
  KConfigSkeleton::ItemBool  *itemShutdownAppletServer;
  itemShutdownAppletServer = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShutdownAppletServer" ), mShutdownAppletServer, true );
  addItem( itemShutdownAppletServer, QStringLiteral( "ShutdownAppletServer" ) );
  KConfigSkeleton::ItemInt  *itemAppletServerTimeout;
  itemAppletServerTimeout = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "AppletServerTimeout" ), mAppletServerTimeout, 60 );
  addItem( itemAppletServerTimeout, QStringLiteral( "AppletServerTimeout" ) );
  KConfigSkeleton::ItemPath  *itemJavaPath;
  itemJavaPath = new KConfigSkeleton::ItemPath( currentGroup(), QStringLiteral( "JavaPath" ), mJavaPath, 
#if defined(PATH_JAVA)
PATH_JAVA
#else
"java"
#endif
       );
  addItem( itemJavaPath, QStringLiteral( "JavaPath" ) );
  KConfigSkeleton::ItemStringList  *itemJavaDomains;
  itemJavaDomains = new KConfigSkeleton::ItemStringList( currentGroup(), QStringLiteral( "JavaDomains" ), mJavaDomains );
  addItem( itemJavaDomains, QStringLiteral( "JavaDomains" ) );
  KConfigSkeleton::ItemStringList  *itemJavaDomainSettings;
  itemJavaDomainSettings = new KConfigSkeleton::ItemStringList( currentGroup(), QStringLiteral( "JavaDomainSettings" ), mJavaDomainSettings );
  addItem( itemJavaDomainSettings, QStringLiteral( "JavaDomainSettings" ) );
  KConfigSkeleton::ItemStringList  *itemJavaScriptDomainAdvice;
  itemJavaScriptDomainAdvice = new KConfigSkeleton::ItemStringList( currentGroup(), QStringLiteral( "JavaScriptDomainAdvice" ), mJavaScriptDomainAdvice );
  addItem( itemJavaScriptDomainAdvice, QStringLiteral( "JavaScriptDomainAdvice" ) );
  KConfigSkeleton::ItemString  *itemJavaArgs;
  itemJavaArgs = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "JavaArgs" ), mJavaArgs );
  addItem( itemJavaArgs, QStringLiteral( "JavaArgs" ) );
  QStringList defaultECMADomains;
  defaultECMADomains.append( QString::fromUtf8( "true" ) );

  KConfigSkeleton::ItemStringList  *itemECMADomains;
  itemECMADomains = new KConfigSkeleton::ItemStringList( currentGroup(), QStringLiteral( "ECMADomains" ), mECMADomains, defaultECMADomains );
  addItem( itemECMADomains, QStringLiteral( "ECMADomains" ) );
  KConfigSkeleton::ItemStringList  *itemECMADomainSettings;
  itemECMADomainSettings = new KConfigSkeleton::ItemStringList( currentGroup(), QStringLiteral( "ECMADomainSettings" ), mECMADomainSettings );
  addItem( itemECMADomainSettings, QStringLiteral( "ECMADomainSettings" ) );
  KConfigSkeleton::ItemBool  *itemReportJavaScriptErrors;
  itemReportJavaScriptErrors = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ReportJavaScriptErrors" ), mReportJavaScriptErrors, false );
  addItem( itemReportJavaScriptErrors, QStringLiteral( "ReportJavaScriptErrors" ) );
  KConfigSkeleton::ItemBool  *itemEnableJavaScriptDebug;
  itemEnableJavaScriptDebug = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "EnableJavaScriptDebug" ), mEnableJavaScriptDebug, false );
  addItem( itemEnableJavaScriptDebug, QStringLiteral( "EnableJavaScriptDebug" ) );
  KConfigSkeleton::ItemBool  *itemEnableJavaScript;
  itemEnableJavaScript = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "EnableJavaScript" ), mEnableJavaScript );
  addItem( itemEnableJavaScript, QStringLiteral( "EnableJavaScript" ) );
  KConfigSkeleton::ItemUInt  *itemWindowOpenPolicy;
  itemWindowOpenPolicy = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "WindowOpenPolicy" ), mWindowOpenPolicy );
  addItem( itemWindowOpenPolicy, QStringLiteral( "WindowOpenPolicy" ) );
  KConfigSkeleton::ItemUInt  *itemWindowResizePolicy;
  itemWindowResizePolicy = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "WindowResizePolicy" ), mWindowResizePolicy );
  addItem( itemWindowResizePolicy, QStringLiteral( "WindowResizePolicy" ) );
  KConfigSkeleton::ItemUInt  *itemWindowMovePolicy;
  itemWindowMovePolicy = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "WindowMovePolicy" ), mWindowMovePolicy );
  addItem( itemWindowMovePolicy, QStringLiteral( "WindowMovePolicy" ) );
  KConfigSkeleton::ItemUInt  *itemWindowFocusPolicy;
  itemWindowFocusPolicy = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "WindowFocusPolicy" ), mWindowFocusPolicy );
  addItem( itemWindowFocusPolicy, QStringLiteral( "WindowFocusPolicy" ) );
  KConfigSkeleton::ItemUInt  *itemWindowStatusPolicy;
  itemWindowStatusPolicy = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "WindowStatusPolicy" ), mWindowStatusPolicy );
  addItem( itemWindowStatusPolicy, QStringLiteral( "WindowStatusPolicy" ) );
  KConfigSkeleton::ItemBool  *itemEnablePlugins;
  itemEnablePlugins = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "EnablePlugins" ), mEnablePlugins, true );
  addItem( itemEnablePlugins, QStringLiteral( "EnablePlugins" ) );
  KConfigSkeleton::ItemStringList  *itemPluginDomains;
  itemPluginDomains = new KConfigSkeleton::ItemStringList( currentGroup(), QStringLiteral( "PluginDomains" ), mPluginDomains );
  addItem( itemPluginDomains, QStringLiteral( "PluginDomains" ) );

  setCurrentGroup( QStringLiteral( "Notification Messages" ) );

  KConfigSkeleton::ItemBool  *itemMultipleTabConfirm;
  itemMultipleTabConfirm = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "MultipleTabConfirm" ), mMultipleTabConfirm, false );
  addItem( itemMultipleTabConfirm, QStringLiteral( "MultipleTabConfirm" ) );
  KConfigSkeleton::ItemString  *itemPlugin_application_x_shockwave_flash;
  itemPlugin_application_x_shockwave_flash = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "plugin-application/x-shockwave-flash" ), mPlugin_application_x_shockwave_flash );
  addItem( itemPlugin_application_x_shockwave_flash, QStringLiteral( "plugin_application_x_shockwave_flash" ) );
  KConfigSkeleton::ItemString  *itemPlugin_image_svg_xml;
  itemPlugin_image_svg_xml = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "plugin-image/svg+xml" ), mPlugin_image_svg_xml );
  addItem( itemPlugin_image_svg_xml, QStringLiteral( "plugin_image_svg_xml" ) );

  setCurrentGroup( QStringLiteral( "Reusing" ) );

  KConfigSkeleton::ItemBool  *itemAlwaysHavePreloaded;
  itemAlwaysHavePreloaded = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AlwaysHavePreloaded" ), mAlwaysHavePreloaded, true );
  addItem( itemAlwaysHavePreloaded, QStringLiteral( "AlwaysHavePreloaded" ) );
  KConfigSkeleton::ItemBool  *itemPreloadOnStartup;
  itemPreloadOnStartup = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "PreloadOnStartup" ), mPreloadOnStartup, false );
  addItem( itemPreloadOnStartup, QStringLiteral( "PreloadOnStartup" ) );

  setCurrentGroup( QStringLiteral( "Settings" ) );

  KConfigSkeleton::ItemString  *itemBgImage;
  itemBgImage = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "BgImage" ), mBgImage );
  addItem( itemBgImage, QStringLiteral( "BgImage" ) );
  KConfigSkeleton::ItemBool  *itemSaveURLInProfile;
  itemSaveURLInProfile = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "SaveURLInProfile" ), mSaveURLInProfile, true );
  addItem( itemSaveURLInProfile, QStringLiteral( "SaveURLInProfile" ) );
  QList<KConfigSkeleton::ItemEnum::Choice> valuesSettingsCompletionMode;
  KConfigSkeleton::ItemEnum  *itemSettingsCompletionMode;
  itemSettingsCompletionMode = new KConfigSkeleton::ItemEnum( currentGroup(), QStringLiteral( "CompletionMode" ), mSettingsCompletionMode, valuesSettingsCompletionMode, KCompletion::CompletionPopup );
  addItem( itemSettingsCompletionMode, QStringLiteral( "SettingsCompletionMode" ) );
  KConfigSkeleton::ItemInt  *itemNumberofmostvisitedURLs;
  itemNumberofmostvisitedURLs = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "Number of most visited URLs" ), mNumberofmostvisitedURLs, 10 );
  addItem( itemNumberofmostvisitedURLs, QStringLiteral( "NumberofmostvisitedURLs" ) );

  setCurrentGroup( QStringLiteral( "Trash" ) );

  KConfigSkeleton::ItemBool  *itemConfirmDelete;
  itemConfirmDelete = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ConfirmDelete" ), mConfirmDelete, true );
  addItem( itemConfirmDelete, QStringLiteral( "ConfirmDelete" ) );
  KConfigSkeleton::ItemBool  *itemConfirmTrash;
  itemConfirmTrash = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ConfirmTrash" ), mConfirmTrash, true );
  addItem( itemConfirmTrash, QStringLiteral( "ConfirmTrash" ) );
  KConfigSkeleton::ItemBool  *itemOpenTabsInsideCurrentWindow;
  itemOpenTabsInsideCurrentWindow = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "OpenTabsInsideCurrentWindow" ), mOpenTabsInsideCurrentWindow, false );
  addItem( itemOpenTabsInsideCurrentWindow, QStringLiteral( "OpenTabsInsideCurrentWindow" ) );

  setCurrentGroup( QStringLiteral( "SessionManagerSettings" ) );

  KConfigSkeleton::ItemInt  *itemAutoSaveInterval;
  itemAutoSaveInterval = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "AutoSaveInterval" ), mAutoSaveInterval, 10 );
  addItem( itemAutoSaveInterval, QStringLiteral( "AutoSaveInterval" ) );
}

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

