// 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 <QFile>

class OptionsHelper
{
  public:
    OptionsHelper() : q(nullptr) {}
    ~OptionsHelper() { delete q; }
    OptionsHelper(const OptionsHelper&) = delete;
    OptionsHelper& operator=(const OptionsHelper&) = delete;
    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::ItemBool  *itemShowSensorFOV;
  itemShowSensorFOV = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowSensorFOV" ), mShowSensorFOV, true );
  addItem( itemShowSensorFOV, QStringLiteral( "ShowSensorFOV" ) );
  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" ) );
  KConfigSkeleton::ItemString  *itemCurrentTheme;
  itemCurrentTheme = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "CurrentTheme" ), mCurrentTheme, QStringLiteral( "Black Body" ) );
  addItem( itemCurrentTheme, QStringLiteral( "CurrentTheme" ) );

  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  *itemSaveFocusImages;
  itemSaveFocusImages = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "SaveFocusImages" ), mSaveFocusImages, false );
  addItem( itemSaveFocusImages, QStringLiteral( "SaveFocusImages" ) );
  KConfigSkeleton::ItemBool  *itemMessageNotificationINDI;
  itemMessageNotificationINDI = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "messageNotificationINDI" ), mMessageNotificationINDI, false );
  addItem( itemMessageNotificationINDI, QStringLiteral( "messageNotificationINDI" ) );
  KConfigSkeleton::ItemBool  *itemUseKStarsSource;
  itemUseKStarsSource = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "useKStarsSource" ), mUseKStarsSource, true );
  addItem( itemUseKStarsSource, QStringLiteral( "useKStarsSource" ) );
  KConfigSkeleton::ItemBool  *itemUseMountSource;
  itemUseMountSource = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "useMountSource" ), mUseMountSource, false );
  addItem( itemUseMountSource, QStringLiteral( "useMountSource" ) );
  KConfigSkeleton::ItemBool  *itemUseGPSSource;
  itemUseGPSSource = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "useGPSSource" ), mUseGPSSource, false );
  addItem( itemUseGPSSource, QStringLiteral( "useGPSSource" ) );
  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::ItemString  *itemINDIHubAgent;
  itemINDIHubAgent = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "INDIHubAgent" ), mINDIHubAgent, KSUtils::getDefaultPath("INDIHubAgent") );
  addItem( itemINDIHubAgent, QStringLiteral( "INDIHubAgent" ) );
  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" ) );
  KConfigSkeleton::ItemBool  *itemINDIMountLogging;
  itemINDIMountLogging = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "INDIMountLogging" ), mINDIMountLogging, false );
  addItem( itemINDIMountLogging, QStringLiteral( "INDIMountLogging" ) );
  KConfigSkeleton::ItemBool  *itemINDIFocuserLogging;
  itemINDIFocuserLogging = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "INDIFocuserLogging" ), mINDIFocuserLogging, false );
  addItem( itemINDIFocuserLogging, QStringLiteral( "INDIFocuserLogging" ) );
  KConfigSkeleton::ItemBool  *itemINDICCDLogging;
  itemINDICCDLogging = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "INDICCDLogging" ), mINDICCDLogging, false );
  addItem( itemINDICCDLogging, QStringLiteral( "INDICCDLogging" ) );
  KConfigSkeleton::ItemBool  *itemINDIFilterWheelLogging;
  itemINDIFilterWheelLogging = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "INDIFilterWheelLogging" ), mINDIFilterWheelLogging, false );
  addItem( itemINDIFilterWheelLogging, QStringLiteral( "INDIFilterWheelLogging" ) );
  KConfigSkeleton::ItemBool  *itemINDIDomeLogging;
  itemINDIDomeLogging = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "INDIDomeLogging" ), mINDIDomeLogging, false );
  addItem( itemINDIDomeLogging, QStringLiteral( "INDIDomeLogging" ) );
  KConfigSkeleton::ItemBool  *itemINDIDetectorLogging;
  itemINDIDetectorLogging = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "INDIDetectorLogging" ), mINDIDetectorLogging, false );
  addItem( itemINDIDetectorLogging, QStringLiteral( "INDIDetectorLogging" ) );
  KConfigSkeleton::ItemBool  *itemINDIWeatherLogging;
  itemINDIWeatherLogging = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "INDIWeatherLogging" ), mINDIWeatherLogging, false );
  addItem( itemINDIWeatherLogging, QStringLiteral( "INDIWeatherLogging" ) );
  KConfigSkeleton::ItemBool  *itemINDIAuxiliaryLogging;
  itemINDIAuxiliaryLogging = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "INDIAuxiliaryLogging" ), mINDIAuxiliaryLogging, false );
  addItem( itemINDIAuxiliaryLogging, QStringLiteral( "INDIAuxiliaryLogging" ) );
  KConfigSkeleton::ItemBool  *itemINDIRotatorLogging;
  itemINDIRotatorLogging = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "INDIRotatorLogging" ), mINDIRotatorLogging, false );
  addItem( itemINDIRotatorLogging, QStringLiteral( "INDIRotatorLogging" ) );
  KConfigSkeleton::ItemBool  *itemINDIGPSLogging;
  itemINDIGPSLogging = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "INDIGPSLogging" ), mINDIGPSLogging, false );
  addItem( itemINDIGPSLogging, QStringLiteral( "INDIGPSLogging" ) );
  KConfigSkeleton::ItemBool  *itemINDIAOLogging;
  itemINDIAOLogging = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "INDIAOLogging" ), mINDIAOLogging, false );
  addItem( itemINDIAOLogging, QStringLiteral( "INDIAOLogging" ) );

  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" ) );
  KConfigSkeleton::ItemBool  *itemLeftClickSelectsObject;
  itemLeftClickSelectsObject = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "LeftClickSelectsObject" ), mLeftClickSelectsObject, false );
  addItem( itemLeftClickSelectsObject, QStringLiteral( "LeftClickSelectsObject" ) );
  KConfigSkeleton::ItemUInt  *itemDefaultCursor;
  itemDefaultCursor = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "DefaultCursor" ), mDefaultCursor, 1 );
  addItem( itemDefaultCursor, QStringLiteral( "DefaultCursor" ) );
  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  *itemOrbitalElementsAutoUpdate;
  itemOrbitalElementsAutoUpdate = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "OrbitalElementsAutoUpdate" ), mOrbitalElementsAutoUpdate, true );
  addItem( itemOrbitalElementsAutoUpdate, QStringLiteral( "OrbitalElementsAutoUpdate" ) );
  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  *itemShowLocalMeridian;
  itemShowLocalMeridian = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowLocalMeridian" ), mShowLocalMeridian, false );
  addItem( itemShowLocalMeridian, QStringLiteral( "ShowLocalMeridian" ) );
  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, false );
  addItem( itemUseLatinConstellNames, QStringLiteral( "UseLatinConstellNames" ) );
  KConfigSkeleton::ItemBool  *itemUseLocalConstellNames;
  itemUseLocalConstellNames = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "UseLocalConstellNames" ), mUseLocalConstellNames, true );
  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  *itemZoomScrollFactor;
  itemZoomScrollFactor = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "ZoomScrollFactor" ), mZoomScrollFactor, 0.2 );
  itemZoomScrollFactor->setMinValue(0.01);
  itemZoomScrollFactor->setMaxValue(1.0);
  addItem( itemZoomScrollFactor, QStringLiteral( "ZoomScrollFactor" ) );
  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" ) );
  KConfigSkeleton::ItemDouble  *itemObsListCoverage;
  itemObsListCoverage = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "ObsListCoverage" ), mObsListCoverage, 40.00 );
  addItem( itemObsListCoverage, QStringLiteral( "ObsListCoverage" ) );

  setCurrentGroup( QStringLiteral( "Colors" ) );

  KConfigSkeleton::ItemString  *itemColorSchemeFile;
  itemColorSchemeFile = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "ColorSchemeFile" ), mColorSchemeFile, QStringLiteral( "moonless-night.colors" ) );
  addItem( itemColorSchemeFile, QStringLiteral( "ColorSchemeFile" ) );
  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  *itemLocalMeridianColor;
  itemLocalMeridianColor = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "LocalMeridianColor" ), mLocalMeridianColor, QStringLiteral( "#0059b3" ) );
  addItem( itemLocalMeridianColor, QStringLiteral( "LocalMeridianColor" ) );
  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::ItemBool  *itemXplanetUseFIFO;
  itemXplanetUseFIFO = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "XplanetUseFIFO" ), mXplanetUseFIFO, true );
  addItem( itemXplanetUseFIFO, QStringLiteral( "XplanetUseFIFO" ) );
  KConfigSkeleton::ItemUInt  *itemXplanetTimeout;
  itemXplanetTimeout = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "XplanetTimeout" ), mXplanetTimeout, 1000 );
  addItem( itemXplanetTimeout, QStringLiteral( "XplanetTimeout" ) );
  KConfigSkeleton::ItemUInt  *itemXplanetAnimationDelay;
  itemXplanetAnimationDelay = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "XplanetAnimationDelay" ), mXplanetAnimationDelay, 100 );
  addItem( itemXplanetAnimationDelay, QStringLiteral( "XplanetAnimationDelay" ) );
  KConfigSkeleton::ItemUInt  *itemXplanetWidth;
  itemXplanetWidth = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "XplanetWidth" ), mXplanetWidth, 640 );
  addItem( itemXplanetWidth, QStringLiteral( "XplanetWidth" ) );
  KConfigSkeleton::ItemUInt  *itemXplanetHeight;
  itemXplanetHeight = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "XplanetHeight" ), mXplanetHeight, 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  *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" ) );
  KConfigSkeleton::ItemBool  *itemObservatoryLogging;
  itemObservatoryLogging = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ObservatoryLogging" ), mObservatoryLogging, false );
  addItem( itemObservatoryLogging, QStringLiteral( "ObservatoryLogging" ) );

  setCurrentGroup( QStringLiteral( "FITSViewer" ) );

  KConfigSkeleton::ItemBool  *itemUseFITSViewer;
  itemUseFITSViewer = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "useFITSViewer" ), mUseFITSViewer, true );
  addItem( itemUseFITSViewer, QStringLiteral( "useFITSViewer" ) );
  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  *itemFocusFITSOnNewImage;
  itemFocusFITSOnNewImage = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "focusFITSOnNewImage" ), mFocusFITSOnNewImage, true );
  addItem( itemFocusFITSOnNewImage, QStringLiteral( "focusFITSOnNewImage" ) );
  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, !KSUtils::isHardwareLimited() );
  addItem( itemAutoDebayer, QStringLiteral( "AutoDebayer" ) );
  KConfigSkeleton::ItemBool  *itemAutoImageToFITS;
  itemAutoImageToFITS = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AutoImageToFITS" ), mAutoImageToFITS, false );
  addItem( itemAutoImageToFITS, QStringLiteral( "AutoImageToFITS" ) );
  KConfigSkeleton::ItemBool  *itemAuto3DCube;
  itemAuto3DCube = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "Auto3DCube" ), mAuto3DCube, !KSUtils::isHardwareLimited() );
  addItem( itemAuto3DCube, QStringLiteral( "Auto3DCube" ) );
  KConfigSkeleton::ItemBool  *itemAutoWCS;
  itemAutoWCS = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AutoWCS" ), mAutoWCS, !KSUtils::isHardwareLimited() );
  addItem( itemAutoWCS, QStringLiteral( "AutoWCS" ) );
  KConfigSkeleton::ItemBool  *itemLimitedResourcesMode;
  itemLimitedResourcesMode = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "LimitedResourcesMode" ), mLimitedResourcesMode, KSUtils::isHardwareLimited() );
  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  *itemRememberCredentials;
  itemRememberCredentials = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "RememberCredentials" ), mRememberCredentials, true );
  addItem( itemRememberCredentials, QStringLiteral( "RememberCredentials" ) );
  KConfigSkeleton::ItemBool  *itemAutoStartEkosLive;
  itemAutoStartEkosLive = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AutoStartEkosLive" ), mAutoStartEkosLive, true );
  addItem( itemAutoStartEkosLive, QStringLiteral( "AutoStartEkosLive" ) );
  KConfigSkeleton::ItemBool  *itemEkosLiveOnline;
  itemEkosLiveOnline = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "EkosLiveOnline" ), mEkosLiveOnline, true );
  addItem( itemEkosLiveOnline, QStringLiteral( "EkosLiveOnline" ) );
  KConfigSkeleton::ItemString  *itemEkosLiveUsername;
  itemEkosLiveUsername = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "EkosLiveUsername" ), mEkosLiveUsername );
  addItem( itemEkosLiveUsername, QStringLiteral( "EkosLiveUsername" ) );
  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" ) );
  KConfigSkeleton::ItemBool  *itemAutoLoadSerialAssistant;
  itemAutoLoadSerialAssistant = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "autoLoadSerialAssistant" ), mAutoLoadSerialAssistant, true );
  addItem( itemAutoLoadSerialAssistant, QStringLiteral( "autoLoadSerialAssistant" ) );

  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" ) );
  KConfigSkeleton::ItemDouble  *itemMeridianFlipOffset;
  itemMeridianFlipOffset = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "MeridianFlipOffset" ), mMeridianFlipOffset );
  addItem( itemMeridianFlipOffset, QStringLiteral( "MeridianFlipOffset" ) );
  KConfigSkeleton::ItemBool  *itemExecuteMeridianFlip;
  itemExecuteMeridianFlip = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ExecuteMeridianFlip" ), mExecuteMeridianFlip, false );
  addItem( itemExecuteMeridianFlip, QStringLiteral( "ExecuteMeridianFlip" ) );
  KConfigSkeleton::ItemBool  *itemMeridianFlipUnitDegrees;
  itemMeridianFlipUnitDegrees = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "MeridianFlipUnitDegrees" ), mMeridianFlipUnitDegrees, true );
  addItem( itemMeridianFlipUnitDegrees, QStringLiteral( "MeridianFlipUnitDegrees" ) );
  KConfigSkeleton::ItemBool  *itemLeftRightReversed;
  itemLeftRightReversed = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "LeftRightReversed" ), mLeftRightReversed, false );
  addItem( itemLeftRightReversed, QStringLiteral( "LeftRightReversed" ) );
  KConfigSkeleton::ItemBool  *itemUpDownReversed;
  itemUpDownReversed = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "UpDownReversed" ), mUpDownReversed, false );
  addItem( itemUpDownReversed, QStringLiteral( "UpDownReversed" ) );
  KConfigSkeleton::ItemBool  *itemParkEveryDay;
  itemParkEveryDay = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ParkEveryDay" ), mParkEveryDay, false );
  addItem( itemParkEveryDay, QStringLiteral( "ParkEveryDay" ) );
  KConfigSkeleton::ItemString  *itemParkTime;
  itemParkTime = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "ParkTime" ), mParkTime, QStringLiteral( "3:00 AM" ) );
  addItem( itemParkTime, QStringLiteral( "ParkTime" ) );

  setCurrentGroup( QStringLiteral( "Capture" ) );

  KConfigSkeleton::ItemString  *itemDefaultCaptureCCD;
  itemDefaultCaptureCCD = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "DefaultCaptureCCD" ), mDefaultCaptureCCD );
  addItem( itemDefaultCaptureCCD, QStringLiteral( "DefaultCaptureCCD" ) );
  KConfigSkeleton::ItemString  *itemDefaultCaptureFilterWheel;
  itemDefaultCaptureFilterWheel = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "DefaultCaptureFilterWheel" ), mDefaultCaptureFilterWheel );
  addItem( itemDefaultCaptureFilterWheel, QStringLiteral( "DefaultCaptureFilterWheel" ) );
  KConfigSkeleton::ItemString  *itemDefaultObserver;
  itemDefaultObserver = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "DefaultObserver" ), mDefaultObserver );
  addItem( itemDefaultObserver, QStringLiteral( "DefaultObserver" ) );
  KConfigSkeleton::ItemBool  *itemSyncFOVPA;
  itemSyncFOVPA = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "SyncFOVPA" ), mSyncFOVPA, false );
  addItem( itemSyncFOVPA, QStringLiteral( "SyncFOVPA" ) );
  KConfigSkeleton::ItemDouble  *itemPAMultiplier;
  itemPAMultiplier = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "PAMultiplier" ), mPAMultiplier, 1 );
  addItem( itemPAMultiplier, QStringLiteral( "PAMultiplier" ) );
  KConfigSkeleton::ItemDouble  *itemPAOffset;
  itemPAOffset = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "PAOffset" ), mPAOffset, 0 );
  addItem( itemPAOffset, QStringLiteral( "PAOffset" ) );
  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::ItemBool  *itemEnforceRefocusEveryN;
  itemEnforceRefocusEveryN = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "EnforceRefocusEveryN" ), mEnforceRefocusEveryN, false );
  addItem( itemEnforceRefocusEveryN, QStringLiteral( "EnforceRefocusEveryN" ) );
  KConfigSkeleton::ItemUInt  *itemRefocusEveryN;
  itemRefocusEveryN = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "RefocusEveryN" ), mRefocusEveryN, 60 );
  addItem( itemRefocusEveryN, QStringLiteral( "RefocusEveryN" ) );
  KConfigSkeleton::ItemBool  *itemResetMountModelAfterMeridian;
  itemResetMountModelAfterMeridian = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ResetMountModelAfterMeridian" ), mResetMountModelAfterMeridian, false );
  addItem( itemResetMountModelAfterMeridian, QStringLiteral( "ResetMountModelAfterMeridian" ) );
  KConfigSkeleton::ItemUInt  *itemCalibrationADUValue;
  itemCalibrationADUValue = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "CalibrationADUValue" ), mCalibrationADUValue, 0 );
  addItem( itemCalibrationADUValue, QStringLiteral( "CalibrationADUValue" ) );
  KConfigSkeleton::ItemUInt  *itemCalibrationADUValueTolerance;
  itemCalibrationADUValueTolerance = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "CalibrationADUValueTolerance" ), mCalibrationADUValueTolerance, 1000 );
  addItem( itemCalibrationADUValueTolerance, QStringLiteral( "CalibrationADUValueTolerance" ) );
  KConfigSkeleton::ItemUInt  *itemCalibrationFlatSourceIndex;
  itemCalibrationFlatSourceIndex = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "CalibrationFlatSourceIndex" ), mCalibrationFlatSourceIndex, 0 );
  addItem( itemCalibrationFlatSourceIndex, QStringLiteral( "CalibrationFlatSourceIndex" ) );
  KConfigSkeleton::ItemUInt  *itemCalibrationFlatDurationIndex;
  itemCalibrationFlatDurationIndex = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "CalibrationFlatDurationIndex" ), mCalibrationFlatDurationIndex, 0 );
  addItem( itemCalibrationFlatDurationIndex, QStringLiteral( "CalibrationFlatDurationIndex" ) );
  KConfigSkeleton::ItemDouble  *itemCalibrationWallAz;
  itemCalibrationWallAz = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "CalibrationWallAz" ), mCalibrationWallAz, 0 );
  addItem( itemCalibrationWallAz, QStringLiteral( "CalibrationWallAz" ) );
  KConfigSkeleton::ItemDouble  *itemCalibrationWallAlt;
  itemCalibrationWallAlt = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "CalibrationWallAlt" ), mCalibrationWallAlt, 0 );
  addItem( itemCalibrationWallAlt, QStringLiteral( "CalibrationWallAlt" ) );
  KConfigSkeleton::ItemDouble  *itemMaxTemperatureDiff;
  itemMaxTemperatureDiff = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "MaxTemperatureDiff" ), mMaxTemperatureDiff, 0.1 );
  addItem( itemMaxTemperatureDiff, QStringLiteral( "MaxTemperatureDiff" ) );
  KConfigSkeleton::ItemDouble  *itemGuidingSettle;
  itemGuidingSettle = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "GuidingSettle" ), mGuidingSettle, 0 );
  addItem( itemGuidingSettle, QStringLiteral( "GuidingSettle" ) );
  KConfigSkeleton::ItemBool  *itemAlwaysResetSequenceWhenStarting;
  itemAlwaysResetSequenceWhenStarting = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AlwaysResetSequenceWhenStarting" ), mAlwaysResetSequenceWhenStarting, false );
  addItem( itemAlwaysResetSequenceWhenStarting, QStringLiteral( "AlwaysResetSequenceWhenStarting" ) );
  KConfigSkeleton::ItemBool  *itemFlatSyncFocus;
  itemFlatSyncFocus = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "FlatSyncFocus" ), mFlatSyncFocus, false );
  addItem( itemFlatSyncFocus, QStringLiteral( "FlatSyncFocus" ) );
  KConfigSkeleton::ItemDouble  *itemHFRThresholdPercentage;
  itemHFRThresholdPercentage = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "HFRThresholdPercentage" ), mHFRThresholdPercentage, 2.5 );
  addItem( itemHFRThresholdPercentage, QStringLiteral( "HFRThresholdPercentage" ) );
  KConfigSkeleton::ItemBool  *itemUseMedianFocus;
  itemUseMedianFocus = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "UseMedianFocus" ), mUseMedianFocus, true );
  addItem( itemUseMedianFocus, QStringLiteral( "UseMedianFocus" ) );
  KConfigSkeleton::ItemBool  *itemSaveHFRToFile;
  itemSaveHFRToFile = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "SaveHFRToFile" ), mSaveHFRToFile, false );
  addItem( itemSaveHFRToFile, QStringLiteral( "SaveHFRToFile" ) );
  KConfigSkeleton::ItemUInt  *itemInSequenceCheckFrames;
  itemInSequenceCheckFrames = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "InSequenceCheckFrames" ), mInSequenceCheckFrames, 1 );
  addItem( itemInSequenceCheckFrames, QStringLiteral( "InSequenceCheckFrames" ) );
  KConfigSkeleton::ItemUInt  *itemDarkLibraryDuration;
  itemDarkLibraryDuration = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "DarkLibraryDuration" ), mDarkLibraryDuration, 30 );
  addItem( itemDarkLibraryDuration, QStringLiteral( "DarkLibraryDuration" ) );
  KConfigSkeleton::ItemBool  *itemAutoStretch;
  itemAutoStretch = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AutoStretch" ), mAutoStretch, true );
  addItem( itemAutoStretch, QStringLiteral( "AutoStretch" ) );
  KConfigSkeleton::ItemBool  *itemUseSummaryPreview;
  itemUseSummaryPreview = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "useSummaryPreview" ), mUseSummaryPreview, !KSUtils::isHardwareLimited() );
  addItem( itemUseSummaryPreview, QStringLiteral( "useSummaryPreview" ) );
  KConfigSkeleton::ItemBool  *itemUseDSLRImageViewer;
  itemUseDSLRImageViewer = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "useDSLRImageViewer" ), mUseDSLRImageViewer, !KSUtils::isHardwareLimited() );
  addItem( itemUseDSLRImageViewer, QStringLiteral( "useDSLRImageViewer" ) );
  KConfigSkeleton::ItemBool  *itemForceDSLRPresets;
  itemForceDSLRPresets = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ForceDSLRPresets" ), mForceDSLRPresets, true );
  addItem( itemForceDSLRPresets, QStringLiteral( "ForceDSLRPresets" ) );
  KConfigSkeleton::ItemUInt  *itemCaptureFormatIndex;
  itemCaptureFormatIndex = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "CaptureFormatIndex" ), mCaptureFormatIndex, 0 );
  addItem( itemCaptureFormatIndex, QStringLiteral( "CaptureFormatIndex" ) );
  KConfigSkeleton::ItemString  *itemCaptureDirectory;
  itemCaptureDirectory = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "CaptureDirectory" ), mCaptureDirectory, KSUtils::getDefaultPath("fitsDir") );
  addItem( itemCaptureDirectory, QStringLiteral( "CaptureDirectory" ) );
  KConfigSkeleton::ItemString  *itemRemoteCaptureDirectory;
  itemRemoteCaptureDirectory = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "RemoteCaptureDirectory" ), mRemoteCaptureDirectory );
  addItem( itemRemoteCaptureDirectory, QStringLiteral( "RemoteCaptureDirectory" ) );
  KConfigSkeleton::ItemUInt  *itemManualCoverTimeout;
  itemManualCoverTimeout = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "ManualCoverTimeout" ), mManualCoverTimeout, 60 );
  addItem( itemManualCoverTimeout, QStringLiteral( "ManualCoverTimeout" ) );
  KConfigSkeleton::ItemBool  *itemFileSettingsUseFilter;
  itemFileSettingsUseFilter = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "fileSettingsUseFilter" ), mFileSettingsUseFilter, false );
  addItem( itemFileSettingsUseFilter, QStringLiteral( "fileSettingsUseFilter" ) );
  KConfigSkeleton::ItemBool  *itemFileSettingsUseDuration;
  itemFileSettingsUseDuration = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "fileSettingsUseDuration" ), mFileSettingsUseDuration, false );
  addItem( itemFileSettingsUseDuration, QStringLiteral( "fileSettingsUseDuration" ) );
  KConfigSkeleton::ItemBool  *itemFileSettingsUseTimestamp;
  itemFileSettingsUseTimestamp = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "fileSettingsUseTimestamp" ), mFileSettingsUseTimestamp, false );
  addItem( itemFileSettingsUseTimestamp, QStringLiteral( "fileSettingsUseTimestamp" ) );

  setCurrentGroup( QStringLiteral( "Focus" ) );

  KConfigSkeleton::ItemString  *itemDefaultFocusCCD;
  itemDefaultFocusCCD = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "DefaultFocusCCD" ), mDefaultFocusCCD );
  addItem( itemDefaultFocusCCD, QStringLiteral( "DefaultFocusCCD" ) );
  KConfigSkeleton::ItemString  *itemDefaultFocusFocuser;
  itemDefaultFocusFocuser = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "DefaultFocusFocuser" ), mDefaultFocusFocuser );
  addItem( itemDefaultFocusFocuser, QStringLiteral( "DefaultFocusFocuser" ) );
  KConfigSkeleton::ItemString  *itemDefaultFocusFilterWheel;
  itemDefaultFocusFilterWheel = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "DefaultFocusFilterWheel" ), mDefaultFocusFilterWheel );
  addItem( itemDefaultFocusFilterWheel, QStringLiteral( "DefaultFocusFilterWheel" ) );
  KConfigSkeleton::ItemUInt  *itemFocusTicks;
  itemFocusTicks = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "FocusTicks" ), mFocusTicks, 100 );
  addItem( itemFocusTicks, QStringLiteral( "FocusTicks" ) );
  KConfigSkeleton::ItemDouble  *itemFocusSettleTime;
  itemFocusSettleTime = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "FocusSettleTime" ), mFocusSettleTime, 0 );
  addItem( itemFocusSettleTime, QStringLiteral( "FocusSettleTime" ) );
  KConfigSkeleton::ItemDouble  *itemGuideSettleTime;
  itemGuideSettleTime = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "GuideSettleTime" ), mGuideSettleTime, 0 );
  addItem( itemGuideSettleTime, QStringLiteral( "GuideSettleTime" ) );
  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  *itemFocusGain;
  itemFocusGain = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "FocusGain" ), mFocusGain, 0 );
  addItem( itemFocusGain, QStringLiteral( "FocusGain" ) );
  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  *itemFocusUseFullField;
  itemFocusUseFullField = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "FocusUseFullField" ), mFocusUseFullField, false );
  addItem( itemFocusUseFullField, QStringLiteral( "FocusUseFullField" ) );
  KConfigSkeleton::ItemDouble  *itemFocusFullFieldInnerRadius;
  itemFocusFullFieldInnerRadius = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "FocusFullFieldInnerRadius" ), mFocusFullFieldInnerRadius, 0.0 );
  addItem( itemFocusFullFieldInnerRadius, QStringLiteral( "FocusFullFieldInnerRadius" ) );
  KConfigSkeleton::ItemDouble  *itemFocusFullFieldOuterRadius;
  itemFocusFullFieldOuterRadius = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "FocusFullFieldOuterRadius" ), mFocusFullFieldOuterRadius, 100.0 );
  addItem( itemFocusFullFieldOuterRadius, QStringLiteral( "FocusFullFieldOuterRadius" ) );
  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  *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" ) );
  KConfigSkeleton::ItemUInt  *itemFocusFramesCount;
  itemFocusFramesCount = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "FocusFramesCount" ), mFocusFramesCount, 1 );
  addItem( itemFocusFramesCount, QStringLiteral( "FocusFramesCount" ) );
  KConfigSkeleton::ItemUInt  *itemFocusMaxSingleStep;
  itemFocusMaxSingleStep = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "FocusMaxSingleStep" ), mFocusMaxSingleStep, 100000 );
  addItem( itemFocusMaxSingleStep, QStringLiteral( "FocusMaxSingleStep" ) );
  KConfigSkeleton::ItemDouble  *itemFocusExposure;
  itemFocusExposure = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "FocusExposure" ), mFocusExposure, 1 );
  addItem( itemFocusExposure, QStringLiteral( "FocusExposure" ) );

  setCurrentGroup( QStringLiteral( "Align" ) );

  KConfigSkeleton::ItemString  *itemDefaultAlignCCD;
  itemDefaultAlignCCD = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "DefaultAlignCCD" ), mDefaultAlignCCD );
  addItem( itemDefaultAlignCCD, QStringLiteral( "DefaultAlignCCD" ) );
  KConfigSkeleton::ItemString  *itemDefaultAlignFilterWheel;
  itemDefaultAlignFilterWheel = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "DefaultAlignFilterWheel" ), mDefaultAlignFilterWheel );
  addItem( itemDefaultAlignFilterWheel, QStringLiteral( "DefaultAlignFilterWheel" ) );
  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, 4 );
  addItem( itemSolverBinningIndex, QStringLiteral( "SolverBinningIndex" ) );
  KConfigSkeleton::ItemBool  *itemAstrometryUseRotator;
  itemAstrometryUseRotator = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AstrometryUseRotator" ), mAstrometryUseRotator, false );
  addItem( itemAstrometryUseRotator, QStringLiteral( "AstrometryUseRotator" ) );
  KConfigSkeleton::ItemDouble  *itemAstrometryRotatorThreshold;
  itemAstrometryRotatorThreshold = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "AstrometryRotatorThreshold" ), mAstrometryRotatorThreshold, 30 );
  addItem( itemAstrometryRotatorThreshold, QStringLiteral( "AstrometryRotatorThreshold" ) );
  KConfigSkeleton::ItemUInt  *itemSolverBackend;
  itemSolverBackend = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "SolverBackend" ), mSolverBackend, 1 );
  addItem( itemSolverBackend, QStringLiteral( "SolverBackend" ) );
  KConfigSkeleton::ItemUInt  *itemAstrometrySolverType;
  itemAstrometrySolverType = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "AstrometrySolverType" ), mAstrometrySolverType, 0 );
  addItem( itemAstrometrySolverType, QStringLiteral( "AstrometrySolverType" ) );
  KConfigSkeleton::ItemUInt  *itemSolverScopeType;
  itemSolverScopeType = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "SolverScopeType" ), mSolverScopeType, 0 );
  addItem( itemSolverScopeType, QStringLiteral( "SolverScopeType" ) );
  KConfigSkeleton::ItemUInt  *itemSolverGotoOption;
  itemSolverGotoOption = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "SolverGotoOption" ), mSolverGotoOption, 1 );
  addItem( itemSolverGotoOption, QStringLiteral( "SolverGotoOption" ) );
  KConfigSkeleton::ItemBool  *itemAstrometrySolverWCS;
  itemAstrometrySolverWCS = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AstrometrySolverWCS" ), mAstrometrySolverWCS, true );
  addItem( itemAstrometrySolverWCS, QStringLiteral( "AstrometrySolverWCS" ) );
  KConfigSkeleton::ItemBool  *itemAstrometrySolverOverlay;
  itemAstrometrySolverOverlay = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AstrometrySolverOverlay" ), mAstrometrySolverOverlay, false );
  addItem( itemAstrometrySolverOverlay, QStringLiteral( "AstrometrySolverOverlay" ) );
  KConfigSkeleton::ItemBool  *itemAstrometryDifferentialSlewing;
  itemAstrometryDifferentialSlewing = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AstrometryDifferentialSlewing" ), mAstrometryDifferentialSlewing, false );
  addItem( itemAstrometryDifferentialSlewing, QStringLiteral( "AstrometryDifferentialSlewing" ) );
  KConfigSkeleton::ItemUInt  *itemSolverAccuracyThreshold;
  itemSolverAccuracyThreshold = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "SolverAccuracyThreshold" ), mSolverAccuracyThreshold, 30 );
  addItem( itemSolverAccuracyThreshold, QStringLiteral( "SolverAccuracyThreshold" ) );
  KConfigSkeleton::ItemUInt  *itemLockAlignFilterIndex;
  itemLockAlignFilterIndex = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "LockAlignFilterIndex" ), mLockAlignFilterIndex, 0 );
  addItem( itemLockAlignFilterIndex, QStringLiteral( "LockAlignFilterIndex" ) );
  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, false );
  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  *itemAstrometryAutoDownsample;
  itemAstrometryAutoDownsample = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "AstrometryAutoDownsample" ), mAstrometryAutoDownsample, true );
  addItem( itemAstrometryAutoDownsample, QStringLiteral( "AstrometryAutoDownsample" ) );
  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, false );
  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, true );
  addItem( itemAstrometryConfFileIsInternal, QStringLiteral( "AstrometryConfFileIsInternal" ) );
  KConfigSkeleton::ItemBool  *itemUseDefaultPython;
  itemUseDefaultPython = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "UseDefaultPython" ), mUseDefaultPython, true );
  addItem( itemUseDefaultPython, QStringLiteral( "UseDefaultPython" ) );
  KConfigSkeleton::ItemString  *itemPythonExecPath;
  itemPythonExecPath = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "PythonExecPath" ), mPythonExecPath, QStringLiteral( "/usr/local/opt/python/libexec/bin" ) );
  addItem( itemPythonExecPath, QStringLiteral( "PythonExecPath" ) );
  KConfigSkeleton::ItemBool  *itemUseSextractor;
  itemUseSextractor = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "UseSextractor" ), mUseSextractor, false );
  addItem( itemUseSextractor, QStringLiteral( "UseSextractor" ) );
  KConfigSkeleton::ItemBool  *itemSextractorIsInternal;
  itemSextractorIsInternal = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "SextractorIsInternal" ), mSextractorIsInternal, false );
  addItem( itemSextractorIsInternal, QStringLiteral( "SextractorIsInternal" ) );
  KConfigSkeleton::ItemString  *itemSextractorBinary;
  itemSextractorBinary = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "SextractorBinary" ), mSextractorBinary, KSUtils::getDefaultPath("SextractorBinary") );
  addItem( itemSextractorBinary, QStringLiteral( "SextractorBinary" ) );
  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" ) );
  KConfigSkeleton::ItemInt  *itemPAHMountSpeedIndex;
  itemPAHMountSpeedIndex = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "PAHMountSpeedIndex" ), mPAHMountSpeedIndex, -1 );
  addItem( itemPAHMountSpeedIndex, QStringLiteral( "PAHMountSpeedIndex" ) );
  KConfigSkeleton::ItemBool  *itemPAHAutoPark;
  itemPAHAutoPark = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "PAHAutoPark" ), mPAHAutoPark, true );
  addItem( itemPAHAutoPark, QStringLiteral( "PAHAutoPark" ) );
  KConfigSkeleton::ItemBool  *itemPAHFlipCorrectionVector;
  itemPAHFlipCorrectionVector = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "PAHFlipCorrectionVector" ), mPAHFlipCorrectionVector, false );
  addItem( itemPAHFlipCorrectionVector, QStringLiteral( "PAHFlipCorrectionVector" ) );

  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  *itemGuideScopeType;
  itemGuideScopeType = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "GuideScopeType" ), mGuideScopeType, 0 );
  addItem( itemGuideScopeType, QStringLiteral( "GuideScopeType" ) );
  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::ItemUInt  *itemAutoModeIterations;
  itemAutoModeIterations = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "AutoModeIterations" ), mAutoModeIterations, 3 );
  addItem( itemAutoModeIterations, QStringLiteral( "AutoModeIterations" ) );
  KConfigSkeleton::ItemUInt  *itemGuideLostStarTimeout;
  itemGuideLostStarTimeout = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "GuideLostStarTimeout" ), mGuideLostStarTimeout, 60 );
  addItem( itemGuideLostStarTimeout, QStringLiteral( "GuideLostStarTimeout" ) );
  KConfigSkeleton::ItemDouble  *itemGuideMaxDeltaRMS;
  itemGuideMaxDeltaRMS = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "GuideMaxDeltaRMS" ), mGuideMaxDeltaRMS, 10 );
  addItem( itemGuideMaxDeltaRMS, QStringLiteral( "GuideMaxDeltaRMS" ) );
  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::ItemUInt  *itemDitherNoGuidingPulse;
  itemDitherNoGuidingPulse = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "DitherNoGuidingPulse" ), mDitherNoGuidingPulse, 500 );
  addItem( itemDitherNoGuidingPulse, QStringLiteral( "DitherNoGuidingPulse" ) );
  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::ItemBool  *itemDitherNoGuiding;
  itemDitherNoGuiding = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "DitherNoGuiding" ), mDitherNoGuiding, false );
  addItem( itemDitherNoGuiding, QStringLiteral( "DitherNoGuiding" ) );
  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" ) );
  KConfigSkeleton::ItemUInt  *itemGuiderAccuracyThreshold;
  itemGuiderAccuracyThreshold = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "GuiderAccuracyThreshold" ), mGuiderAccuracyThreshold, 2 );
  addItem( itemGuiderAccuracyThreshold, QStringLiteral( "GuiderAccuracyThreshold" ) );
  KConfigSkeleton::ItemBool  *itemRADisplayedOnGuideGraph;
  itemRADisplayedOnGuideGraph = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "RADisplayedOnGuideGraph" ), mRADisplayedOnGuideGraph, true );
  addItem( itemRADisplayedOnGuideGraph, QStringLiteral( "RADisplayedOnGuideGraph" ) );
  KConfigSkeleton::ItemBool  *itemDEDisplayedOnGuideGraph;
  itemDEDisplayedOnGuideGraph = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "DEDisplayedOnGuideGraph" ), mDEDisplayedOnGuideGraph, true );
  addItem( itemDEDisplayedOnGuideGraph, QStringLiteral( "DEDisplayedOnGuideGraph" ) );
  KConfigSkeleton::ItemBool  *itemRACorrDisplayedOnGuideGraph;
  itemRACorrDisplayedOnGuideGraph = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "RACorrDisplayedOnGuideGraph" ), mRACorrDisplayedOnGuideGraph, false );
  addItem( itemRACorrDisplayedOnGuideGraph, QStringLiteral( "RACorrDisplayedOnGuideGraph" ) );
  KConfigSkeleton::ItemBool  *itemDECorrDisplayedOnGuideGraph;
  itemDECorrDisplayedOnGuideGraph = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "DECorrDisplayedOnGuideGraph" ), mDECorrDisplayedOnGuideGraph, false );
  addItem( itemDECorrDisplayedOnGuideGraph, QStringLiteral( "DECorrDisplayedOnGuideGraph" ) );

  setCurrentGroup( QStringLiteral( "Scheduler" ) );

  KConfigSkeleton::ItemBool  *itemSchedulerLogging;
  itemSchedulerLogging = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "SchedulerLogging" ), mSchedulerLogging, false );
  addItem( itemSchedulerLogging, QStringLiteral( "SchedulerLogging" ) );
  KConfigSkeleton::ItemBool  *itemSortSchedulerJobs;
  itemSortSchedulerJobs = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "SortSchedulerJobs" ), mSortSchedulerJobs, true );
  addItem( itemSortSchedulerJobs, QStringLiteral( "SortSchedulerJobs" ) );
  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::ItemBool  *itemResetMountModelOnAlignFail;
  itemResetMountModelOnAlignFail = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ResetMountModelOnAlignFail" ), mResetMountModelOnAlignFail, false );
  addItem( itemResetMountModelOnAlignFail, QStringLiteral( "ResetMountModelOnAlignFail" ) );
  KConfigSkeleton::ItemBool  *itemResetMountModelBeforeJob;
  itemResetMountModelBeforeJob = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ResetMountModelBeforeJob" ), mResetMountModelBeforeJob, false );
  addItem( itemResetMountModelBeforeJob, QStringLiteral( "ResetMountModelBeforeJob" ) );
  KConfigSkeleton::ItemBool  *itemResetGuideCalibration;
  itemResetGuideCalibration = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ResetGuideCalibration" ), mResetGuideCalibration, true );
  addItem( itemResetGuideCalibration, QStringLiteral( "ResetGuideCalibration" ) );
  KConfigSkeleton::ItemBool  *itemRealignAfterCalibrationFailure;
  itemRealignAfterCalibrationFailure = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "RealignAfterCalibrationFailure" ), mRealignAfterCalibrationFailure, false );
  addItem( itemRealignAfterCalibrationFailure, QStringLiteral( "RealignAfterCalibrationFailure" ) );
  KConfigSkeleton::ItemDouble  *itemPreemptiveShutdownTime;
  itemPreemptiveShutdownTime = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "PreemptiveShutdownTime" ), mPreemptiveShutdownTime, 2 );
  addItem( itemPreemptiveShutdownTime, QStringLiteral( "PreemptiveShutdownTime" ) );
  KConfigSkeleton::ItemBool  *itemRememberJobProgress;
  itemRememberJobProgress = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "RememberJobProgress" ), mRememberJobProgress, true );
  addItem( itemRememberJobProgress, QStringLiteral( "RememberJobProgress" ) );
  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  *itemSettingAltitudeCutoff;
  itemSettingAltitudeCutoff = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "SettingAltitudeCutoff" ), mSettingAltitudeCutoff, 3 );
  addItem( itemSettingAltitudeCutoff, QStringLiteral( "SettingAltitudeCutoff" ) );
  KConfigSkeleton::ItemDouble  *itemDawnOffset;
  itemDawnOffset = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "DawnOffset" ), mDawnOffset, 0 );
  addItem( itemDawnOffset, QStringLiteral( "DawnOffset" ) );
  KConfigSkeleton::ItemDouble  *itemDuskOffset;
  itemDuskOffset = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "DuskOffset" ), mDuskOffset, 0 );
  addItem( itemDuskOffset, QStringLiteral( "DuskOffset" ) );
  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" ) );
  KConfigSkeleton::ItemUInt  *itemErrorHandlingStrategy;
  itemErrorHandlingStrategy = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "ErrorHandlingStrategy" ), mErrorHandlingStrategy, 1 );
  addItem( itemErrorHandlingStrategy, QStringLiteral( "ErrorHandlingStrategy" ) );
  KConfigSkeleton::ItemUInt  *itemErrorHandlingStrategyDelay;
  itemErrorHandlingStrategyDelay = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "ErrorHandlingStrategyDelay" ), mErrorHandlingStrategyDelay, 0 );
  addItem( itemErrorHandlingStrategyDelay, QStringLiteral( "ErrorHandlingStrategyDelay" ) );
  KConfigSkeleton::ItemBool  *itemRescheduleErrors;
  itemRescheduleErrors = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "RescheduleErrors" ), mRescheduleErrors, false );
  addItem( itemRescheduleErrors, QStringLiteral( "RescheduleErrors" ) );

  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" ) );
  KConfigSkeleton::ItemUInt  *itemLastWebManagerPort;
  itemLastWebManagerPort = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "LastWebManagerPort" ), mLastWebManagerPort, 8624 );
  addItem( itemLastWebManagerPort, QStringLiteral( "LastWebManagerPort" ) );

  setCurrentGroup( QStringLiteral( "HIPS" ) );

  KConfigSkeleton::ItemUInt  *itemHIPSMemoryCache;
  itemHIPSMemoryCache = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "HIPSMemoryCache" ), mHIPSMemoryCache, 300 );
  addItem( itemHIPSMemoryCache, QStringLiteral( "HIPSMemoryCache" ) );
  KConfigSkeleton::ItemUInt  *itemHIPSNetCache;
  itemHIPSNetCache = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "HIPSNetCache" ), mHIPSNetCache, 1000 );
  addItem( itemHIPSNetCache, QStringLiteral( "HIPSNetCache" ) );
  KConfigSkeleton::ItemString  *itemHIPSSource;
  itemHIPSSource = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "HIPSSource" ), mHIPSSource, QStringLiteral( "None" ) );
  addItem( itemHIPSSource, QStringLiteral( "HIPSSource" ) );
  KConfigSkeleton::ItemBool  *itemHIPSBiLinearInterpolation;
  itemHIPSBiLinearInterpolation = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "HIPSBiLinearInterpolation" ), mHIPSBiLinearInterpolation, false );
  addItem( itemHIPSBiLinearInterpolation, QStringLiteral( "HIPSBiLinearInterpolation" ) );
  KConfigSkeleton::ItemBool  *itemHIPSShowGrid;
  itemHIPSShowGrid = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "HIPSShowGrid" ), mHIPSShowGrid, false );
  addItem( itemHIPSShowGrid, QStringLiteral( "HIPSShowGrid" ) );
  KConfigSkeleton::ItemBool  *itemHIPSPanning;
  itemHIPSPanning = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "HIPSPanning" ), mHIPSPanning, false );
  addItem( itemHIPSPanning, QStringLiteral( "HIPSPanning" ) );
  KConfigSkeleton::ItemBool  *itemShowHIPS;
  itemShowHIPS = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ShowHIPS" ), mShowHIPS, false );
  addItem( itemShowHIPS, QStringLiteral( "ShowHIPS" ) );

  setCurrentGroup( QStringLiteral( "Observatory" ) );

  KConfigSkeleton::ItemBool  *itemWarningActionsActive;
  itemWarningActionsActive = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "warningActionsActive" ), mWarningActionsActive, true );
  addItem( itemWarningActionsActive, QStringLiteral( "warningActionsActive" ) );
  KConfigSkeleton::ItemBool  *itemAlertActionsActive;
  itemAlertActionsActive = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "alertActionsActive" ), mAlertActionsActive, true );
  addItem( itemAlertActionsActive, QStringLiteral( "alertActionsActive" ) );
  KConfigSkeleton::ItemBool  *itemWeatherWarningCloseDome;
  itemWeatherWarningCloseDome = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "weatherWarningCloseDome" ), mWeatherWarningCloseDome, false );
  addItem( itemWeatherWarningCloseDome, QStringLiteral( "weatherWarningCloseDome" ) );
  KConfigSkeleton::ItemBool  *itemWeatherWarningCloseShutter;
  itemWeatherWarningCloseShutter = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "weatherWarningCloseShutter" ), mWeatherWarningCloseShutter, false );
  addItem( itemWeatherWarningCloseShutter, QStringLiteral( "weatherWarningCloseShutter" ) );
  KConfigSkeleton::ItemBool  *itemWeatherWarningStopScheduler;
  itemWeatherWarningStopScheduler = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "weatherWarningStopScheduler" ), mWeatherWarningStopScheduler, true );
  addItem( itemWeatherWarningStopScheduler, QStringLiteral( "weatherWarningStopScheduler" ) );
  KConfigSkeleton::ItemUInt  *itemWeatherWarningDelay;
  itemWeatherWarningDelay = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "weatherWarningDelay" ), mWeatherWarningDelay, 600 );
  addItem( itemWeatherWarningDelay, QStringLiteral( "weatherWarningDelay" ) );
  KConfigSkeleton::ItemBool  *itemWeatherAlertCloseDome;
  itemWeatherAlertCloseDome = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "weatherAlertCloseDome" ), mWeatherAlertCloseDome, true );
  addItem( itemWeatherAlertCloseDome, QStringLiteral( "weatherAlertCloseDome" ) );
  KConfigSkeleton::ItemBool  *itemWeatherAlertCloseShutter;
  itemWeatherAlertCloseShutter = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "weatherAlertCloseShutter" ), mWeatherAlertCloseShutter, true );
  addItem( itemWeatherAlertCloseShutter, QStringLiteral( "weatherAlertCloseShutter" ) );
  KConfigSkeleton::ItemBool  *itemWeatherAlertStopScheduler;
  itemWeatherAlertStopScheduler = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "weatherAlertStopScheduler" ), mWeatherAlertStopScheduler, true );
  addItem( itemWeatherAlertStopScheduler, QStringLiteral( "weatherAlertStopScheduler" ) );
  KConfigSkeleton::ItemUInt  *itemWeatherAlertDelay;
  itemWeatherAlertDelay = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "weatherAlertDelay" ), mWeatherAlertDelay, 30 );
  addItem( itemWeatherAlertDelay, QStringLiteral( "weatherAlertDelay" ) );
  KConfigSkeleton::ItemBool  *itemObservatoryStatusUseDome;
  itemObservatoryStatusUseDome = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "observatoryStatusUseDome" ), mObservatoryStatusUseDome, true );
  addItem( itemObservatoryStatusUseDome, QStringLiteral( "observatoryStatusUseDome" ) );
  KConfigSkeleton::ItemBool  *itemObservatoryStatusUseShutter;
  itemObservatoryStatusUseShutter = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "observatoryStatusUseShutter" ), mObservatoryStatusUseShutter, true );
  addItem( itemObservatoryStatusUseShutter, QStringLiteral( "observatoryStatusUseShutter" ) );
  KConfigSkeleton::ItemBool  *itemObservatoryStatusUseWeather;
  itemObservatoryStatusUseWeather = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "observatoryStatusUseWeather" ), mObservatoryStatusUseWeather, true );
  addItem( itemObservatoryStatusUseWeather, QStringLiteral( "observatoryStatusUseWeather" ) );
  KConfigSkeleton::ItemBool  *itemWeatherAutoScaleValues;
  itemWeatherAutoScaleValues = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "weatherAutoScaleValues" ), mWeatherAutoScaleValues, true );
  addItem( itemWeatherAutoScaleValues, QStringLiteral( "weatherAutoScaleValues" ) );

  setCurrentGroup( QStringLiteral( "ASTAP" ) );

  KConfigSkeleton::ItemString  *itemASTAPExecutable;
  itemASTAPExecutable = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "ASTAPExecutable" ), mASTAPExecutable, KSUtils::getDefaultPath("ASTAP") );
  addItem( itemASTAPExecutable, QStringLiteral( "ASTAPExecutable" ) );
  KConfigSkeleton::ItemBool  *itemASTAPDownSample;
  itemASTAPDownSample = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ASTAPDownSample" ), mASTAPDownSample, false );
  addItem( itemASTAPDownSample, QStringLiteral( "ASTAPDownSample" ) );
  KConfigSkeleton::ItemDouble  *itemASTAPDownSampleValue;
  itemASTAPDownSampleValue = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "ASTAPDownSampleValue" ), mASTAPDownSampleValue, 0 );
  addItem( itemASTAPDownSampleValue, QStringLiteral( "ASTAPDownSampleValue" ) );
  KConfigSkeleton::ItemBool  *itemASTAPSearchRadius;
  itemASTAPSearchRadius = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ASTAPSearchRadius" ), mASTAPSearchRadius, true );
  addItem( itemASTAPSearchRadius, QStringLiteral( "ASTAPSearchRadius" ) );
  KConfigSkeleton::ItemDouble  *itemASTAPSearchRadiusValue;
  itemASTAPSearchRadiusValue = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "ASTAPSearchRadiusValue" ), mASTAPSearchRadiusValue, 30 );
  addItem( itemASTAPSearchRadiusValue, QStringLiteral( "ASTAPSearchRadiusValue" ) );
  KConfigSkeleton::ItemBool  *itemASTAPUpdateFITS;
  itemASTAPUpdateFITS = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ASTAPUpdateFITS" ), mASTAPUpdateFITS, false );
  addItem( itemASTAPUpdateFITS, QStringLiteral( "ASTAPUpdateFITS" ) );
  KConfigSkeleton::ItemBool  *itemASTAPLargeSearchWindow;
  itemASTAPLargeSearchWindow = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "ASTAPLargeSearchWindow" ), mASTAPLargeSearchWindow, false );
  addItem( itemASTAPLargeSearchWindow, QStringLiteral( "ASTAPLargeSearchWindow" ) );
}

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

