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

#include "Options.h"

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

class OptionsHelper
{
  public:
    OptionsHelper() : q(nullptr) {}
    ~OptionsHelper() { delete q; }
    Options *q;
};
Q_GLOBAL_STATIC(OptionsHelper, s_globalOptions)
Options *Options::self()
{
  if (!s_globalOptions()->q) {
    new Options;
    s_globalOptions()->q->read();
  }

  return s_globalOptions()->q;
}

Options::Options(  )
  : KConfigSkeleton( QStringLiteral( "kstarsrc" ) )
{
  Q_ASSERT(!s_globalOptions()->q);
  s_globalOptions()->q = this;
  setCurrentGroup( QStringLiteral( "GUI" ) );

  KConfigSkeleton::ItemPoint  *itemPositionTimeBox;
  itemPositionTimeBox = new KConfigSkeleton::ItemPoint( currentGroup(), QStringLiteral( "PositionTimeBox" ), mPositionTimeBox, QPoint(0,0) );
  addItem( itemPositionTimeBox, QStringLiteral( "PositionTimeBox" ) );
  KConfigSkeleton::ItemPoint  *itemPositionFocusBox;
  itemPositionFocusBox = new KConfigSkeleton::ItemPoint( currentGroup(), QStringLiteral( "PositionFocusBox" ), mPositionFocusBox, QPoint(600,0) );
  addItem( itemPositionFocusBox, QStringLiteral( "PositionFocusBox" ) );
  KConfigSkeleton::ItemPoint  *itemPositionGeoBox;
  itemPositionGeoBox = new KConfigSkeleton::ItemPoint( currentGroup(), QStringLiteral( "PositionGeoBox" ), mPositionGeoBox, QPoint(0,600) );
  addItem( itemPositionGeoBox, QStringLiteral( "PositionGeoBox" ) );
  KConfigSkeleton::ItemBool  *itemShadeTimeBox;
  itemShadeTimeBox = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShadeTimeBox" ), mShadeTimeBox, true );
  addItem( itemShadeTimeBox, QStringLiteral( "ShadeTimeBox" ) );
  KConfigSkeleton::ItemBool  *itemShadeFocusBox;
  itemShadeFocusBox = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShadeFocusBox" ), mShadeFocusBox, true );
  addItem( itemShadeFocusBox, QStringLiteral( "ShadeFocusBox" ) );
  KConfigSkeleton::ItemBool  *itemShadeGeoBox;
  itemShadeGeoBox = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShadeGeoBox" ), mShadeGeoBox, true );
  addItem( itemShadeGeoBox, QStringLiteral( "ShadeGeoBox" ) );
  KConfigSkeleton::ItemBool  *itemShowInfoBoxes;
  itemShowInfoBoxes = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowInfoBoxes" ), mShowInfoBoxes, true );
  addItem( itemShowInfoBoxes, QStringLiteral( "ShowInfoBoxes" ) );
  KConfigSkeleton::ItemBool  *itemShowTimeBox;
  itemShowTimeBox = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowTimeBox" ), mShowTimeBox, true );
  addItem( itemShowTimeBox, QStringLiteral( "ShowTimeBox" ) );
  KConfigSkeleton::ItemBool  *itemShowFocusBox;
  itemShowFocusBox = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowFocusBox" ), mShowFocusBox, true );
  addItem( itemShowFocusBox, QStringLiteral( "ShowFocusBox" ) );
  KConfigSkeleton::ItemBool  *itemShowGeoBox;
  itemShowGeoBox = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowGeoBox" ), mShowGeoBox, true );
  addItem( itemShowGeoBox, QStringLiteral( "ShowGeoBox" ) );
  KConfigSkeleton::ItemInt  *itemStickyTimeBox;
  itemStickyTimeBox = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "StickyTimeBox" ), mStickyTimeBox, 0 );
  itemStickyTimeBox->setMinValue(0);
  itemStickyTimeBox->setMaxValue(3);
  addItem( itemStickyTimeBox, QStringLiteral( "StickyTimeBox" ) );
  KConfigSkeleton::ItemInt  *itemStickyFocusBox;
  itemStickyFocusBox = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "StickyFocusBox" ), mStickyFocusBox, 1 );
  itemStickyFocusBox->setMinValue(0);
  itemStickyFocusBox->setMaxValue(3);
  addItem( itemStickyFocusBox, QStringLiteral( "StickyFocusBox" ) );
  KConfigSkeleton::ItemInt  *itemStickyGeoBox;
  itemStickyGeoBox = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "StickyGeoBox" ), mStickyGeoBox, 2 );
  itemStickyGeoBox->setMinValue(0);
  itemStickyGeoBox->setMaxValue(3);
  addItem( itemStickyGeoBox, QStringLiteral( "StickyGeoBox" ) );
  KConfigSkeleton::ItemBool  *itemShowStatusBar;
  itemShowStatusBar = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowStatusBar" ), mShowStatusBar, true );
  addItem( itemShowStatusBar, QStringLiteral( "ShowStatusBar" ) );
  KConfigSkeleton::ItemBool  *itemShowAltAzField;
  itemShowAltAzField = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowAltAzField" ), mShowAltAzField, true );
  addItem( itemShowAltAzField, QStringLiteral( "ShowAltAzField" ) );
  KConfigSkeleton::ItemBool  *itemShowRADecField;
  itemShowRADecField = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowRADecField" ), mShowRADecField, true );
  addItem( itemShowRADecField, QStringLiteral( "ShowRADecField" ) );
  KConfigSkeleton::ItemBool  *itemShowJ2000RADecField;
  itemShowJ2000RADecField = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowJ2000RADecField" ), mShowJ2000RADecField, false );
  addItem( itemShowJ2000RADecField, QStringLiteral( "ShowJ2000RADecField" ) );
  KConfigSkeleton::ItemUInt  *itemWindowWidth;
  itemWindowWidth = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "WindowWidth" ), mWindowWidth, 1024 );
  addItem( itemWindowWidth, QStringLiteral( "WindowWidth" ) );
  KConfigSkeleton::ItemUInt  *itemWindowHeight;
  itemWindowHeight = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "WindowHeight" ), mWindowHeight, 768 );
  addItem( itemWindowHeight, QStringLiteral( "WindowHeight" ) );
  KConfigSkeleton::ItemBool  *itemRunStartupWizard;
  itemRunStartupWizard = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "RunStartupWizard" ), mRunStartupWizard, true );
  addItem( itemRunStartupWizard, QStringLiteral( "RunStartupWizard" ) );

  setCurrentGroup( QStringLiteral( "Catalogs" ) );

  KConfigSkeleton::ItemStringList  *itemCatalogFile;
  itemCatalogFile = new KConfigSkeleton::ItemStringList( currentGroup(), QStringLiteral( "CatalogFile" ), mCatalogFile );
  addItem( itemCatalogFile, QStringLiteral( "CatalogFile" ) );
  QList<int> defaultShowCatalog;

  KConfigSkeleton::ItemIntList  *itemShowCatalog;
  itemShowCatalog = new KConfigSkeleton::ItemIntList( currentGroup(), QStringLiteral( "ShowCatalog" ), mShowCatalog, defaultShowCatalog );
  addItem( itemShowCatalog, QStringLiteral( "ShowCatalog" ) );
  KConfigSkeleton::ItemStringList  *itemShowCatalogNames;
  itemShowCatalogNames = new KConfigSkeleton::ItemStringList( currentGroup(), QStringLiteral( "ShowCatalogNames" ), mShowCatalogNames );
  addItem( itemShowCatalogNames, QStringLiteral( "ShowCatalogNames" ) );
  KConfigSkeleton::ItemBool  *itemResolveNamesOnline;
  itemResolveNamesOnline = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ResolveNamesOnline" ), mResolveNamesOnline, true );
  addItem( itemResolveNamesOnline, QStringLiteral( "ResolveNamesOnline" ) );

  setCurrentGroup( QStringLiteral( "indi" ) );

  KConfigSkeleton::ItemUInt  *itemINDIWindowWidth;
  itemINDIWindowWidth = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "INDIWindowWidth" ), mINDIWindowWidth, 800 );
  addItem( itemINDIWindowWidth, QStringLiteral( "INDIWindowWidth" ) );
  KConfigSkeleton::ItemUInt  *itemINDIWindowHeight;
  itemINDIWindowHeight = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "INDIWindowHeight" ), mINDIWindowHeight, 600 );
  addItem( itemINDIWindowHeight, QStringLiteral( "INDIWindowHeight" ) );
  KConfigSkeleton::ItemBool  *itemUseGeographicUpdate;
  itemUseGeographicUpdate = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "useGeographicUpdate" ), mUseGeographicUpdate, true );
  addItem( itemUseGeographicUpdate, QStringLiteral( "useGeographicUpdate" ) );
  KConfigSkeleton::ItemBool  *itemUseTimeUpdate;
  itemUseTimeUpdate = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "useTimeUpdate" ), mUseTimeUpdate, true );
  addItem( itemUseTimeUpdate, QStringLiteral( "useTimeUpdate" ) );
  KConfigSkeleton::ItemBool  *itemIndependentWindowINDI;
  itemIndependentWindowINDI = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "independentWindowINDI" ), mIndependentWindowINDI, false );
  addItem( itemIndependentWindowINDI, QStringLiteral( "independentWindowINDI" ) );
  KConfigSkeleton::ItemBool  *itemShowTargetCrosshair;
  itemShowTargetCrosshair = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "showTargetCrosshair" ), mShowTargetCrosshair, true );
  addItem( itemShowTargetCrosshair, QStringLiteral( "showTargetCrosshair" ) );
  KConfigSkeleton::ItemBool  *itemShowINDIMessages;
  itemShowINDIMessages = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "showINDIMessages" ), mShowINDIMessages, true );
  addItem( itemShowINDIMessages, QStringLiteral( "showINDIMessages" ) );
  KConfigSkeleton::ItemBool  *itemUseComputerSource;
  itemUseComputerSource = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "useComputerSource" ), mUseComputerSource, true );
  addItem( itemUseComputerSource, QStringLiteral( "useComputerSource" ) );
  KConfigSkeleton::ItemBool  *itemUseDeviceSource;
  itemUseDeviceSource = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "useDeviceSource" ), mUseDeviceSource, false );
  addItem( itemUseDeviceSource, QStringLiteral( "useDeviceSource" ) );
  KConfigSkeleton::ItemString  *itemFitsDir;
  itemFitsDir = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "fitsDir" ), mFitsDir, KSUtils::getDefaultPath("fitsDir") );
  addItem( itemFitsDir, QStringLiteral( "fitsDir" ) );
  KConfigSkeleton::ItemString  *itemServerPortStart;
  itemServerPortStart = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "serverPortStart" ), mServerPortStart, QStringLiteral( "7624" ) );
  addItem( itemServerPortStart, QStringLiteral( "serverPortStart" ) );
  KConfigSkeleton::ItemString  *itemServerPortEnd;
  itemServerPortEnd = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "serverPortEnd" ), mServerPortEnd, QStringLiteral( "9000" ) );
  addItem( itemServerPortEnd, QStringLiteral( "serverPortEnd" ) );
  KConfigSkeleton::ItemStringList  *itemFilterAlias;
  itemFilterAlias = new KConfigSkeleton::ItemStringList( currentGroup(), QStringLiteral( "filterAlias" ), mFilterAlias );
  addItem( itemFilterAlias, QStringLiteral( "filterAlias" ) );
  KConfigSkeleton::ItemString  *itemIndiServer;
  itemIndiServer = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "indiServer" ), mIndiServer, KSUtils::getDefaultPath("indiServer") );
  addItem( itemIndiServer, QStringLiteral( "indiServer" ) );
  KConfigSkeleton::ItemBool  *itemIndiServerIsInternal;
  itemIndiServerIsInternal = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "indiServerIsInternal" ), mIndiServerIsInternal, false );
  addItem( itemIndiServerIsInternal, QStringLiteral( "indiServerIsInternal" ) );
  KConfigSkeleton::ItemString  *itemIndiDriversDir;
  itemIndiDriversDir = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "indiDriversDir" ), mIndiDriversDir, KSUtils::getDefaultPath("indiDriversDir") );
  addItem( itemIndiDriversDir, QStringLiteral( "indiDriversDir" ) );
  KConfigSkeleton::ItemBool  *itemIndiDriversAreInternal;
  itemIndiDriversAreInternal = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "indiDriversAreInternal" ), mIndiDriversAreInternal, false );
  addItem( itemIndiDriversAreInternal, QStringLiteral( "indiDriversAreInternal" ) );
  KConfigSkeleton::ItemUInt  *itemStreamWindowWidth;
  itemStreamWindowWidth = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "streamWindowWidth" ), mStreamWindowWidth, 320 );
  addItem( itemStreamWindowWidth, QStringLiteral( "streamWindowWidth" ) );
  KConfigSkeleton::ItemUInt  *itemStreamWindowHeight;
  itemStreamWindowHeight = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "streamWindowHeight" ), mStreamWindowHeight, 240 );
  addItem( itemStreamWindowHeight, QStringLiteral( "streamWindowHeight" ) );

  setCurrentGroup( QStringLiteral( "Location" ) );

  KConfigSkeleton::ItemString  *itemCityName;
  itemCityName = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "CityName" ), mCityName, QStringLiteral( "Greenwich" ) );
  addItem( itemCityName, QStringLiteral( "CityName" ) );
  KConfigSkeleton::ItemString  *itemProvinceName;
  itemProvinceName = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "ProvinceName" ), mProvinceName );
  addItem( itemProvinceName, QStringLiteral( "ProvinceName" ) );
  KConfigSkeleton::ItemString  *itemCountryName;
  itemCountryName = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "CountryName" ), mCountryName, QStringLiteral( "United Kingdom" ) );
  addItem( itemCountryName, QStringLiteral( "CountryName" ) );
  KConfigSkeleton::ItemDouble  *itemLongitude;
  itemLongitude = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "Longitude" ), mLongitude, 0.0 );
  addItem( itemLongitude, QStringLiteral( "Longitude" ) );
  KConfigSkeleton::ItemDouble  *itemLatitude;
  itemLatitude = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "Latitude" ), mLatitude, 51.468 );
  addItem( itemLatitude, QStringLiteral( "Latitude" ) );
  KConfigSkeleton::ItemDouble  *itemElevation;
  itemElevation = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "Elevation" ), mElevation, -10.0 );
  addItem( itemElevation, QStringLiteral( "Elevation" ) );
  KConfigSkeleton::ItemDouble  *itemTimeZone;
  itemTimeZone = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "TimeZone" ), mTimeZone, 0.0 );
  addItem( itemTimeZone, QStringLiteral( "TimeZone" ) );
  KConfigSkeleton::ItemString  *itemDST;
  itemDST = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "DST" ), mDST, QStringLiteral( "--" ) );
  addItem( itemDST, QStringLiteral( "DST" ) );

  setCurrentGroup( QStringLiteral( "View" ) );

  KConfigSkeleton::ItemBool  *itemUseAnimatedSlewing;
  itemUseAnimatedSlewing = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "UseAnimatedSlewing" ), mUseAnimatedSlewing, true );
  addItem( itemUseAnimatedSlewing, QStringLiteral( "UseAnimatedSlewing" ) );
  QStringList defaultFOVNames;
  defaultFOVNames.append( QString::fromUtf8( "Telrad" ) );

  KConfigSkeleton::ItemStringList  *itemFOVNames;
  itemFOVNames = new KConfigSkeleton::ItemStringList( currentGroup(), QStringLiteral( "FOVNames" ), mFOVNames, defaultFOVNames );
  addItem( itemFOVNames, QStringLiteral( "FOVNames" ) );
  KConfigSkeleton::ItemBool  *itemFadePlanetTrails;
  itemFadePlanetTrails = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "FadePlanetTrails" ), mFadePlanetTrails, true );
  addItem( itemFadePlanetTrails, QStringLiteral( "FadePlanetTrails" ) );
  KConfigSkeleton::ItemDouble  *itemFocusRA;
  itemFocusRA = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "FocusRA" ), mFocusRA, 180.0 );
  addItem( itemFocusRA, QStringLiteral( "FocusRA" ) );
  KConfigSkeleton::ItemDouble  *itemFocusDec;
  itemFocusDec = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "FocusDec" ), mFocusDec, 45.0 );
  addItem( itemFocusDec, QStringLiteral( "FocusDec" ) );
  KConfigSkeleton::ItemString  *itemFocusObject;
  itemFocusObject = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "FocusObject" ), mFocusObject, QStringLiteral( "nothing" ) );
  addItem( itemFocusObject, QStringLiteral( "FocusObject" ) );
  KConfigSkeleton::ItemBool  *itemIsTracking;
  itemIsTracking = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "IsTracking" ), mIsTracking, false );
  addItem( itemIsTracking, QStringLiteral( "IsTracking" ) );
  KConfigSkeleton::ItemBool  *itemHideOnSlew;
  itemHideOnSlew = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "HideOnSlew" ), mHideOnSlew, true );
  addItem( itemHideOnSlew, QStringLiteral( "HideOnSlew" ) );
  KConfigSkeleton::ItemBool  *itemHideCBounds;
  itemHideCBounds = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "HideCBounds" ), mHideCBounds, true );
  addItem( itemHideCBounds, QStringLiteral( "HideCBounds" ) );
  KConfigSkeleton::ItemBool  *itemHideCLines;
  itemHideCLines = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "HideCLines" ), mHideCLines, false );
  addItem( itemHideCLines, QStringLiteral( "HideCLines" ) );
  KConfigSkeleton::ItemUInt  *itemSkyCulture;
  itemSkyCulture = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "SkyCulture" ), mSkyCulture, 11 );
  addItem( itemSkyCulture, QStringLiteral( "SkyCulture" ) );
  KConfigSkeleton::ItemBool  *itemHideCNames;
  itemHideCNames = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "HideCNames" ), mHideCNames, false );
  addItem( itemHideCNames, QStringLiteral( "HideCNames" ) );
  KConfigSkeleton::ItemBool  *itemHideGrids;
  itemHideGrids = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "HideGrids" ), mHideGrids, true );
  addItem( itemHideGrids, QStringLiteral( "HideGrids" ) );
  KConfigSkeleton::ItemBool  *itemHideMilkyWay;
  itemHideMilkyWay = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "HideMilkyWay" ), mHideMilkyWay, true );
  addItem( itemHideMilkyWay, QStringLiteral( "HideMilkyWay" ) );
  KConfigSkeleton::ItemBool  *itemHideIC;
  itemHideIC = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "HideIC" ), mHideIC, true );
  addItem( itemHideIC, QStringLiteral( "HideIC" ) );
  KConfigSkeleton::ItemBool  *itemHideMessier;
  itemHideMessier = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "HideMessier" ), mHideMessier, true );
  addItem( itemHideMessier, QStringLiteral( "HideMessier" ) );
  KConfigSkeleton::ItemBool  *itemHideNGC;
  itemHideNGC = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "HideNGC" ), mHideNGC, true );
  addItem( itemHideNGC, QStringLiteral( "HideNGC" ) );
  KConfigSkeleton::ItemBool  *itemHideOther;
  itemHideOther = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "HideOther" ), mHideOther, true );
  addItem( itemHideOther, QStringLiteral( "HideOther" ) );
  KConfigSkeleton::ItemBool  *itemHidePlanets;
  itemHidePlanets = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "HidePlanets" ), mHidePlanets, false );
  addItem( itemHidePlanets, QStringLiteral( "HidePlanets" ) );
  KConfigSkeleton::ItemBool  *itemHideStars;
  itemHideStars = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "HideStars" ), mHideStars, true );
  addItem( itemHideStars, QStringLiteral( "HideStars" ) );
  KConfigSkeleton::ItemBool  *itemHideLabels;
  itemHideLabels = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "HideLabels" ), mHideLabels, true );
  addItem( itemHideLabels, QStringLiteral( "HideLabels" ) );
  KConfigSkeleton::ItemBool  *itemShowAsteroids;
  itemShowAsteroids = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowAsteroids" ), mShowAsteroids, true );
  addItem( itemShowAsteroids, QStringLiteral( "ShowAsteroids" ) );
  KConfigSkeleton::ItemBool  *itemShowAsteroidNames;
  itemShowAsteroidNames = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowAsteroidNames" ), mShowAsteroidNames, false );
  addItem( itemShowAsteroidNames, QStringLiteral( "ShowAsteroidNames" ) );
  KConfigSkeleton::ItemBool  *itemShowComets;
  itemShowComets = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowComets" ), mShowComets, true );
  addItem( itemShowComets, QStringLiteral( "ShowComets" ) );
  KConfigSkeleton::ItemBool  *itemShowCometComas;
  itemShowCometComas = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowCometComas" ), mShowCometComas, true );
  addItem( itemShowCometComas, QStringLiteral( "ShowCometComas" ) );
  KConfigSkeleton::ItemBool  *itemShowCometNames;
  itemShowCometNames = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowCometNames" ), mShowCometNames, false );
  addItem( itemShowCometNames, QStringLiteral( "ShowCometNames" ) );
  KConfigSkeleton::ItemBool  *itemShowSupernovae;
  itemShowSupernovae = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowSupernovae" ), mShowSupernovae, false );
  addItem( itemShowSupernovae, QStringLiteral( "ShowSupernovae" ) );
  KConfigSkeleton::ItemBool  *itemShowSupernovaNames;
  itemShowSupernovaNames = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowSupernovaNames" ), mShowSupernovaNames, false );
  addItem( itemShowSupernovaNames, QStringLiteral( "ShowSupernovaNames" ) );
  KConfigSkeleton::ItemDouble  *itemMagnitudeLimitShowSupernovae;
  itemMagnitudeLimitShowSupernovae = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "MagnitudeLimitShowSupernovae" ), mMagnitudeLimitShowSupernovae, 16 );
  addItem( itemMagnitudeLimitShowSupernovae, QStringLiteral( "MagnitudeLimitShowSupernovae" ) );
  KConfigSkeleton::ItemBool  *itemShowSupernovaAlerts;
  itemShowSupernovaAlerts = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowSupernovaAlerts" ), mShowSupernovaAlerts, true );
  addItem( itemShowSupernovaAlerts, QStringLiteral( "ShowSupernovaAlerts" ) );
  KConfigSkeleton::ItemDouble  *itemMagnitudeLimitAlertSupernovae;
  itemMagnitudeLimitAlertSupernovae = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "MagnitudeLimitAlertSupernovae" ), mMagnitudeLimitAlertSupernovae, 13 );
  addItem( itemMagnitudeLimitAlertSupernovae, QStringLiteral( "MagnitudeLimitAlertSupernovae" ) );
  KConfigSkeleton::ItemBool  *itemShowCBounds;
  itemShowCBounds = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowCBounds" ), mShowCBounds, false );
  addItem( itemShowCBounds, QStringLiteral( "ShowCBounds" ) );
  KConfigSkeleton::ItemBool  *itemShowHighlightedCBound;
  itemShowHighlightedCBound = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowHighlightedCBound" ), mShowHighlightedCBound, false );
  addItem( itemShowHighlightedCBound, QStringLiteral( "ShowHighlightedCBound" ) );
  KConfigSkeleton::ItemBool  *itemShowCLines;
  itemShowCLines = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowCLines" ), mShowCLines, false );
  addItem( itemShowCLines, QStringLiteral( "ShowCLines" ) );
  KConfigSkeleton::ItemBool  *itemShowConstellationArt;
  itemShowConstellationArt = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowConstellationArt" ), mShowConstellationArt, false );
  addItem( itemShowConstellationArt, QStringLiteral( "ShowConstellationArt" ) );
  KConfigSkeleton::ItemBool  *itemShowCNames;
  itemShowCNames = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowCNames" ), mShowCNames, false );
  addItem( itemShowCNames, QStringLiteral( "ShowCNames" ) );
  KConfigSkeleton::ItemBool  *itemShowDeepSky;
  itemShowDeepSky = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowDeepSky" ), mShowDeepSky, true );
  addItem( itemShowDeepSky, QStringLiteral( "ShowDeepSky" ) );
  KConfigSkeleton::ItemBool  *itemShowEcliptic;
  itemShowEcliptic = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowEcliptic" ), mShowEcliptic, false );
  addItem( itemShowEcliptic, QStringLiteral( "ShowEcliptic" ) );
  KConfigSkeleton::ItemBool  *itemShowEquator;
  itemShowEquator = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowEquator" ), mShowEquator, false );
  addItem( itemShowEquator, QStringLiteral( "ShowEquator" ) );
  KConfigSkeleton::ItemBool  *itemAutoSelectGrid;
  itemAutoSelectGrid = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AutoSelectGrid" ), mAutoSelectGrid, true );
  addItem( itemAutoSelectGrid, QStringLiteral( "AutoSelectGrid" ) );
  KConfigSkeleton::ItemBool  *itemShowEquatorialGrid;
  itemShowEquatorialGrid = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowEquatorialGrid" ), mShowEquatorialGrid, false );
  addItem( itemShowEquatorialGrid, QStringLiteral( "ShowEquatorialGrid" ) );
  KConfigSkeleton::ItemBool  *itemShowHorizontalGrid;
  itemShowHorizontalGrid = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowHorizontalGrid" ), mShowHorizontalGrid, false );
  addItem( itemShowHorizontalGrid, QStringLiteral( "ShowHorizontalGrid" ) );
  KConfigSkeleton::ItemBool  *itemShowGround;
  itemShowGround = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowGround" ), mShowGround, true );
  addItem( itemShowGround, QStringLiteral( "ShowGround" ) );
  KConfigSkeleton::ItemBool  *itemShowHorizon;
  itemShowHorizon = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowHorizon" ), mShowHorizon, true );
  addItem( itemShowHorizon, QStringLiteral( "ShowHorizon" ) );
  KConfigSkeleton::ItemBool  *itemShowFlags;
  itemShowFlags = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowFlags" ), mShowFlags, true );
  addItem( itemShowFlags, QStringLiteral( "ShowFlags" ) );
  KConfigSkeleton::ItemBool  *itemShowIC;
  itemShowIC = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowIC" ), mShowIC, false );
  addItem( itemShowIC, QStringLiteral( "ShowIC" ) );
  KConfigSkeleton::ItemBool  *itemShowNGC;
  itemShowNGC = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowNGC" ), mShowNGC, true );
  addItem( itemShowNGC, QStringLiteral( "ShowNGC" ) );
  KConfigSkeleton::ItemBool  *itemShowMessier;
  itemShowMessier = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowMessier" ), mShowMessier, true );
  addItem( itemShowMessier, QStringLiteral( "ShowMessier" ) );
  KConfigSkeleton::ItemBool  *itemShowMessierImages;
  itemShowMessierImages = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowMessierImages" ), mShowMessierImages, true );
  addItem( itemShowMessierImages, QStringLiteral( "ShowMessierImages" ) );
  KConfigSkeleton::ItemBool  *itemShowOther;
  itemShowOther = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowOther" ), mShowOther, true );
  addItem( itemShowOther, QStringLiteral( "ShowOther" ) );
  KConfigSkeleton::ItemBool  *itemShowMilkyWay;
  itemShowMilkyWay = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowMilkyWay" ), mShowMilkyWay, true );
  addItem( itemShowMilkyWay, QStringLiteral( "ShowMilkyWay" ) );
  KConfigSkeleton::ItemBool  *itemFillMilkyWay;
  itemFillMilkyWay = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "FillMilkyWay" ), mFillMilkyWay, true );
  addItem( itemFillMilkyWay, QStringLiteral( "FillMilkyWay" ) );
  KConfigSkeleton::ItemBool  *itemShowSolarSystem;
  itemShowSolarSystem = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowSolarSystem" ), mShowSolarSystem, true );
  addItem( itemShowSolarSystem, QStringLiteral( "ShowSolarSystem" ) );
  KConfigSkeleton::ItemBool  *itemShowPlanetImages;
  itemShowPlanetImages = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowPlanetImages" ), mShowPlanetImages, true );
  addItem( itemShowPlanetImages, QStringLiteral( "ShowPlanetImages" ) );
  KConfigSkeleton::ItemBool  *itemShowPlanetNames;
  itemShowPlanetNames = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowPlanetNames" ), mShowPlanetNames, true );
  addItem( itemShowPlanetNames, QStringLiteral( "ShowPlanetNames" ) );
  KConfigSkeleton::ItemBool  *itemShowSun;
  itemShowSun = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowSun" ), mShowSun, true );
  addItem( itemShowSun, QStringLiteral( "ShowSun" ) );
  KConfigSkeleton::ItemBool  *itemShowMoon;
  itemShowMoon = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowMoon" ), mShowMoon, true );
  addItem( itemShowMoon, QStringLiteral( "ShowMoon" ) );
  KConfigSkeleton::ItemBool  *itemShowMercury;
  itemShowMercury = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowMercury" ), mShowMercury, true );
  addItem( itemShowMercury, QStringLiteral( "ShowMercury" ) );
  KConfigSkeleton::ItemBool  *itemShowVenus;
  itemShowVenus = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowVenus" ), mShowVenus, true );
  addItem( itemShowVenus, QStringLiteral( "ShowVenus" ) );
  KConfigSkeleton::ItemBool  *itemShowMars;
  itemShowMars = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowMars" ), mShowMars, true );
  addItem( itemShowMars, QStringLiteral( "ShowMars" ) );
  KConfigSkeleton::ItemBool  *itemShowJupiter;
  itemShowJupiter = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowJupiter" ), mShowJupiter, true );
  addItem( itemShowJupiter, QStringLiteral( "ShowJupiter" ) );
  KConfigSkeleton::ItemBool  *itemShowSaturn;
  itemShowSaturn = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowSaturn" ), mShowSaturn, true );
  addItem( itemShowSaturn, QStringLiteral( "ShowSaturn" ) );
  KConfigSkeleton::ItemBool  *itemShowUranus;
  itemShowUranus = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowUranus" ), mShowUranus, true );
  addItem( itemShowUranus, QStringLiteral( "ShowUranus" ) );
  KConfigSkeleton::ItemBool  *itemShowNeptune;
  itemShowNeptune = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowNeptune" ), mShowNeptune, true );
  addItem( itemShowNeptune, QStringLiteral( "ShowNeptune" ) );
  KConfigSkeleton::ItemBool  *itemShowPluto;
  itemShowPluto = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowPluto" ), mShowPluto, true );
  addItem( itemShowPluto, QStringLiteral( "ShowPluto" ) );
  KConfigSkeleton::ItemBool  *itemShowStars;
  itemShowStars = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowStars" ), mShowStars, true );
  addItem( itemShowStars, QStringLiteral( "ShowStars" ) );
  KConfigSkeleton::ItemBool  *itemShowStarMagnitudes;
  itemShowStarMagnitudes = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowStarMagnitudes" ), mShowStarMagnitudes, false );
  addItem( itemShowStarMagnitudes, QStringLiteral( "ShowStarMagnitudes" ) );
  KConfigSkeleton::ItemBool  *itemShowStarNames;
  itemShowStarNames = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowStarNames" ), mShowStarNames, true );
  addItem( itemShowStarNames, QStringLiteral( "ShowStarNames" ) );
  KConfigSkeleton::ItemBool  *itemShowDeepSkyMagnitudes;
  itemShowDeepSkyMagnitudes = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowDeepSkyMagnitudes" ), mShowDeepSkyMagnitudes, false );
  addItem( itemShowDeepSkyMagnitudes, QStringLiteral( "ShowDeepSkyMagnitudes" ) );
  KConfigSkeleton::ItemBool  *itemShowDeepSkyNames;
  itemShowDeepSkyNames = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowDeepSkyNames" ), mShowDeepSkyNames, false );
  addItem( itemShowDeepSkyNames, QStringLiteral( "ShowDeepSkyNames" ) );
  KConfigSkeleton::ItemDouble  *itemSlewTimeScale;
  itemSlewTimeScale = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "SlewTimeScale" ), mSlewTimeScale, 60 );
  addItem( itemSlewTimeScale, QStringLiteral( "SlewTimeScale" ) );
  KConfigSkeleton::ItemUInt  *itemBoxBGMode;
  itemBoxBGMode = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "BoxBGMode" ), mBoxBGMode, 1 );
  addItem( itemBoxBGMode, QStringLiteral( "BoxBGMode" ) );
  KConfigSkeleton::ItemUInt  *itemProjection;
  itemProjection = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "Projection" ), mProjection, 0 );
  addItem( itemProjection, QStringLiteral( "Projection" ) );
  KConfigSkeleton::ItemBool  *itemUseAbbrevConstellNames;
  itemUseAbbrevConstellNames = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "UseAbbrevConstellNames" ), mUseAbbrevConstellNames, false );
  addItem( itemUseAbbrevConstellNames, QStringLiteral( "UseAbbrevConstellNames" ) );
  KConfigSkeleton::ItemBool  *itemUseLatinConstellNames;
  itemUseLatinConstellNames = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "UseLatinConstellNames" ), mUseLatinConstellNames, true );
  addItem( itemUseLatinConstellNames, QStringLiteral( "UseLatinConstellNames" ) );
  KConfigSkeleton::ItemBool  *itemUseLocalConstellNames;
  itemUseLocalConstellNames = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "UseLocalConstellNames" ), mUseLocalConstellNames, false );
  addItem( itemUseLocalConstellNames, QStringLiteral( "UseLocalConstellNames" ) );
  KConfigSkeleton::ItemBool  *itemUseAltAz;
  itemUseAltAz = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "UseAltAz" ), mUseAltAz, true );
  addItem( itemUseAltAz, QStringLiteral( "UseAltAz" ) );
  KConfigSkeleton::ItemBool  *itemUseAutoLabel;
  itemUseAutoLabel = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "UseAutoLabel" ), mUseAutoLabel, true );
  addItem( itemUseAutoLabel, QStringLiteral( "UseAutoLabel" ) );
  KConfigSkeleton::ItemBool  *itemUseAutoTrail;
  itemUseAutoTrail = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "UseAutoTrail" ), mUseAutoTrail, true );
  addItem( itemUseAutoTrail, QStringLiteral( "UseAutoTrail" ) );
  KConfigSkeleton::ItemBool  *itemUseHoverLabel;
  itemUseHoverLabel = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "UseHoverLabel" ), mUseHoverLabel, true );
  addItem( itemUseHoverLabel, QStringLiteral( "UseHoverLabel" ) );
  KConfigSkeleton::ItemBool  *itemUseRefraction;
  itemUseRefraction = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "UseRefraction" ), mUseRefraction, true );
  addItem( itemUseRefraction, QStringLiteral( "UseRefraction" ) );
  KConfigSkeleton::ItemBool  *itemUseRelativistic;
  itemUseRelativistic = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "UseRelativistic" ), mUseRelativistic, false );
  addItem( itemUseRelativistic, QStringLiteral( "UseRelativistic" ) );
  KConfigSkeleton::ItemBool  *itemUseAntialias;
  itemUseAntialias = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "UseAntialias" ), mUseAntialias, true );
  addItem( itemUseAntialias, QStringLiteral( "UseAntialias" ) );
  KConfigSkeleton::ItemDouble  *itemZoomFactor;
  itemZoomFactor = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "ZoomFactor" ), mZoomFactor, 250. );
  itemZoomFactor->setMinValue(250.);
  itemZoomFactor->setMaxValue(5000000.);
  addItem( itemZoomFactor, QStringLiteral( "ZoomFactor" ) );
  KConfigSkeleton::ItemDouble  *itemMagLimitAsteroid;
  itemMagLimitAsteroid = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "MagLimitAsteroid" ), mMagLimitAsteroid, 15.0 );
  addItem( itemMagLimitAsteroid, QStringLiteral( "MagLimitAsteroid" ) );
  KConfigSkeleton::ItemDouble  *itemMagLimitAsteroidDownload;
  itemMagLimitAsteroidDownload = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "MagLimitAsteroidDownload" ), mMagLimitAsteroidDownload, 12.000 );
  addItem( itemMagLimitAsteroidDownload, QStringLiteral( "MagLimitAsteroidDownload" ) );
  KConfigSkeleton::ItemDouble  *itemAsteroidLabelDensity;
  itemAsteroidLabelDensity = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "AsteroidLabelDensity" ), mAsteroidLabelDensity, 4.0 );
  addItem( itemAsteroidLabelDensity, QStringLiteral( "AsteroidLabelDensity" ) );
  KConfigSkeleton::ItemDouble  *itemMagLimitDrawDeepSky;
  itemMagLimitDrawDeepSky = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "MagLimitDrawDeepSky" ), mMagLimitDrawDeepSky, 16.0 );
  addItem( itemMagLimitDrawDeepSky, QStringLiteral( "MagLimitDrawDeepSky" ) );
  KConfigSkeleton::ItemDouble  *itemMagLimitDrawDeepSkyZoomOut;
  itemMagLimitDrawDeepSkyZoomOut = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "MagLimitDrawDeepSkyZoomOut" ), mMagLimitDrawDeepSkyZoomOut, 5.0 );
  addItem( itemMagLimitDrawDeepSkyZoomOut, QStringLiteral( "MagLimitDrawDeepSkyZoomOut" ) );
  KConfigSkeleton::ItemBool  *itemShowUnknownMagObjects;
  itemShowUnknownMagObjects = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowUnknownMagObjects" ), mShowUnknownMagObjects, true );
  addItem( itemShowUnknownMagObjects, QStringLiteral( "ShowUnknownMagObjects" ) );
  KConfigSkeleton::ItemInt  *itemStarDensity;
  itemStarDensity = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "StarDensity" ), mStarDensity, 5 );
  addItem( itemStarDensity, QStringLiteral( "StarDensity" ) );
  KConfigSkeleton::ItemDouble  *itemMagLimitHideStar;
  itemMagLimitHideStar = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "MagLimitHideStar" ), mMagLimitHideStar, 5.0 );
  addItem( itemMagLimitHideStar, QStringLiteral( "MagLimitHideStar" ) );
  KConfigSkeleton::ItemDouble  *itemStarLabelDensity;
  itemStarLabelDensity = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "StarLabelDensity" ), mStarLabelDensity, 2.0 );
  addItem( itemStarLabelDensity, QStringLiteral( "StarLabelDensity" ) );
  KConfigSkeleton::ItemDouble  *itemDeepSkyLabelDensity;
  itemDeepSkyLabelDensity = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "DeepSkyLabelDensity" ), mDeepSkyLabelDensity, 5.0 );
  addItem( itemDeepSkyLabelDensity, QStringLiteral( "DeepSkyLabelDensity" ) );
  KConfigSkeleton::ItemBool  *itemDeepSkyLongLabels;
  itemDeepSkyLongLabels = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "DeepSkyLongLabels" ), mDeepSkyLongLabels, false );
  addItem( itemDeepSkyLongLabels, QStringLiteral( "DeepSkyLongLabels" ) );
  KConfigSkeleton::ItemDouble  *itemMaxRadCometName;
  itemMaxRadCometName = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "MaxRadCometName" ), mMaxRadCometName, 3.0 );
  addItem( itemMaxRadCometName, QStringLiteral( "MaxRadCometName" ) );
  KConfigSkeleton::ItemBool  *itemUseGL;
  itemUseGL = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "UseGL" ), mUseGL, false );
  addItem( itemUseGL, QStringLiteral( "UseGL" ) );
  KConfigSkeleton::ItemBool  *itemRunClock;
  itemRunClock = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "RunClock" ), mRunClock, true );
  addItem( itemRunClock, QStringLiteral( "RunClock" ) );

  setCurrentGroup( QStringLiteral( "ObservingList" ) );

  KConfigSkeleton::ItemBool  *itemObsListSymbol;
  itemObsListSymbol = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ObsListSymbol" ), mObsListSymbol, true );
  addItem( itemObsListSymbol, QStringLiteral( "ObsListSymbol" ) );
  KConfigSkeleton::ItemBool  *itemObsListText;
  itemObsListText = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ObsListText" ), mObsListText, false );
  addItem( itemObsListText, QStringLiteral( "ObsListText" ) );
  KConfigSkeleton::ItemBool  *itemObsListPreferDSS;
  itemObsListPreferDSS = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ObsListPreferDSS" ), mObsListPreferDSS, true );
  addItem( itemObsListPreferDSS, QStringLiteral( "ObsListPreferDSS" ) );
  KConfigSkeleton::ItemBool  *itemObsListPreferSDSS;
  itemObsListPreferSDSS = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ObsListPreferSDSS" ), mObsListPreferSDSS, false );
  addItem( itemObsListPreferSDSS, QStringLiteral( "ObsListPreferSDSS" ) );
  KConfigSkeleton::ItemBool  *itemObsListDemoteHole;
  itemObsListDemoteHole = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ObsListDemoteHole" ), mObsListDemoteHole, false );
  addItem( itemObsListDemoteHole, QStringLiteral( "ObsListDemoteHole" ) );
  KConfigSkeleton::ItemDouble  *itemObsListHoleSize;
  itemObsListHoleSize = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "ObsListHoleSize" ), mObsListHoleSize, 15.00 );
  addItem( itemObsListHoleSize, QStringLiteral( "ObsListHoleSize" ) );

  setCurrentGroup( QStringLiteral( "Colors" ) );

  KConfigSkeleton::ItemString  *itemColorSchemeFile;
  itemColorSchemeFile = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "ColorSchemeFile" ), mColorSchemeFile, QStringLiteral( "moonless-night.colors" ) );
  addItem( itemColorSchemeFile, QStringLiteral( "ColorSchemeFile" ) );
  KConfigSkeleton::ItemBool  *itemDarkAppColors;
  itemDarkAppColors = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "DarkAppColors" ), mDarkAppColors, false );
  addItem( itemDarkAppColors, QStringLiteral( "DarkAppColors" ) );
  KConfigSkeleton::ItemUInt  *itemStarColorMode;
  itemStarColorMode = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "StarColorMode" ), mStarColorMode, 0 );
  itemStarColorMode->setMaxValue(4);
  addItem( itemStarColorMode, QStringLiteral( "StarColorMode" ) );
  KConfigSkeleton::ItemUInt  *itemStarColorIntensity;
  itemStarColorIntensity = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "StarColorIntensity" ), mStarColorIntensity, 6 );
  itemStarColorIntensity->setMaxValue(10);
  addItem( itemStarColorIntensity, QStringLiteral( "StarColorIntensity" ) );
  KConfigSkeleton::ItemString  *itemAngularRulerColor;
  itemAngularRulerColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "AngularRulerColor" ), mAngularRulerColor, QStringLiteral( "#FFF" ) );
  addItem( itemAngularRulerColor, QStringLiteral( "AngularRulerColor" ) );
  KConfigSkeleton::ItemString  *itemBoxBGColor;
  itemBoxBGColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "BoxBGColor" ), mBoxBGColor, QStringLiteral( "#000" ) );
  addItem( itemBoxBGColor, QStringLiteral( "BoxBGColor" ) );
  KConfigSkeleton::ItemString  *itemBoxGrabColor;
  itemBoxGrabColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "BoxGrabColor" ), mBoxGrabColor, QStringLiteral( "#F00" ) );
  addItem( itemBoxGrabColor, QStringLiteral( "BoxGrabColor" ) );
  KConfigSkeleton::ItemString  *itemBoxTextColor;
  itemBoxTextColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "BoxTextColor" ), mBoxTextColor, QStringLiteral( "#FFF" ) );
  addItem( itemBoxTextColor, QStringLiteral( "BoxTextColor" ) );
  KConfigSkeleton::ItemString  *itemCBoundColor;
  itemCBoundColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "CBoundColor" ), mCBoundColor, QStringLiteral( "#222" ) );
  addItem( itemCBoundColor, QStringLiteral( "CBoundColor" ) );
  KConfigSkeleton::ItemString  *itemCBoundHighColor;
  itemCBoundHighColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "CBoundHighColor" ), mCBoundHighColor, QStringLiteral( "#222" ) );
  addItem( itemCBoundHighColor, QStringLiteral( "CBoundHighColor" ) );
  KConfigSkeleton::ItemString  *itemCLineColor;
  itemCLineColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "CLineColor" ), mCLineColor, QStringLiteral( "#555" ) );
  addItem( itemCLineColor, QStringLiteral( "CLineColor" ) );
  KConfigSkeleton::ItemString  *itemCNameColor;
  itemCNameColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "CNameColor" ), mCNameColor, QStringLiteral( "#AA7" ) );
  addItem( itemCNameColor, QStringLiteral( "CNameColor" ) );
  KConfigSkeleton::ItemString  *itemCompassColor;
  itemCompassColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "CompassColor" ), mCompassColor, QStringLiteral( "#002" ) );
  addItem( itemCompassColor, QStringLiteral( "CompassColor" ) );
  KConfigSkeleton::ItemString  *itemEclipticColor;
  itemEclipticColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "EclipticColor" ), mEclipticColor, QStringLiteral( "#663" ) );
  addItem( itemEclipticColor, QStringLiteral( "EclipticColor" ) );
  KConfigSkeleton::ItemString  *itemEquatorColor;
  itemEquatorColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "EquatorColor" ), mEquatorColor, QStringLiteral( "#FFF" ) );
  addItem( itemEquatorColor, QStringLiteral( "EquatorColor" ) );
  KConfigSkeleton::ItemString  *itemEquatorialGridColor;
  itemEquatorialGridColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "EquatorialGridColor" ), mEquatorialGridColor, QStringLiteral( "#456" ) );
  addItem( itemEquatorialGridColor, QStringLiteral( "EquatorialGridColor" ) );
  KConfigSkeleton::ItemString  *itemHorizontalGridColor;
  itemHorizontalGridColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "HorizontalGridColor" ), mHorizontalGridColor, QStringLiteral( "#5A3" ) );
  addItem( itemHorizontalGridColor, QStringLiteral( "HorizontalGridColor" ) );
  KConfigSkeleton::ItemString  *itemSpecialObjectColor;
  itemSpecialObjectColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "SpecialObjectColor" ), mSpecialObjectColor, QStringLiteral( "#A00" ) );
  addItem( itemSpecialObjectColor, QStringLiteral( "SpecialObjectColor" ) );
  KConfigSkeleton::ItemString  *itemHorizonColor;
  itemHorizonColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "HorizonColor" ), mHorizonColor, QStringLiteral( "#5A3" ) );
  addItem( itemHorizonColor, QStringLiteral( "HorizonColor" ) );
  KConfigSkeleton::ItemString  *itemMessierColor;
  itemMessierColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "MessierColor" ), mMessierColor, QStringLiteral( "#0F0" ) );
  addItem( itemMessierColor, QStringLiteral( "MessierColor" ) );
  KConfigSkeleton::ItemString  *itemNGCColor;
  itemNGCColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "NGCColor" ), mNGCColor, QStringLiteral( "#066" ) );
  addItem( itemNGCColor, QStringLiteral( "NGCColor" ) );
  KConfigSkeleton::ItemString  *itemICColor;
  itemICColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "ICColor" ), mICColor, QStringLiteral( "#439" ) );
  addItem( itemICColor, QStringLiteral( "ICColor" ) );
  KConfigSkeleton::ItemString  *itemMilkyWayWColor;
  itemMilkyWayWColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "MilkyWayWColor" ), mMilkyWayWColor, QStringLiteral( "#123" ) );
  addItem( itemMilkyWayWColor, QStringLiteral( "MilkyWayWColor" ) );
  KConfigSkeleton::ItemString  *itemStarNameColor;
  itemStarNameColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "StarNameColor" ), mStarNameColor, QStringLiteral( "#7AA" ) );
  addItem( itemStarNameColor, QStringLiteral( "StarNameColor" ) );
  KConfigSkeleton::ItemString  *itemDeepSkyNameColor;
  itemDeepSkyNameColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "DeepSkyNameColor" ), mDeepSkyNameColor, QStringLiteral( "#7AA" ) );
  addItem( itemDeepSkyNameColor, QStringLiteral( "DeepSkyNameColor" ) );
  KConfigSkeleton::ItemString  *itemPlanetNameColor;
  itemPlanetNameColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "PlanetNameColor" ), mPlanetNameColor, QStringLiteral( "#439" ) );
  addItem( itemPlanetNameColor, QStringLiteral( "PlanetNameColor" ) );
  KConfigSkeleton::ItemString  *itemPlanetTrailColor;
  itemPlanetTrailColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "PlanetTrailColor" ), mPlanetTrailColor, QStringLiteral( "#963" ) );
  addItem( itemPlanetTrailColor, QStringLiteral( "PlanetTrailColor" ) );
  KConfigSkeleton::ItemString  *itemSkyColor;
  itemSkyColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "SkyColor" ), mSkyColor, QStringLiteral( "#002" ) );
  addItem( itemSkyColor, QStringLiteral( "SkyColor" ) );
  KConfigSkeleton::ItemString  *itemArtificialHorizonColor;
  itemArtificialHorizonColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "ArtificialHorizonColor" ), mArtificialHorizonColor, QStringLiteral( "#C82828" ) );
  addItem( itemArtificialHorizonColor, QStringLiteral( "ArtificialHorizonColor" ) );
  KConfigSkeleton::ItemString  *itemTelescopeTargetColor;
  itemTelescopeTargetColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "TelescopeTargetColor" ), mTelescopeTargetColor, QStringLiteral( "#8B8" ) );
  addItem( itemTelescopeTargetColor, QStringLiteral( "TelescopeTargetColor" ) );
  KConfigSkeleton::ItemString  *itemVisibleSatColor;
  itemVisibleSatColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "VisibleSatColor" ), mVisibleSatColor, QStringLiteral( "#00FF00" ) );
  addItem( itemVisibleSatColor, QStringLiteral( "VisibleSatColor" ) );
  KConfigSkeleton::ItemString  *itemSatColor;
  itemSatColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "SatColor" ), mSatColor, QStringLiteral( "#FF0000" ) );
  addItem( itemSatColor, QStringLiteral( "SatColor" ) );
  KConfigSkeleton::ItemString  *itemSatLabelColor;
  itemSatLabelColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "SatLabelColor" ), mSatLabelColor, QStringLiteral( "#640000" ) );
  addItem( itemSatLabelColor, QStringLiteral( "SatLabelColor" ) );
  KConfigSkeleton::ItemString  *itemSupernovaColor;
  itemSupernovaColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "SupernovaColor" ), mSupernovaColor, QStringLiteral( "#FFA500" ) );
  addItem( itemSupernovaColor, QStringLiteral( "SupernovaColor" ) );
  KConfigSkeleton::ItemString  *itemUserLabelColor;
  itemUserLabelColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "UserLabelColor" ), mUserLabelColor, QStringLiteral( "#439" ) );
  addItem( itemUserLabelColor, QStringLiteral( "UserLabelColor" ) );
  KConfigSkeleton::ItemString  *itemRAGuideColor;
  itemRAGuideColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "RAGuideColor" ), mRAGuideColor, QStringLiteral( "#00FF00" ) );
  addItem( itemRAGuideColor, QStringLiteral( "RAGuideColor" ) );
  KConfigSkeleton::ItemString  *itemDEGuideColor;
  itemDEGuideColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "DEGuideColor" ), mDEGuideColor, QStringLiteral( "#00A5FF" ) );
  addItem( itemDEGuideColor, QStringLiteral( "DEGuideColor" ) );
  KConfigSkeleton::ItemString  *itemSolverFOVColor;
  itemSolverFOVColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "SolverFOVColor" ), mSolverFOVColor, QStringLiteral( "#FFFF00" ) );
  addItem( itemSolverFOVColor, QStringLiteral( "SolverFOVColor" ) );

  setCurrentGroup( QStringLiteral( "Xplanet" ) );

  KConfigSkeleton::ItemBool  *itemXplanetIsInternal;
  itemXplanetIsInternal = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "xplanetIsInternal" ), mXplanetIsInternal, false );
  addItem( itemXplanetIsInternal, QStringLiteral( "xplanetIsInternal" ) );
  KConfigSkeleton::ItemString  *itemXplanetPath;
  itemXplanetPath = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "XplanetPath" ), mXplanetPath, KSUtils::getDefaultPath("XplanetPath") );
  addItem( itemXplanetPath, QStringLiteral( "XplanetPath" ) );
  KConfigSkeleton::ItemString  *itemXplanetTitle;
  itemXplanetTitle = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "XplanetTitle" ), mXplanetTitle );
  addItem( itemXplanetTitle, QStringLiteral( "XplanetTitle" ) );
  KConfigSkeleton::ItemString  *itemXplanetWidth;
  itemXplanetWidth = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "XplanetWidth" ), mXplanetWidth, QStringLiteral( "640" ) );
  addItem( itemXplanetWidth, QStringLiteral( "XplanetWidth" ) );
  KConfigSkeleton::ItemString  *itemXplanetHeight;
  itemXplanetHeight = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "XplanetHeight" ), mXplanetHeight, QStringLiteral( "480" ) );
  addItem( itemXplanetHeight, QStringLiteral( "XplanetHeight" ) );
  KConfigSkeleton::ItemBool  *itemXplanetLabel;
  itemXplanetLabel = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "XplanetLabel" ), mXplanetLabel, false );
  addItem( itemXplanetLabel, QStringLiteral( "XplanetLabel" ) );
  KConfigSkeleton::ItemBool  *itemXplanetLabelLocalTime;
  itemXplanetLabelLocalTime = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "XplanetLabelLocalTime" ), mXplanetLabelLocalTime, true );
  addItem( itemXplanetLabelLocalTime, QStringLiteral( "XplanetLabelLocalTime" ) );
  KConfigSkeleton::ItemBool  *itemXplanetLabelGMT;
  itemXplanetLabelGMT = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "XplanetLabelGMT" ), mXplanetLabelGMT, false );
  addItem( itemXplanetLabelGMT, QStringLiteral( "XplanetLabelGMT" ) );
  KConfigSkeleton::ItemString  *itemXplanetLabelString;
  itemXplanetLabelString = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "XplanetLabelString" ), mXplanetLabelString );
  addItem( itemXplanetLabelString, QStringLiteral( "XplanetLabelString" ) );
  KConfigSkeleton::ItemString  *itemXplanetFontSize;
  itemXplanetFontSize = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "XplanetFontSize" ), mXplanetFontSize, QStringLiteral( "12" ) );
  addItem( itemXplanetFontSize, QStringLiteral( "XplanetFontSize" ) );
  KConfigSkeleton::ItemString  *itemXplanetColor;
  itemXplanetColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "XplanetColor" ), mXplanetColor, QStringLiteral( "#F00" ) );
  addItem( itemXplanetColor, QStringLiteral( "XplanetColor" ) );
  KConfigSkeleton::ItemString  *itemXplanetDateFormat;
  itemXplanetDateFormat = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "XplanetDateFormat" ), mXplanetDateFormat, QStringLiteral( "%c %Z" ) );
  addItem( itemXplanetDateFormat, QStringLiteral( "XplanetDateFormat" ) );
  KConfigSkeleton::ItemBool  *itemXplanetLabelTL;
  itemXplanetLabelTL = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "XplanetLabelTL" ), mXplanetLabelTL, false );
  addItem( itemXplanetLabelTL, QStringLiteral( "XplanetLabelTL" ) );
  KConfigSkeleton::ItemBool  *itemXplanetLabelTR;
  itemXplanetLabelTR = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "XplanetLabelTR" ), mXplanetLabelTR, true );
  addItem( itemXplanetLabelTR, QStringLiteral( "XplanetLabelTR" ) );
  KConfigSkeleton::ItemBool  *itemXplanetLabelBR;
  itemXplanetLabelBR = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "XplanetLabelBR" ), mXplanetLabelBR, false );
  addItem( itemXplanetLabelBR, QStringLiteral( "XplanetLabelBR" ) );
  KConfigSkeleton::ItemBool  *itemXplanetLabelBL;
  itemXplanetLabelBL = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "XplanetLabelBL" ), mXplanetLabelBL, false );
  addItem( itemXplanetLabelBL, QStringLiteral( "XplanetLabelBL" ) );
  KConfigSkeleton::ItemString  *itemXplanetGlare;
  itemXplanetGlare = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "XplanetGlare" ), mXplanetGlare, QStringLiteral( "28" ) );
  addItem( itemXplanetGlare, QStringLiteral( "XplanetGlare" ) );
  KConfigSkeleton::ItemBool  *itemXplanetRandom;
  itemXplanetRandom = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "XplanetRandom" ), mXplanetRandom, false );
  addItem( itemXplanetRandom, QStringLiteral( "XplanetRandom" ) );
  KConfigSkeleton::ItemBool  *itemXplanetLatLong;
  itemXplanetLatLong = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "XplanetLatLong" ), mXplanetLatLong, true );
  addItem( itemXplanetLatLong, QStringLiteral( "XplanetLatLong" ) );
  KConfigSkeleton::ItemString  *itemXplanetLatitude;
  itemXplanetLatitude = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "XplanetLatitude" ), mXplanetLatitude, QStringLiteral( "0" ) );
  addItem( itemXplanetLatitude, QStringLiteral( "XplanetLatitude" ) );
  KConfigSkeleton::ItemString  *itemXplanetLongitude;
  itemXplanetLongitude = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "XplanetLongitude" ), mXplanetLongitude, QStringLiteral( "0" ) );
  addItem( itemXplanetLongitude, QStringLiteral( "XplanetLongitude" ) );
  KConfigSkeleton::ItemUInt  *itemXplanetProjection;
  itemXplanetProjection = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "XplanetProjection" ), mXplanetProjection, 0 );
  addItem( itemXplanetProjection, QStringLiteral( "XplanetProjection" ) );
  KConfigSkeleton::ItemBool  *itemXplanetWait;
  itemXplanetWait = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "XplanetWait" ), mXplanetWait, false );
  addItem( itemXplanetWait, QStringLiteral( "XplanetWait" ) );
  KConfigSkeleton::ItemString  *itemXplanetWaitValue;
  itemXplanetWaitValue = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "XplanetWaitValue" ), mXplanetWaitValue, QStringLiteral( "60" ) );
  addItem( itemXplanetWaitValue, QStringLiteral( "XplanetWaitValue" ) );
  KConfigSkeleton::ItemBool  *itemXplanetBackground;
  itemXplanetBackground = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "XplanetBackground" ), mXplanetBackground, false );
  addItem( itemXplanetBackground, QStringLiteral( "XplanetBackground" ) );
  KConfigSkeleton::ItemBool  *itemXplanetBackgroundImage;
  itemXplanetBackgroundImage = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "XplanetBackgroundImage" ), mXplanetBackgroundImage, false );
  addItem( itemXplanetBackgroundImage, QStringLiteral( "XplanetBackgroundImage" ) );
  KConfigSkeleton::ItemString  *itemXplanetBackgroundImagePath;
  itemXplanetBackgroundImagePath = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "XplanetBackgroundImagePath" ), mXplanetBackgroundImagePath );
  addItem( itemXplanetBackgroundImagePath, QStringLiteral( "XplanetBackgroundImagePath" ) );
  KConfigSkeleton::ItemBool  *itemXplanetBackgroundColor;
  itemXplanetBackgroundColor = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "XplanetBackgroundColor" ), mXplanetBackgroundColor, true );
  addItem( itemXplanetBackgroundColor, QStringLiteral( "XplanetBackgroundColor" ) );
  KConfigSkeleton::ItemString  *itemXplanetBackgroundColorValue;
  itemXplanetBackgroundColorValue = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "XplanetBackgroundColorValue" ), mXplanetBackgroundColorValue, QStringLiteral( "#000" ) );
  addItem( itemXplanetBackgroundColorValue, QStringLiteral( "XplanetBackgroundColorValue" ) );
  KConfigSkeleton::ItemString  *itemXplanetMagnitude;
  itemXplanetMagnitude = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "XplanetMagnitude" ), mXplanetMagnitude, QStringLiteral( "10" ) );
  addItem( itemXplanetMagnitude, QStringLiteral( "XplanetMagnitude" ) );
  KConfigSkeleton::ItemBool  *itemXplanetArcFile;
  itemXplanetArcFile = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "XplanetArcFile" ), mXplanetArcFile, false );
  addItem( itemXplanetArcFile, QStringLiteral( "XplanetArcFile" ) );
  KConfigSkeleton::ItemString  *itemXplanetArcFilePath;
  itemXplanetArcFilePath = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "XplanetArcFilePath" ), mXplanetArcFilePath );
  addItem( itemXplanetArcFilePath, QStringLiteral( "XplanetArcFilePath" ) );
  KConfigSkeleton::ItemBool  *itemXplanetConfigFile;
  itemXplanetConfigFile = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "XplanetConfigFile" ), mXplanetConfigFile, false );
  addItem( itemXplanetConfigFile, QStringLiteral( "XplanetConfigFile" ) );
  KConfigSkeleton::ItemString  *itemXplanetConfigFilePath;
  itemXplanetConfigFilePath = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "XplanetConfigFilePath" ), mXplanetConfigFilePath );
  addItem( itemXplanetConfigFilePath, QStringLiteral( "XplanetConfigFilePath" ) );
  KConfigSkeleton::ItemBool  *itemXplanetFOV;
  itemXplanetFOV = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "XplanetFOV" ), mXplanetFOV, false );
  addItem( itemXplanetFOV, QStringLiteral( "XplanetFOV" ) );
  KConfigSkeleton::ItemBool  *itemXplanetMarkerFile;
  itemXplanetMarkerFile = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "XplanetMarkerFile" ), mXplanetMarkerFile, false );
  addItem( itemXplanetMarkerFile, QStringLiteral( "XplanetMarkerFile" ) );
  KConfigSkeleton::ItemString  *itemXplanetMarkerFilePath;
  itemXplanetMarkerFilePath = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "XplanetMarkerFilePath" ), mXplanetMarkerFilePath );
  addItem( itemXplanetMarkerFilePath, QStringLiteral( "XplanetMarkerFilePath" ) );
  KConfigSkeleton::ItemBool  *itemXplanetMarkerBounds;
  itemXplanetMarkerBounds = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "XplanetMarkerBounds" ), mXplanetMarkerBounds, false );
  addItem( itemXplanetMarkerBounds, QStringLiteral( "XplanetMarkerBounds" ) );
  KConfigSkeleton::ItemString  *itemXplanetMarkerBoundsPath;
  itemXplanetMarkerBoundsPath = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "XplanetMarkerBoundsPath" ), mXplanetMarkerBoundsPath );
  addItem( itemXplanetMarkerBoundsPath, QStringLiteral( "XplanetMarkerBoundsPath" ) );
  KConfigSkeleton::ItemBool  *itemXplanetStarmap;
  itemXplanetStarmap = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "XplanetStarmap" ), mXplanetStarmap, false );
  addItem( itemXplanetStarmap, QStringLiteral( "XplanetStarmap" ) );
  KConfigSkeleton::ItemString  *itemXplanetStarmapPath;
  itemXplanetStarmapPath = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "XplanetStarmapPath" ), mXplanetStarmapPath );
  addItem( itemXplanetStarmapPath, QStringLiteral( "XplanetStarmapPath" ) );
  KConfigSkeleton::ItemString  *itemXplanetQuality;
  itemXplanetQuality = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "XplanetQuality" ), mXplanetQuality, QStringLiteral( "80" ) );
  addItem( itemXplanetQuality, QStringLiteral( "XplanetQuality" ) );

  setCurrentGroup( QStringLiteral( "Satellites" ) );

  KConfigSkeleton::ItemBool  *itemShowSatellites;
  itemShowSatellites = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowSatellites" ), mShowSatellites, false );
  addItem( itemShowSatellites, QStringLiteral( "ShowSatellites" ) );
  KConfigSkeleton::ItemBool  *itemShowVisibleSatellites;
  itemShowVisibleSatellites = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowVisibleSatellites" ), mShowVisibleSatellites, false );
  addItem( itemShowVisibleSatellites, QStringLiteral( "ShowVisibleSatellites" ) );
  KConfigSkeleton::ItemBool  *itemDrawSatellitesLikeStars;
  itemDrawSatellitesLikeStars = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "DrawSatellitesLikeStars" ), mDrawSatellitesLikeStars, false );
  addItem( itemDrawSatellitesLikeStars, QStringLiteral( "DrawSatellitesLikeStars" ) );
  KConfigSkeleton::ItemBool  *itemShowSatellitesLabels;
  itemShowSatellitesLabels = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowSatellitesLabels" ), mShowSatellitesLabels, false );
  addItem( itemShowSatellitesLabels, QStringLiteral( "ShowSatellitesLabels" ) );
  KConfigSkeleton::ItemStringList  *itemSelectedSatellites;
  itemSelectedSatellites = new KConfigSkeleton::ItemStringList( currentGroup(), QStringLiteral( "SelectedSatellites" ), mSelectedSatellites );
  addItem( itemSelectedSatellites, QStringLiteral( "SelectedSatellites" ) );

  setCurrentGroup( QStringLiteral( "General" ) );

  KConfigSkeleton::ItemBool  *itemAlwaysRecomputeCoordinates;
  itemAlwaysRecomputeCoordinates = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AlwaysRecomputeCoordinates" ), mAlwaysRecomputeCoordinates, false );
  addItem( itemAlwaysRecomputeCoordinates, QStringLiteral( "AlwaysRecomputeCoordinates" ) );
  KConfigSkeleton::ItemDouble  *itemDefaultDSSImageSize;
  itemDefaultDSSImageSize = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "DefaultDSSImageSize" ), mDefaultDSSImageSize, 15.0 );
  addItem( itemDefaultDSSImageSize, QStringLiteral( "DefaultDSSImageSize" ) );
  KConfigSkeleton::ItemDouble  *itemDSSPadding;
  itemDSSPadding = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "DSSPadding" ), mDSSPadding, 10.0 );
  addItem( itemDSSPadding, QStringLiteral( "DSSPadding" ) );
  KConfigSkeleton::ItemBool  *itemVerboseLogging;
  itemVerboseLogging = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "VerboseLogging" ), mVerboseLogging, false );
  addItem( itemVerboseLogging, QStringLiteral( "VerboseLogging" ) );
  KConfigSkeleton::ItemBool  *itemRegularLogging;
  itemRegularLogging = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "RegularLogging" ), mRegularLogging, true );
  addItem( itemRegularLogging, QStringLiteral( "RegularLogging" ) );
  KConfigSkeleton::ItemBool  *itemDisableLogging;
  itemDisableLogging = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "DisableLogging" ), mDisableLogging, false );
  addItem( itemDisableLogging, QStringLiteral( "DisableLogging" ) );
  KConfigSkeleton::ItemBool  *itemLogToDefault;
  itemLogToDefault = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "LogToDefault" ), mLogToDefault, true );
  addItem( itemLogToDefault, QStringLiteral( "LogToDefault" ) );
  KConfigSkeleton::ItemBool  *itemLogToFile;
  itemLogToFile = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "LogToFile" ), mLogToFile, false );
  addItem( itemLogToFile, QStringLiteral( "LogToFile" ) );
  KConfigSkeleton::ItemBool  *itemFITSLogging;
  itemFITSLogging = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "FITSLogging" ), mFITSLogging, false );
  addItem( itemFITSLogging, QStringLiteral( "FITSLogging" ) );
  KConfigSkeleton::ItemBool  *itemINDILogging;
  itemINDILogging = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "INDILogging" ), mINDILogging, false );
  addItem( itemINDILogging, QStringLiteral( "INDILogging" ) );
  KConfigSkeleton::ItemBool  *itemCaptureLogging;
  itemCaptureLogging = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "CaptureLogging" ), mCaptureLogging, false );
  addItem( itemCaptureLogging, QStringLiteral( "CaptureLogging" ) );
  KConfigSkeleton::ItemBool  *itemFocusLogging;
  itemFocusLogging = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "FocusLogging" ), mFocusLogging, false );
  addItem( itemFocusLogging, QStringLiteral( "FocusLogging" ) );
  KConfigSkeleton::ItemBool  *itemGuideLogging;
  itemGuideLogging = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "GuideLogging" ), mGuideLogging, false );
  addItem( itemGuideLogging, QStringLiteral( "GuideLogging" ) );
  KConfigSkeleton::ItemBool  *itemAlignmentLogging;
  itemAlignmentLogging = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AlignmentLogging" ), mAlignmentLogging, false );
  addItem( itemAlignmentLogging, QStringLiteral( "AlignmentLogging" ) );
  KConfigSkeleton::ItemBool  *itemMountLogging;
  itemMountLogging = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "MountLogging" ), mMountLogging, false );
  addItem( itemMountLogging, QStringLiteral( "MountLogging" ) );

  setCurrentGroup( QStringLiteral( "FITSViewer" ) );

  KConfigSkeleton::ItemBool  *itemSinglePreviewFITS;
  itemSinglePreviewFITS = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "singlePreviewFITS" ), mSinglePreviewFITS, true );
  addItem( itemSinglePreviewFITS, QStringLiteral( "singlePreviewFITS" ) );
  KConfigSkeleton::ItemBool  *itemSingleWindowCapturedFITS;
  itemSingleWindowCapturedFITS = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "singleWindowCapturedFITS" ), mSingleWindowCapturedFITS, false );
  addItem( itemSingleWindowCapturedFITS, QStringLiteral( "singleWindowCapturedFITS" ) );
  KConfigSkeleton::ItemBool  *itemSingleWindowOpenedFITS;
  itemSingleWindowOpenedFITS = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "singleWindowOpenedFITS" ), mSingleWindowOpenedFITS, true );
  addItem( itemSingleWindowOpenedFITS, QStringLiteral( "singleWindowOpenedFITS" ) );
  KConfigSkeleton::ItemBool  *itemIndependentWindowFITS;
  itemIndependentWindowFITS = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "independentWindowFITS" ), mIndependentWindowFITS, false );
  addItem( itemIndependentWindowFITS, QStringLiteral( "independentWindowFITS" ) );
  KConfigSkeleton::ItemBool  *itemAutoDebayer;
  itemAutoDebayer = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AutoDebayer" ), mAutoDebayer, true );
  addItem( itemAutoDebayer, QStringLiteral( "AutoDebayer" ) );
  KConfigSkeleton::ItemBool  *itemAuto3DCube;
  itemAuto3DCube = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "Auto3DCube" ), mAuto3DCube, true );
  addItem( itemAuto3DCube, QStringLiteral( "Auto3DCube" ) );
  KConfigSkeleton::ItemBool  *itemAutoWCS;
  itemAutoWCS = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AutoWCS" ), mAutoWCS, false );
  addItem( itemAutoWCS, QStringLiteral( "AutoWCS" ) );
  KConfigSkeleton::ItemBool  *itemLimitedResourcesMode;
  itemLimitedResourcesMode = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "LimitedResourcesMode" ), mLimitedResourcesMode, false );
  addItem( itemLimitedResourcesMode, QStringLiteral( "LimitedResourcesMode" ) );

  setCurrentGroup( QStringLiteral( "WISettings" ) );

  KConfigSkeleton::ItemUInt  *itemBortleClass;
  itemBortleClass = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "BortleClass" ), mBortleClass, 4 );
  addItem( itemBortleClass, QStringLiteral( "BortleClass" ) );
  KConfigSkeleton::ItemBool  *itemTelescopeCheck;
  itemTelescopeCheck = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "TelescopeCheck" ), mTelescopeCheck, false );
  addItem( itemTelescopeCheck, QStringLiteral( "TelescopeCheck" ) );
  KConfigSkeleton::ItemBool  *itemBinocularsCheck;
  itemBinocularsCheck = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "BinocularsCheck" ), mBinocularsCheck, false );
  addItem( itemBinocularsCheck, QStringLiteral( "BinocularsCheck" ) );
  KConfigSkeleton::ItemDouble  *itemBinocularsAperture;
  itemBinocularsAperture = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "BinocularsAperture" ), mBinocularsAperture, 40.0 );
  addItem( itemBinocularsAperture, QStringLiteral( "BinocularsAperture" ) );
  KConfigSkeleton::ItemUInt  *itemScopeListIndex;
  itemScopeListIndex = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "ScopeListIndex" ), mScopeListIndex, 0 );
  addItem( itemScopeListIndex, QStringLiteral( "ScopeListIndex" ) );

  setCurrentGroup( QStringLiteral( "Ekos" ) );

  KConfigSkeleton::ItemUInt  *itemEkosWindowWidth;
  itemEkosWindowWidth = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "EkosWindowWidth" ), mEkosWindowWidth, 600 );
  addItem( itemEkosWindowWidth, QStringLiteral( "EkosWindowWidth" ) );
  KConfigSkeleton::ItemUInt  *itemEkosWindowHeight;
  itemEkosWindowHeight = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "EkosWindowHeight" ), mEkosWindowHeight, 600 );
  addItem( itemEkosWindowHeight, QStringLiteral( "EkosWindowHeight" ) );
  KConfigSkeleton::ItemBool  *itemEkosTopIcons;
  itemEkosTopIcons = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "EkosTopIcons" ), mEkosTopIcons, true );
  addItem( itemEkosTopIcons, QStringLiteral( "EkosTopIcons" ) );
  KConfigSkeleton::ItemBool  *itemEkosLeftIcons;
  itemEkosLeftIcons = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "EkosLeftIcons" ), mEkosLeftIcons, false );
  addItem( itemEkosLeftIcons, QStringLiteral( "EkosLeftIcons" ) );
  KConfigSkeleton::ItemBool  *itemIndependentWindowEkos;
  itemIndependentWindowEkos = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "independentWindowEkos" ), mIndependentWindowEkos, false );
  addItem( itemIndependentWindowEkos, QStringLiteral( "independentWindowEkos" ) );
  KConfigSkeleton::ItemString  *itemProfile;
  itemProfile = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "profile" ), mProfile, QStringLiteral( "Simulators" ) );
  addItem( itemProfile, QStringLiteral( "profile" ) );
  KConfigSkeleton::ItemBool  *itemNeverLoadConfig;
  itemNeverLoadConfig = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "neverLoadConfig" ), mNeverLoadConfig, false );
  addItem( itemNeverLoadConfig, QStringLiteral( "neverLoadConfig" ) );
  KConfigSkeleton::ItemBool  *itemLoadConfigOnConnection;
  itemLoadConfigOnConnection = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "loadConfigOnConnection" ), mLoadConfigOnConnection, true );
  addItem( itemLoadConfigOnConnection, QStringLiteral( "loadConfigOnConnection" ) );
  KConfigSkeleton::ItemBool  *itemLoadDefaultConfig;
  itemLoadDefaultConfig = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "loadDefaultConfig" ), mLoadDefaultConfig, false );
  addItem( itemLoadDefaultConfig, QStringLiteral( "loadDefaultConfig" ) );

  setCurrentGroup( QStringLiteral( "DarkLibrary" ) );

  KConfigSkeleton::ItemDouble  *itemMaxDarkTemperatureDiff;
  itemMaxDarkTemperatureDiff = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "MaxDarkTemperatureDiff" ), mMaxDarkTemperatureDiff, 1 );
  addItem( itemMaxDarkTemperatureDiff, QStringLiteral( "MaxDarkTemperatureDiff" ) );
  KConfigSkeleton::ItemStringList  *itemShutterfulCCDs;
  itemShutterfulCCDs = new KConfigSkeleton::ItemStringList( currentGroup(), QStringLiteral( "shutterfulCCDs" ), mShutterfulCCDs );
  addItem( itemShutterfulCCDs, QStringLiteral( "shutterfulCCDs" ) );
  KConfigSkeleton::ItemStringList  *itemShutterlessCCDs;
  itemShutterlessCCDs = new KConfigSkeleton::ItemStringList( currentGroup(), QStringLiteral( "shutterlessCCDs" ), mShutterlessCCDs );
  addItem( itemShutterlessCCDs, QStringLiteral( "shutterlessCCDs" ) );

  setCurrentGroup( QStringLiteral( "Mount" ) );

  KConfigSkeleton::ItemDouble  *itemMinimumAltLimit;
  itemMinimumAltLimit = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "MinimumAltLimit" ), mMinimumAltLimit, 0 );
  addItem( itemMinimumAltLimit, QStringLiteral( "MinimumAltLimit" ) );
  KConfigSkeleton::ItemDouble  *itemMaximumAltLimit;
  itemMaximumAltLimit = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "MaximumAltLimit" ), mMaximumAltLimit, 90.0 );
  addItem( itemMaximumAltLimit, QStringLiteral( "MaximumAltLimit" ) );
  KConfigSkeleton::ItemBool  *itemEnableAltitudeLimits;
  itemEnableAltitudeLimits = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "EnableAltitudeLimits" ), mEnableAltitudeLimits, false );
  addItem( itemEnableAltitudeLimits, QStringLiteral( "EnableAltitudeLimits" ) );

  setCurrentGroup( QStringLiteral( "Capture" ) );

  KConfigSkeleton::ItemString  *itemDefaultCaptureCCD;
  itemDefaultCaptureCCD = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "DefaultCaptureCCD" ), mDefaultCaptureCCD );
  addItem( itemDefaultCaptureCCD, QStringLiteral( "DefaultCaptureCCD" ) );
  KConfigSkeleton::ItemString  *itemDefaultObserver;
  itemDefaultObserver = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "DefaultObserver" ), mDefaultObserver );
  addItem( itemDefaultObserver, QStringLiteral( "DefaultObserver" ) );
  KConfigSkeleton::ItemDouble  *itemGuideDeviation;
  itemGuideDeviation = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "GuideDeviation" ), mGuideDeviation, 2 );
  addItem( itemGuideDeviation, QStringLiteral( "GuideDeviation" ) );
  KConfigSkeleton::ItemDouble  *itemHFRDeviation;
  itemHFRDeviation = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "HFRDeviation" ), mHFRDeviation, 0.5 );
  addItem( itemHFRDeviation, QStringLiteral( "HFRDeviation" ) );
  KConfigSkeleton::ItemBool  *itemEnforceGuideDeviation;
  itemEnforceGuideDeviation = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "EnforceGuideDeviation" ), mEnforceGuideDeviation, false );
  addItem( itemEnforceGuideDeviation, QStringLiteral( "EnforceGuideDeviation" ) );
  KConfigSkeleton::ItemBool  *itemEnforceAutofocus;
  itemEnforceAutofocus = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "EnforceAutofocus" ), mEnforceAutofocus, false );
  addItem( itemEnforceAutofocus, QStringLiteral( "EnforceAutofocus" ) );
  KConfigSkeleton::ItemDouble  *itemAutoMeridianHours;
  itemAutoMeridianHours = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "AutoMeridianHours" ), mAutoMeridianHours );
  addItem( itemAutoMeridianHours, QStringLiteral( "AutoMeridianHours" ) );
  KConfigSkeleton::ItemBool  *itemAutoMeridianFlip;
  itemAutoMeridianFlip = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AutoMeridianFlip" ), mAutoMeridianFlip, false );
  addItem( itemAutoMeridianFlip, QStringLiteral( "AutoMeridianFlip" ) );
  KConfigSkeleton::ItemUInt  *itemADUValue;
  itemADUValue = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "ADUValue" ), mADUValue, 0 );
  addItem( itemADUValue, QStringLiteral( "ADUValue" ) );
  KConfigSkeleton::ItemDouble  *itemMaxTemperatureDiff;
  itemMaxTemperatureDiff = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "MaxTemperatureDiff" ), mMaxTemperatureDiff, 0.1 );
  addItem( itemMaxTemperatureDiff, QStringLiteral( "MaxTemperatureDiff" ) );
  KConfigSkeleton::ItemBool  *itemRememberJobProgress;
  itemRememberJobProgress = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "RememberJobProgress" ), mRememberJobProgress, true );
  addItem( itemRememberJobProgress, QStringLiteral( "RememberJobProgress" ) );
  KConfigSkeleton::ItemDouble  *itemHFRThresholdPercentage;
  itemHFRThresholdPercentage = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "HFRThresholdPercentage" ), mHFRThresholdPercentage, 2.5 );
  addItem( itemHFRThresholdPercentage, QStringLiteral( "HFRThresholdPercentage" ) );
  KConfigSkeleton::ItemUInt  *itemDarkLibraryDuration;
  itemDarkLibraryDuration = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "DarkLibraryDuration" ), mDarkLibraryDuration, 30 );
  addItem( itemDarkLibraryDuration, QStringLiteral( "DarkLibraryDuration" ) );
  KConfigSkeleton::ItemBool  *itemAutoFocusOnFilterChange;
  itemAutoFocusOnFilterChange = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AutoFocusOnFilterChange" ), mAutoFocusOnFilterChange, false );
  addItem( itemAutoFocusOnFilterChange, QStringLiteral( "AutoFocusOnFilterChange" ) );
  KConfigSkeleton::ItemBool  *itemAutoStretch;
  itemAutoStretch = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AutoStretch" ), mAutoStretch, true );
  addItem( itemAutoStretch, QStringLiteral( "AutoStretch" ) );
  KConfigSkeleton::ItemBool  *itemUseFITSViewerInCapture;
  itemUseFITSViewerInCapture = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "useFITSViewerInCapture" ), mUseFITSViewerInCapture, true );
  addItem( itemUseFITSViewerInCapture, QStringLiteral( "useFITSViewerInCapture" ) );

  setCurrentGroup( QStringLiteral( "Focus" ) );

  KConfigSkeleton::ItemString  *itemDefaultFocusCCD;
  itemDefaultFocusCCD = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "DefaultFocusCCD" ), mDefaultFocusCCD );
  addItem( itemDefaultFocusCCD, QStringLiteral( "DefaultFocusCCD" ) );
  KConfigSkeleton::ItemUInt  *itemFocusTicks;
  itemFocusTicks = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "FocusTicks" ), mFocusTicks, 100 );
  addItem( itemFocusTicks, QStringLiteral( "FocusTicks" ) );
  KConfigSkeleton::ItemDouble  *itemFocusTolerance;
  itemFocusTolerance = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "FocusTolerance" ), mFocusTolerance, 1 );
  addItem( itemFocusTolerance, QStringLiteral( "FocusTolerance" ) );
  KConfigSkeleton::ItemUInt  *itemFocusMaxTravel;
  itemFocusMaxTravel = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "FocusMaxTravel" ), mFocusMaxTravel, 10000 );
  addItem( itemFocusMaxTravel, QStringLiteral( "FocusMaxTravel" ) );
  KConfigSkeleton::ItemDouble  *itemFocusExposure;
  itemFocusExposure = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "FocusExposure" ), mFocusExposure, 0.5 );
  addItem( itemFocusExposure, QStringLiteral( "FocusExposure" ) );
  KConfigSkeleton::ItemUInt  *itemFocusBoxSize;
  itemFocusBoxSize = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "FocusBoxSize" ), mFocusBoxSize, 64 );
  addItem( itemFocusBoxSize, QStringLiteral( "FocusBoxSize" ) );
  KConfigSkeleton::ItemUInt  *itemFocusXBin;
  itemFocusXBin = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "FocusXBin" ), mFocusXBin, 1 );
  addItem( itemFocusXBin, QStringLiteral( "FocusXBin" ) );
  KConfigSkeleton::ItemUInt  *itemFocusYBin;
  itemFocusYBin = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "FocusYBin" ), mFocusYBin, 1 );
  addItem( itemFocusYBin, QStringLiteral( "FocusYBin" ) );
  KConfigSkeleton::ItemBool  *itemFocusSubFrame;
  itemFocusSubFrame = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "FocusSubFrame" ), mFocusSubFrame, true );
  addItem( itemFocusSubFrame, QStringLiteral( "FocusSubFrame" ) );
  KConfigSkeleton::ItemBool  *itemFocusAutoStarEnabled;
  itemFocusAutoStarEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "FocusAutoStarEnabled" ), mFocusAutoStarEnabled, false );
  addItem( itemFocusAutoStarEnabled, QStringLiteral( "FocusAutoStarEnabled" ) );
  KConfigSkeleton::ItemBool  *itemSuspendGuiding;
  itemSuspendGuiding = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "SuspendGuiding" ), mSuspendGuiding, true );
  addItem( itemSuspendGuiding, QStringLiteral( "SuspendGuiding" ) );
  KConfigSkeleton::ItemBool  *itemLockFocusFilter;
  itemLockFocusFilter = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "LockFocusFilter" ), mLockFocusFilter, false );
  addItem( itemLockFocusFilter, QStringLiteral( "LockFocusFilter" ) );
  KConfigSkeleton::ItemUInt  *itemLockFocusFilterIndex;
  itemLockFocusFilterIndex = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "LockFocusFilterIndex" ), mLockFocusFilterIndex, 0 );
  addItem( itemLockFocusFilterIndex, QStringLiteral( "LockFocusFilterIndex" ) );
  KConfigSkeleton::ItemBool  *itemUseFocusDarkFrame;
  itemUseFocusDarkFrame = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "UseFocusDarkFrame" ), mUseFocusDarkFrame, false );
  addItem( itemUseFocusDarkFrame, QStringLiteral( "UseFocusDarkFrame" ) );
  KConfigSkeleton::ItemUInt  *itemFocusEffect;
  itemFocusEffect = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "FocusEffect" ), mFocusEffect, 0 );
  addItem( itemFocusEffect, QStringLiteral( "FocusEffect" ) );
  KConfigSkeleton::ItemDouble  *itemFocusThreshold;
  itemFocusThreshold = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "FocusThreshold" ), mFocusThreshold, 150 );
  addItem( itemFocusThreshold, QStringLiteral( "FocusThreshold" ) );
  KConfigSkeleton::ItemUInt  *itemFocusDetection;
  itemFocusDetection = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "FocusDetection" ), mFocusDetection, 0 );
  addItem( itemFocusDetection, QStringLiteral( "FocusDetection" ) );
  KConfigSkeleton::ItemUInt  *itemFocusAlgorithm;
  itemFocusAlgorithm = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "FocusAlgorithm" ), mFocusAlgorithm, 0 );
  addItem( itemFocusAlgorithm, QStringLiteral( "FocusAlgorithm" ) );

  setCurrentGroup( QStringLiteral( "Align" ) );

  KConfigSkeleton::ItemString  *itemDefaultAlignCCD;
  itemDefaultAlignCCD = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "DefaultAlignCCD" ), mDefaultAlignCCD );
  addItem( itemDefaultAlignCCD, QStringLiteral( "DefaultAlignCCD" ) );
  KConfigSkeleton::ItemDouble  *itemAlignExposure;
  itemAlignExposure = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "AlignExposure" ), mAlignExposure, 1 );
  addItem( itemAlignExposure, QStringLiteral( "AlignExposure" ) );
  KConfigSkeleton::ItemUInt  *itemSolverBinningIndex;
  itemSolverBinningIndex = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "SolverBinningIndex" ), mSolverBinningIndex, 0 );
  addItem( itemSolverBinningIndex, QStringLiteral( "SolverBinningIndex" ) );
  KConfigSkeleton::ItemBool  *itemAstrometrySolverVerbose;
  itemAstrometrySolverVerbose = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AstrometrySolverVerbose" ), mAstrometrySolverVerbose, false );
  addItem( itemAstrometrySolverVerbose, QStringLiteral( "AstrometrySolverVerbose" ) );
  KConfigSkeleton::ItemUInt  *itemSolverType;
  itemSolverType = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "SolverType" ), mSolverType, 0 );
  addItem( itemSolverType, QStringLiteral( "SolverType" ) );
  KConfigSkeleton::ItemStringList  *itemGuideScopeCCDs;
  itemGuideScopeCCDs = new KConfigSkeleton::ItemStringList( currentGroup(), QStringLiteral( "GuideScopeCCDs" ), mGuideScopeCCDs );
  addItem( itemGuideScopeCCDs, QStringLiteral( "GuideScopeCCDs" ) );
  KConfigSkeleton::ItemUInt  *itemSolverGotoOption;
  itemSolverGotoOption = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "SolverGotoOption" ), mSolverGotoOption, 0 );
  addItem( itemSolverGotoOption, QStringLiteral( "SolverGotoOption" ) );
  KConfigSkeleton::ItemBool  *itemAstrometrySolverWCS;
  itemAstrometrySolverWCS = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AstrometrySolverWCS" ), mAstrometrySolverWCS, false );
  addItem( itemAstrometrySolverWCS, QStringLiteral( "AstrometrySolverWCS" ) );
  KConfigSkeleton::ItemBool  *itemAstrometrySolverOverlay;
  itemAstrometrySolverOverlay = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AstrometrySolverOverlay" ), mAstrometrySolverOverlay, false );
  addItem( itemAstrometrySolverOverlay, QStringLiteral( "AstrometrySolverOverlay" ) );
  KConfigSkeleton::ItemUInt  *itemSolverAccuracyThreshold;
  itemSolverAccuracyThreshold = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "SolverAccuracyThreshold" ), mSolverAccuracyThreshold, 30 );
  addItem( itemSolverAccuracyThreshold, QStringLiteral( "SolverAccuracyThreshold" ) );
  KConfigSkeleton::ItemBool  *itemAlignDarkFrame;
  itemAlignDarkFrame = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AlignDarkFrame" ), mAlignDarkFrame, false );
  addItem( itemAlignDarkFrame, QStringLiteral( "AlignDarkFrame" ) );
  KConfigSkeleton::ItemUInt  *itemSettlingTime;
  itemSettlingTime = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "SettlingTime" ), mSettlingTime, 1500 );
  addItem( itemSettlingTime, QStringLiteral( "SettlingTime" ) );
  KConfigSkeleton::ItemBool  *itemAstrometryUseNoFITS2FITS;
  itemAstrometryUseNoFITS2FITS = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AstrometryUseNoFITS2FITS" ), mAstrometryUseNoFITS2FITS, true );
  addItem( itemAstrometryUseNoFITS2FITS, QStringLiteral( "AstrometryUseNoFITS2FITS" ) );
  KConfigSkeleton::ItemBool  *itemAstrometryUseResort;
  itemAstrometryUseResort = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AstrometryUseResort" ), mAstrometryUseResort, true );
  addItem( itemAstrometryUseResort, QStringLiteral( "AstrometryUseResort" ) );
  KConfigSkeleton::ItemBool  *itemAstrometryUseNoVerify;
  itemAstrometryUseNoVerify = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AstrometryUseNoVerify" ), mAstrometryUseNoVerify, true );
  addItem( itemAstrometryUseNoVerify, QStringLiteral( "AstrometryUseNoVerify" ) );
  KConfigSkeleton::ItemBool  *itemAstrometryUseImageScale;
  itemAstrometryUseImageScale = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AstrometryUseImageScale" ), mAstrometryUseImageScale, true );
  addItem( itemAstrometryUseImageScale, QStringLiteral( "AstrometryUseImageScale" ) );
  KConfigSkeleton::ItemDouble  *itemAstrometryImageScaleLow;
  itemAstrometryImageScaleLow = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "AstrometryImageScaleLow" ), mAstrometryImageScaleLow );
  addItem( itemAstrometryImageScaleLow, QStringLiteral( "AstrometryImageScaleLow" ) );
  KConfigSkeleton::ItemDouble  *itemAstrometryImageScaleHigh;
  itemAstrometryImageScaleHigh = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "AstrometryImageScaleHigh" ), mAstrometryImageScaleHigh );
  addItem( itemAstrometryImageScaleHigh, QStringLiteral( "AstrometryImageScaleHigh" ) );
  KConfigSkeleton::ItemBool  *itemAstrometryAutoUpdateImageScale;
  itemAstrometryAutoUpdateImageScale = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AstrometryAutoUpdateImageScale" ), mAstrometryAutoUpdateImageScale, true );
  addItem( itemAstrometryAutoUpdateImageScale, QStringLiteral( "AstrometryAutoUpdateImageScale" ) );
  KConfigSkeleton::ItemUInt  *itemAstrometryImageScaleUnits;
  itemAstrometryImageScaleUnits = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "AstrometryImageScaleUnits" ), mAstrometryImageScaleUnits, 1 );
  addItem( itemAstrometryImageScaleUnits, QStringLiteral( "AstrometryImageScaleUnits" ) );
  KConfigSkeleton::ItemBool  *itemAstrometryUseDownsample;
  itemAstrometryUseDownsample = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AstrometryUseDownsample" ), mAstrometryUseDownsample, true );
  addItem( itemAstrometryUseDownsample, QStringLiteral( "AstrometryUseDownsample" ) );
  KConfigSkeleton::ItemUInt  *itemAstrometryDownsample;
  itemAstrometryDownsample = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "AstrometryDownsample" ), mAstrometryDownsample, 2 );
  addItem( itemAstrometryDownsample, QStringLiteral( "AstrometryDownsample" ) );
  KConfigSkeleton::ItemBool  *itemAstrometryUsePosition;
  itemAstrometryUsePosition = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AstrometryUsePosition" ), mAstrometryUsePosition, true );
  addItem( itemAstrometryUsePosition, QStringLiteral( "AstrometryUsePosition" ) );
  KConfigSkeleton::ItemDouble  *itemAstrometryPositionRA;
  itemAstrometryPositionRA = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "AstrometryPositionRA" ), mAstrometryPositionRA );
  addItem( itemAstrometryPositionRA, QStringLiteral( "AstrometryPositionRA" ) );
  KConfigSkeleton::ItemDouble  *itemAstrometryPositionDE;
  itemAstrometryPositionDE = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "AstrometryPositionDE" ), mAstrometryPositionDE );
  addItem( itemAstrometryPositionDE, QStringLiteral( "AstrometryPositionDE" ) );
  KConfigSkeleton::ItemBool  *itemAstrometryAutoUpdatePosition;
  itemAstrometryAutoUpdatePosition = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AstrometryAutoUpdatePosition" ), mAstrometryAutoUpdatePosition, true );
  addItem( itemAstrometryAutoUpdatePosition, QStringLiteral( "AstrometryAutoUpdatePosition" ) );
  KConfigSkeleton::ItemDouble  *itemAstrometryRadius;
  itemAstrometryRadius = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "AstrometryRadius" ), mAstrometryRadius, 30 );
  addItem( itemAstrometryRadius, QStringLiteral( "AstrometryRadius" ) );
  KConfigSkeleton::ItemBool  *itemAstrometryDetectParity;
  itemAstrometryDetectParity = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AstrometryDetectParity" ), mAstrometryDetectParity, true );
  addItem( itemAstrometryDetectParity, QStringLiteral( "AstrometryDetectParity" ) );
  KConfigSkeleton::ItemString  *itemAstrometryCustomOptions;
  itemAstrometryCustomOptions = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "AstrometryCustomOptions" ), mAstrometryCustomOptions );
  addItem( itemAstrometryCustomOptions, QStringLiteral( "AstrometryCustomOptions" ) );
  KConfigSkeleton::ItemString  *itemAstrometrySolverBinary;
  itemAstrometrySolverBinary = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "AstrometrySolverBinary" ), mAstrometrySolverBinary, KSUtils::getDefaultPath("AstrometrySolverBinary") );
  addItem( itemAstrometrySolverBinary, QStringLiteral( "AstrometrySolverBinary" ) );
  KConfigSkeleton::ItemBool  *itemAstrometrySolverIsInternal;
  itemAstrometrySolverIsInternal = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AstrometrySolverIsInternal" ), mAstrometrySolverIsInternal, false );
  addItem( itemAstrometrySolverIsInternal, QStringLiteral( "AstrometrySolverIsInternal" ) );
  KConfigSkeleton::ItemString  *itemAstrometryWCSInfo;
  itemAstrometryWCSInfo = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "AstrometryWCSInfo" ), mAstrometryWCSInfo, KSUtils::getDefaultPath("AstrometryWCSInfo") );
  addItem( itemAstrometryWCSInfo, QStringLiteral( "AstrometryWCSInfo" ) );
  KConfigSkeleton::ItemBool  *itemAstrometryWCSIsInternal;
  itemAstrometryWCSIsInternal = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AstrometryWCSIsInternal" ), mAstrometryWCSIsInternal, false );
  addItem( itemAstrometryWCSIsInternal, QStringLiteral( "AstrometryWCSIsInternal" ) );
  KConfigSkeleton::ItemString  *itemAstrometryConfFile;
  itemAstrometryConfFile = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "AstrometryConfFile" ), mAstrometryConfFile, KSUtils::getDefaultPath("AstrometryConfFile") );
  addItem( itemAstrometryConfFile, QStringLiteral( "AstrometryConfFile" ) );
  KConfigSkeleton::ItemBool  *itemAstrometryConfFileIsInternal;
  itemAstrometryConfFileIsInternal = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AstrometryConfFileIsInternal" ), mAstrometryConfFileIsInternal, false );
  addItem( itemAstrometryConfFileIsInternal, QStringLiteral( "AstrometryConfFileIsInternal" ) );
  KConfigSkeleton::ItemString  *itemAstrometryAPIKey;
  itemAstrometryAPIKey = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "AstrometryAPIKey" ), mAstrometryAPIKey, QStringLiteral( "iczikaqstszeptgs" ) );
  addItem( itemAstrometryAPIKey, QStringLiteral( "AstrometryAPIKey" ) );
  KConfigSkeleton::ItemString  *itemAstrometryAPIURL;
  itemAstrometryAPIURL = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "AstrometryAPIURL" ), mAstrometryAPIURL, QStringLiteral( "http://nova.astrometry.net" ) );
  addItem( itemAstrometryAPIURL, QStringLiteral( "AstrometryAPIURL" ) );
  KConfigSkeleton::ItemBool  *itemAstrometryUseJPEG;
  itemAstrometryUseJPEG = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AstrometryUseJPEG" ), mAstrometryUseJPEG, true );
  addItem( itemAstrometryUseJPEG, QStringLiteral( "AstrometryUseJPEG" ) );
  KConfigSkeleton::ItemUInt  *itemAstrometryTimeout;
  itemAstrometryTimeout = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "AstrometryTimeout" ), mAstrometryTimeout, 180 );
  addItem( itemAstrometryTimeout, QStringLiteral( "AstrometryTimeout" ) );

  setCurrentGroup( QStringLiteral( "Guide" ) );

  KConfigSkeleton::ItemString  *itemDefaultGuideCCD;
  itemDefaultGuideCCD = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "DefaultGuideCCD" ), mDefaultGuideCCD );
  addItem( itemDefaultGuideCCD, QStringLiteral( "DefaultGuideCCD" ) );
  KConfigSkeleton::ItemString  *itemDefaultST4Driver;
  itemDefaultST4Driver = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "DefaultST4Driver" ), mDefaultST4Driver );
  addItem( itemDefaultST4Driver, QStringLiteral( "DefaultST4Driver" ) );
  KConfigSkeleton::ItemDouble  *itemGuideExposure;
  itemGuideExposure = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "GuideExposure" ), mGuideExposure, 1.0 );
  addItem( itemGuideExposure, QStringLiteral( "GuideExposure" ) );
  KConfigSkeleton::ItemUInt  *itemGuiderType;
  itemGuiderType = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "GuiderType" ), mGuiderType, 0 );
  addItem( itemGuiderType, QStringLiteral( "GuiderType" ) );
  KConfigSkeleton::ItemUInt  *itemGuideAlgorithm;
  itemGuideAlgorithm = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "GuideAlgorithm" ), mGuideAlgorithm, 0 );
  addItem( itemGuideAlgorithm, QStringLiteral( "GuideAlgorithm" ) );
  KConfigSkeleton::ItemString  *itemPHD2Host;
  itemPHD2Host = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "PHD2Host" ), mPHD2Host, QStringLiteral( "localhost" ) );
  addItem( itemPHD2Host, QStringLiteral( "PHD2Host" ) );
  KConfigSkeleton::ItemUInt  *itemPHD2Port;
  itemPHD2Port = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "PHD2Port" ), mPHD2Port, 4400 );
  addItem( itemPHD2Port, QStringLiteral( "PHD2Port" ) );
  KConfigSkeleton::ItemString  *itemLinGuiderHost;
  itemLinGuiderHost = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "LinGuiderHost" ), mLinGuiderHost, QStringLiteral( "localhost" ) );
  addItem( itemLinGuiderHost, QStringLiteral( "LinGuiderHost" ) );
  KConfigSkeleton::ItemUInt  *itemLinGuiderPort;
  itemLinGuiderPort = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "LinGuiderPort" ), mLinGuiderPort, 5656 );
  addItem( itemLinGuiderPort, QStringLiteral( "LinGuiderPort" ) );
  KConfigSkeleton::ItemUInt  *itemCalibrationPulseDuration;
  itemCalibrationPulseDuration = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "CalibrationPulseDuration" ), mCalibrationPulseDuration, 1000 );
  addItem( itemCalibrationPulseDuration, QStringLiteral( "CalibrationPulseDuration" ) );
  KConfigSkeleton::ItemUInt  *itemGuideSquareSizeIndex;
  itemGuideSquareSizeIndex = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "GuideSquareSizeIndex" ), mGuideSquareSizeIndex, 2 );
  addItem( itemGuideSquareSizeIndex, QStringLiteral( "GuideSquareSizeIndex" ) );
  KConfigSkeleton::ItemBool  *itemImageGuidingEnabled;
  itemImageGuidingEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ImageGuidingEnabled" ), mImageGuidingEnabled, false );
  addItem( itemImageGuidingEnabled, QStringLiteral( "ImageGuidingEnabled" ) );
  KConfigSkeleton::ItemUInt  *itemGuideRegionAxis;
  itemGuideRegionAxis = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "GuideRegionAxis" ), mGuideRegionAxis, 1 );
  addItem( itemGuideRegionAxis, QStringLiteral( "GuideRegionAxis" ) );
  KConfigSkeleton::ItemBool  *itemGuideAutoStarEnabled;
  itemGuideAutoStarEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "GuideAutoStarEnabled" ), mGuideAutoStarEnabled, false );
  addItem( itemGuideAutoStarEnabled, QStringLiteral( "GuideAutoStarEnabled" ) );
  KConfigSkeleton::ItemBool  *itemGuideAutoSquareSizeEnabled;
  itemGuideAutoSquareSizeEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "GuideAutoSquareSizeEnabled" ), mGuideAutoSquareSizeEnabled, false );
  addItem( itemGuideAutoSquareSizeEnabled, QStringLiteral( "GuideAutoSquareSizeEnabled" ) );
  KConfigSkeleton::ItemBool  *itemGuideRemoteImagesEnabled;
  itemGuideRemoteImagesEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "GuideRemoteImagesEnabled" ), mGuideRemoteImagesEnabled, false );
  addItem( itemGuideRemoteImagesEnabled, QStringLiteral( "GuideRemoteImagesEnabled" ) );
  KConfigSkeleton::ItemUInt  *itemAutoModeIterations;
  itemAutoModeIterations = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "AutoModeIterations" ), mAutoModeIterations, 5 );
  addItem( itemAutoModeIterations, QStringLiteral( "AutoModeIterations" ) );
  KConfigSkeleton::ItemBool  *itemTwoAxisEnabled;
  itemTwoAxisEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "TwoAxisEnabled" ), mTwoAxisEnabled, true );
  addItem( itemTwoAxisEnabled, QStringLiteral( "TwoAxisEnabled" ) );
  KConfigSkeleton::ItemBool  *itemRapidGuideEnabled;
  itemRapidGuideEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "RapidGuideEnabled" ), mRapidGuideEnabled, false );
  addItem( itemRapidGuideEnabled, QStringLiteral( "RapidGuideEnabled" ) );
  KConfigSkeleton::ItemBool  *itemGuideDarkFrameEnabled;
  itemGuideDarkFrameEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "GuideDarkFrameEnabled" ), mGuideDarkFrameEnabled, false );
  addItem( itemGuideDarkFrameEnabled, QStringLiteral( "GuideDarkFrameEnabled" ) );
  KConfigSkeleton::ItemBool  *itemGuideSubframeEnabled;
  itemGuideSubframeEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "GuideSubframeEnabled" ), mGuideSubframeEnabled, false );
  addItem( itemGuideSubframeEnabled, QStringLiteral( "GuideSubframeEnabled" ) );
  KConfigSkeleton::ItemDouble  *itemDitherPixels;
  itemDitherPixels = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "DitherPixels" ), mDitherPixels, 2 );
  addItem( itemDitherPixels, QStringLiteral( "DitherPixels" ) );
  KConfigSkeleton::ItemUInt  *itemDitherFrames;
  itemDitherFrames = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "DitherFrames" ), mDitherFrames, 1 );
  addItem( itemDitherFrames, QStringLiteral( "DitherFrames" ) );
  KConfigSkeleton::ItemUInt  *itemDitherSettle;
  itemDitherSettle = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "DitherSettle" ), mDitherSettle, 0 );
  addItem( itemDitherSettle, QStringLiteral( "DitherSettle" ) );
  KConfigSkeleton::ItemDouble  *itemDitherThreshold;
  itemDitherThreshold = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "DitherThreshold" ), mDitherThreshold, 1 );
  addItem( itemDitherThreshold, QStringLiteral( "DitherThreshold" ) );
  KConfigSkeleton::ItemUInt  *itemDitherTimeout;
  itemDitherTimeout = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "DitherTimeout" ), mDitherTimeout, 45 );
  addItem( itemDitherTimeout, QStringLiteral( "DitherTimeout" ) );
  KConfigSkeleton::ItemUInt  *itemDitherMaxIterations;
  itemDitherMaxIterations = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "DitherMaxIterations" ), mDitherMaxIterations, 10 );
  addItem( itemDitherMaxIterations, QStringLiteral( "DitherMaxIterations" ) );
  KConfigSkeleton::ItemBool  *itemDitherFailAbortsAutoGuide;
  itemDitherFailAbortsAutoGuide = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "DitherFailAbortsAutoGuide" ), mDitherFailAbortsAutoGuide, false );
  addItem( itemDitherFailAbortsAutoGuide, QStringLiteral( "DitherFailAbortsAutoGuide" ) );
  KConfigSkeleton::ItemBool  *itemDitherEnabled;
  itemDitherEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "DitherEnabled" ), mDitherEnabled, false );
  addItem( itemDitherEnabled, QStringLiteral( "DitherEnabled" ) );
  KConfigSkeleton::ItemDouble  *itemAOLimit;
  itemAOLimit = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "AOLimit" ), mAOLimit, 2 );
  addItem( itemAOLimit, QStringLiteral( "AOLimit" ) );
  KConfigSkeleton::ItemBool  *itemRAGuideEnabled;
  itemRAGuideEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "RAGuideEnabled" ), mRAGuideEnabled, true );
  addItem( itemRAGuideEnabled, QStringLiteral( "RAGuideEnabled" ) );
  KConfigSkeleton::ItemBool  *itemDECGuideEnabled;
  itemDECGuideEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "DECGuideEnabled" ), mDECGuideEnabled, true );
  addItem( itemDECGuideEnabled, QStringLiteral( "DECGuideEnabled" ) );
  KConfigSkeleton::ItemBool  *itemNorthDECGuideEnabled;
  itemNorthDECGuideEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "NorthDECGuideEnabled" ), mNorthDECGuideEnabled, true );
  addItem( itemNorthDECGuideEnabled, QStringLiteral( "NorthDECGuideEnabled" ) );
  KConfigSkeleton::ItemBool  *itemSouthDECGuideEnabled;
  itemSouthDECGuideEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "SouthDECGuideEnabled" ), mSouthDECGuideEnabled, true );
  addItem( itemSouthDECGuideEnabled, QStringLiteral( "SouthDECGuideEnabled" ) );
  KConfigSkeleton::ItemBool  *itemEastRAGuideEnabled;
  itemEastRAGuideEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "EastRAGuideEnabled" ), mEastRAGuideEnabled, true );
  addItem( itemEastRAGuideEnabled, QStringLiteral( "EastRAGuideEnabled" ) );
  KConfigSkeleton::ItemBool  *itemWestRAGuideEnabled;
  itemWestRAGuideEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "WestRAGuideEnabled" ), mWestRAGuideEnabled, true );
  addItem( itemWestRAGuideEnabled, QStringLiteral( "WestRAGuideEnabled" ) );
  KConfigSkeleton::ItemDouble  *itemRAProportionalGain;
  itemRAProportionalGain = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "RAProportionalGain" ), mRAProportionalGain, 133.33 );
  addItem( itemRAProportionalGain, QStringLiteral( "RAProportionalGain" ) );
  KConfigSkeleton::ItemDouble  *itemDECProportionalGain;
  itemDECProportionalGain = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "DECProportionalGain" ), mDECProportionalGain, 133.33 );
  addItem( itemDECProportionalGain, QStringLiteral( "DECProportionalGain" ) );
  KConfigSkeleton::ItemDouble  *itemRAIntegralGain;
  itemRAIntegralGain = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "RAIntegralGain" ), mRAIntegralGain, 0 );
  addItem( itemRAIntegralGain, QStringLiteral( "RAIntegralGain" ) );
  KConfigSkeleton::ItemDouble  *itemDECIntegralGain;
  itemDECIntegralGain = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "DECIntegralGain" ), mDECIntegralGain, 0 );
  addItem( itemDECIntegralGain, QStringLiteral( "DECIntegralGain" ) );
  KConfigSkeleton::ItemDouble  *itemRADerivativeGain;
  itemRADerivativeGain = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "RADerivativeGain" ), mRADerivativeGain, 0 );
  addItem( itemRADerivativeGain, QStringLiteral( "RADerivativeGain" ) );
  KConfigSkeleton::ItemDouble  *itemDECDerivativeGain;
  itemDECDerivativeGain = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "DECDerivativeGain" ), mDECDerivativeGain, 0 );
  addItem( itemDECDerivativeGain, QStringLiteral( "DECDerivativeGain" ) );
  KConfigSkeleton::ItemUInt  *itemRAMaximumPulse;
  itemRAMaximumPulse = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "RAMaximumPulse" ), mRAMaximumPulse, 5000 );
  addItem( itemRAMaximumPulse, QStringLiteral( "RAMaximumPulse" ) );
  KConfigSkeleton::ItemUInt  *itemDECMaximumPulse;
  itemDECMaximumPulse = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "DECMaximumPulse" ), mDECMaximumPulse, 5000 );
  addItem( itemDECMaximumPulse, QStringLiteral( "DECMaximumPulse" ) );
  KConfigSkeleton::ItemUInt  *itemRAMinimumPulse;
  itemRAMinimumPulse = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "RAMinimumPulse" ), mRAMinimumPulse, 100 );
  addItem( itemRAMinimumPulse, QStringLiteral( "RAMinimumPulse" ) );
  KConfigSkeleton::ItemUInt  *itemDECMinimumPulse;
  itemDECMinimumPulse = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "DECMinimumPulse" ), mDECMinimumPulse, 100 );
  addItem( itemDECMinimumPulse, QStringLiteral( "DECMinimumPulse" ) );
  KConfigSkeleton::ItemDouble  *itemGuidingRate;
  itemGuidingRate = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "GuidingRate" ), mGuidingRate, 0.5 );
  addItem( itemGuidingRate, QStringLiteral( "GuidingRate" ) );

  setCurrentGroup( QStringLiteral( "Scheduler" ) );

  KConfigSkeleton::ItemBool  *itemStopEkosAfterShutdown;
  itemStopEkosAfterShutdown = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "StopEkosAfterShutdown" ), mStopEkosAfterShutdown, true );
  addItem( itemStopEkosAfterShutdown, QStringLiteral( "StopEkosAfterShutdown" ) );
  KConfigSkeleton::ItemBool  *itemShutdownScriptTerminatesINDI;
  itemShutdownScriptTerminatesINDI = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShutdownScriptTerminatesINDI" ), mShutdownScriptTerminatesINDI, false );
  addItem( itemShutdownScriptTerminatesINDI, QStringLiteral( "ShutdownScriptTerminatesINDI" ) );
  KConfigSkeleton::ItemBool  *itemPreemptiveShutdown;
  itemPreemptiveShutdown = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "PreemptiveShutdown" ), mPreemptiveShutdown, false );
  addItem( itemPreemptiveShutdown, QStringLiteral( "PreemptiveShutdown" ) );
  KConfigSkeleton::ItemDouble  *itemPreemptiveShutdownTime;
  itemPreemptiveShutdownTime = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "PreemptiveShutdownTime" ), mPreemptiveShutdownTime, 2 );
  addItem( itemPreemptiveShutdownTime, QStringLiteral( "PreemptiveShutdownTime" ) );
  KConfigSkeleton::ItemDouble  *itemLeadTime;
  itemLeadTime = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "LeadTime" ), mLeadTime, 5 );
  addItem( itemLeadTime, QStringLiteral( "LeadTime" ) );
  KConfigSkeleton::ItemDouble  *itemPreDawnTime;
  itemPreDawnTime = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "PreDawnTime" ), mPreDawnTime, 30 );
  addItem( itemPreDawnTime, QStringLiteral( "PreDawnTime" ) );
  KConfigSkeleton::ItemDouble  *itemTelescopeFocalLength;
  itemTelescopeFocalLength = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "TelescopeFocalLength" ), mTelescopeFocalLength, 0 );
  addItem( itemTelescopeFocalLength, QStringLiteral( "TelescopeFocalLength" ) );
  KConfigSkeleton::ItemDouble  *itemCameraPixelWidth;
  itemCameraPixelWidth = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "CameraPixelWidth" ), mCameraPixelWidth, 0 );
  addItem( itemCameraPixelWidth, QStringLiteral( "CameraPixelWidth" ) );
  KConfigSkeleton::ItemDouble  *itemCameraPixelHeight;
  itemCameraPixelHeight = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "CameraPixelHeight" ), mCameraPixelHeight, 0 );
  addItem( itemCameraPixelHeight, QStringLiteral( "CameraPixelHeight" ) );
  KConfigSkeleton::ItemUInt  *itemCameraWidth;
  itemCameraWidth = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "CameraWidth" ), mCameraWidth, 0 );
  addItem( itemCameraWidth, QStringLiteral( "CameraWidth" ) );
  KConfigSkeleton::ItemUInt  *itemCameraHeight;
  itemCameraHeight = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "CameraHeight" ), mCameraHeight, 0 );
  addItem( itemCameraHeight, QStringLiteral( "CameraHeight" ) );
  KConfigSkeleton::ItemDouble  *itemCameraRotation;
  itemCameraRotation = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "CameraRotation" ), mCameraRotation, 0 );
  addItem( itemCameraRotation, QStringLiteral( "CameraRotation" ) );

  setCurrentGroup( QStringLiteral( "INDI Lite" ) );

  KConfigSkeleton::ItemString  *itemLastServer;
  itemLastServer = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "LastServer" ), mLastServer );
  addItem( itemLastServer, QStringLiteral( "LastServer" ) );
  KConfigSkeleton::ItemUInt  *itemLastServerPort;
  itemLastServerPort = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "LastServerPort" ), mLastServerPort, 7624 );
  addItem( itemLastServerPort, QStringLiteral( "LastServerPort" ) );
}

Options::~Options()
{
  s_globalOptions()->q = nullptr;
}

