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

#include "Options.h"

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

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

  return s_globalOptions()->q;
}

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

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

  setCurrentGroup( QLatin1String( "Catalogs" ) );

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

  KConfigSkeleton::ItemIntList  *itemShowCatalog;
  itemShowCatalog = new KConfigSkeleton::ItemIntList( currentGroup(), QLatin1String( "ShowCatalog" ), mShowCatalog, defaultShowCatalog );
  addItem( itemShowCatalog, QLatin1String( "ShowCatalog" ) );
  KConfigSkeleton::ItemStringList  *itemShowCatalogNames;
  itemShowCatalogNames = new KConfigSkeleton::ItemStringList( currentGroup(), QLatin1String( "ShowCatalogNames" ), mShowCatalogNames );
  addItem( itemShowCatalogNames, QLatin1String( "ShowCatalogNames" ) );

  setCurrentGroup( QLatin1String( "indi" ) );

  KConfigSkeleton::ItemBool  *itemUseGeographicUpdate;
  itemUseGeographicUpdate = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "useGeographicUpdate" ), mUseGeographicUpdate, true );
  addItem( itemUseGeographicUpdate, QLatin1String( "useGeographicUpdate" ) );
  KConfigSkeleton::ItemBool  *itemUseTimeUpdate;
  itemUseTimeUpdate = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "useTimeUpdate" ), mUseTimeUpdate, true );
  addItem( itemUseTimeUpdate, QLatin1String( "useTimeUpdate" ) );
  KConfigSkeleton::ItemBool  *itemShowTargetCrosshair;
  itemShowTargetCrosshair = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "showTargetCrosshair" ), mShowTargetCrosshair, true );
  addItem( itemShowTargetCrosshair, QLatin1String( "showTargetCrosshair" ) );
  KConfigSkeleton::ItemBool  *itemShowINDIMessages;
  itemShowINDIMessages = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "showINDIMessages" ), mShowINDIMessages, true );
  addItem( itemShowINDIMessages, QLatin1String( "showINDIMessages" ) );
  KConfigSkeleton::ItemBool  *itemShowFITS;
  itemShowFITS = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "showFITS" ), mShowFITS, true );
  addItem( itemShowFITS, QLatin1String( "showFITS" ) );
  KConfigSkeleton::ItemBool  *itemSinglePreviewFITS;
  itemSinglePreviewFITS = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "singlePreviewFITS" ), mSinglePreviewFITS, true );
  addItem( itemSinglePreviewFITS, QLatin1String( "singlePreviewFITS" ) );
  KConfigSkeleton::ItemBool  *itemSingleWindowFITS;
  itemSingleWindowFITS = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "singleWindowFITS" ), mSingleWindowFITS, false );
  addItem( itemSingleWindowFITS, QLatin1String( "singleWindowFITS" ) );
  KConfigSkeleton::ItemString  *itemTelescopePort;
  itemTelescopePort = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "telescopePort" ), mTelescopePort, QLatin1String( "/dev/ttyUSB0" ) );
  addItem( itemTelescopePort, QLatin1String( "telescopePort" ) );
  KConfigSkeleton::ItemString  *itemFocuserPort;
  itemFocuserPort = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "focuserPort" ), mFocuserPort, QLatin1String( "/dev/ttyUSB1" ) );
  addItem( itemFocuserPort, QLatin1String( "focuserPort" ) );
  KConfigSkeleton::ItemString  *itemFilterPort;
  itemFilterPort = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "filterPort" ), mFilterPort, QLatin1String( "/dev/ttyUSB2" ) );
  addItem( itemFilterPort, QLatin1String( "filterPort" ) );
  KConfigSkeleton::ItemString  *itemAuxPort;
  itemAuxPort = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "auxPort" ), mAuxPort );
  addItem( itemAuxPort, QLatin1String( "auxPort" ) );
  KConfigSkeleton::ItemString  *itemVideoPort;
  itemVideoPort = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "videoPort" ), mVideoPort, QLatin1String( "/dev/video0" ) );
  addItem( itemVideoPort, QLatin1String( "videoPort" ) );
  KConfigSkeleton::ItemBool  *itemUseComputerSource;
  itemUseComputerSource = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "useComputerSource" ), mUseComputerSource, true );
  addItem( itemUseComputerSource, QLatin1String( "useComputerSource" ) );
  KConfigSkeleton::ItemBool  *itemUseDeviceSource;
  itemUseDeviceSource = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "useDeviceSource" ), mUseDeviceSource, false );
  addItem( itemUseDeviceSource, QLatin1String( "useDeviceSource" ) );
  KConfigSkeleton::ItemString  *itemFitsDir;
  itemFitsDir = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "fitsDir" ), mFitsDir );
  addItem( itemFitsDir, QLatin1String( "fitsDir" ) );
  KConfigSkeleton::ItemString  *itemServerPortStart;
  itemServerPortStart = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "serverPortStart" ), mServerPortStart, QLatin1String( "7624" ) );
  addItem( itemServerPortStart, QLatin1String( "serverPortStart" ) );
  KConfigSkeleton::ItemString  *itemServerPortEnd;
  itemServerPortEnd = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "serverPortEnd" ), mServerPortEnd, QLatin1String( "9000" ) );
  addItem( itemServerPortEnd, QLatin1String( "serverPortEnd" ) );
  KConfigSkeleton::ItemStringList  *itemFilterAlias;
  itemFilterAlias = new KConfigSkeleton::ItemStringList( currentGroup(), QLatin1String( "filterAlias" ), mFilterAlias );
  addItem( itemFilterAlias, QLatin1String( "filterAlias" ) );
  KConfigSkeleton::ItemString  *itemIndiServer;
  itemIndiServer = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "indiServer" ), mIndiServer, QLatin1String( "/usr/bin/indiserver" ) );
  addItem( itemIndiServer, QLatin1String( "indiServer" ) );
  KConfigSkeleton::ItemString  *itemIndiDriversDir;
  itemIndiDriversDir = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "indiDriversDir" ), mIndiDriversDir, QLatin1String( "/usr/share/indi" ) );
  addItem( itemIndiDriversDir, QLatin1String( "indiDriversDir" ) );

  setCurrentGroup( QLatin1String( "Location" ) );

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

  setCurrentGroup( QLatin1String( "View" ) );

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

  setCurrentGroup( QLatin1String( "ObservingList" ) );

  KConfigSkeleton::ItemBool  *itemObsListSymbol;
  itemObsListSymbol = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ObsListSymbol" ), mObsListSymbol, true );
  addItem( itemObsListSymbol, QLatin1String( "ObsListSymbol" ) );
  KConfigSkeleton::ItemBool  *itemObsListText;
  itemObsListText = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ObsListText" ), mObsListText, false );
  addItem( itemObsListText, QLatin1String( "ObsListText" ) );
  KConfigSkeleton::ItemBool  *itemObsListSaveImage;
  itemObsListSaveImage = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ObsListSaveImage" ), mObsListSaveImage, false );
  addItem( itemObsListSaveImage, QLatin1String( "ObsListSaveImage" ) );
  KConfigSkeleton::ItemBool  *itemObsListPreferDSS;
  itemObsListPreferDSS = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ObsListPreferDSS" ), mObsListPreferDSS, true );
  addItem( itemObsListPreferDSS, QLatin1String( "ObsListPreferDSS" ) );
  KConfigSkeleton::ItemBool  *itemObsListPreferSDSS;
  itemObsListPreferSDSS = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ObsListPreferSDSS" ), mObsListPreferSDSS, false );
  addItem( itemObsListPreferSDSS, QLatin1String( "ObsListPreferSDSS" ) );

  setCurrentGroup( QLatin1String( "Colors" ) );

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

  setCurrentGroup( QLatin1String( "Xplanet" ) );

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

  setCurrentGroup( QLatin1String( "Satellites" ) );

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

  setCurrentGroup( QLatin1String( "General" ) );

  KConfigSkeleton::ItemBool  *itemAlwaysRecomputeCoordinates;
  itemAlwaysRecomputeCoordinates = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "AlwaysRecomputeCoordinates" ), mAlwaysRecomputeCoordinates, true );
  addItem( itemAlwaysRecomputeCoordinates, QLatin1String( "AlwaysRecomputeCoordinates" ) );
  KConfigSkeleton::ItemDouble  *itemDefaultDSSImageSize;
  itemDefaultDSSImageSize = new KConfigSkeleton::ItemDouble( currentGroup(), QLatin1String( "DefaultDSSImageSize" ), mDefaultDSSImageSize, 15.0 );
  addItem( itemDefaultDSSImageSize, QLatin1String( "DefaultDSSImageSize" ) );
  KConfigSkeleton::ItemDouble  *itemDSSPadding;
  itemDSSPadding = new KConfigSkeleton::ItemDouble( currentGroup(), QLatin1String( "DSSPadding" ), mDSSPadding, 10.0 );
  addItem( itemDSSPadding, QLatin1String( "DSSPadding" ) );

  setCurrentGroup( QLatin1String( "WISettings" ) );

  KConfigSkeleton::ItemUInt  *itemBortleClass;
  itemBortleClass = new KConfigSkeleton::ItemUInt( currentGroup(), QLatin1String( "BortleClass" ), mBortleClass, 4 );
  addItem( itemBortleClass, QLatin1String( "BortleClass" ) );
  KConfigSkeleton::ItemBool  *itemTelescopeCheck;
  itemTelescopeCheck = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "TelescopeCheck" ), mTelescopeCheck, false );
  addItem( itemTelescopeCheck, QLatin1String( "TelescopeCheck" ) );
  KConfigSkeleton::ItemBool  *itemBinocularsCheck;
  itemBinocularsCheck = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "BinocularsCheck" ), mBinocularsCheck, false );
  addItem( itemBinocularsCheck, QLatin1String( "BinocularsCheck" ) );
  KConfigSkeleton::ItemBool  *itemNoEquipCheck;
  itemNoEquipCheck = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "NoEquipCheck" ), mNoEquipCheck, false );
  addItem( itemNoEquipCheck, QLatin1String( "NoEquipCheck" ) );
  KConfigSkeleton::ItemDouble  *itemBinocularsAperture;
  itemBinocularsAperture = new KConfigSkeleton::ItemDouble( currentGroup(), QLatin1String( "BinocularsAperture" ), mBinocularsAperture, 40.0 );
  addItem( itemBinocularsAperture, QLatin1String( "BinocularsAperture" ) );
  KConfigSkeleton::ItemUInt  *itemScopeListWidget;
  itemScopeListWidget = new KConfigSkeleton::ItemUInt( currentGroup(), QLatin1String( "ScopeListWidget" ), mScopeListWidget, 0 );
  addItem( itemScopeListWidget, QLatin1String( "ScopeListWidget" ) );

  setCurrentGroup( QLatin1String( "Ekos" ) );

  KConfigSkeleton::ItemString  *itemTelescopeDriver;
  itemTelescopeDriver = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "TelescopeDriver" ), mTelescopeDriver );
  addItem( itemTelescopeDriver, QLatin1String( "TelescopeDriver" ) );
  KConfigSkeleton::ItemString  *itemCCDDriver;
  itemCCDDriver = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "CCDDriver" ), mCCDDriver );
  addItem( itemCCDDriver, QLatin1String( "CCDDriver" ) );
  KConfigSkeleton::ItemString  *itemGuiderDriver;
  itemGuiderDriver = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "GuiderDriver" ), mGuiderDriver );
  addItem( itemGuiderDriver, QLatin1String( "GuiderDriver" ) );
  KConfigSkeleton::ItemString  *itemFilterDriver;
  itemFilterDriver = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "FilterDriver" ), mFilterDriver );
  addItem( itemFilterDriver, QLatin1String( "FilterDriver" ) );
  KConfigSkeleton::ItemString  *itemFocuserDriver;
  itemFocuserDriver = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "FocuserDriver" ), mFocuserDriver );
  addItem( itemFocuserDriver, QLatin1String( "FocuserDriver" ) );
  KConfigSkeleton::ItemString  *itemAuxDriver;
  itemAuxDriver = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "AuxDriver" ), mAuxDriver );
  addItem( itemAuxDriver, QLatin1String( "AuxDriver" ) );
  KConfigSkeleton::ItemString  *itemDomeDriver;
  itemDomeDriver = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "DomeDriver" ), mDomeDriver );
  addItem( itemDomeDriver, QLatin1String( "DomeDriver" ) );
  KConfigSkeleton::ItemString  *itemAODriver;
  itemAODriver = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "AODriver" ), mAODriver );
  addItem( itemAODriver, QLatin1String( "AODriver" ) );
  KConfigSkeleton::ItemString  *itemRemoteScopeName;
  itemRemoteScopeName = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "remoteScopeName" ), mRemoteScopeName );
  addItem( itemRemoteScopeName, QLatin1String( "remoteScopeName" ) );
  KConfigSkeleton::ItemString  *itemRemoteCCDName;
  itemRemoteCCDName = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "remoteCCDName" ), mRemoteCCDName );
  addItem( itemRemoteCCDName, QLatin1String( "remoteCCDName" ) );
  KConfigSkeleton::ItemString  *itemRemoteGuiderName;
  itemRemoteGuiderName = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "remoteGuiderName" ), mRemoteGuiderName );
  addItem( itemRemoteGuiderName, QLatin1String( "remoteGuiderName" ) );
  KConfigSkeleton::ItemString  *itemRemoteFocuserName;
  itemRemoteFocuserName = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "remoteFocuserName" ), mRemoteFocuserName );
  addItem( itemRemoteFocuserName, QLatin1String( "remoteFocuserName" ) );
  KConfigSkeleton::ItemString  *itemRemoteFilterName;
  itemRemoteFilterName = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "remoteFilterName" ), mRemoteFilterName );
  addItem( itemRemoteFilterName, QLatin1String( "remoteFilterName" ) );
  KConfigSkeleton::ItemString  *itemRemoteAuxName;
  itemRemoteAuxName = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "remoteAuxName" ), mRemoteAuxName );
  addItem( itemRemoteAuxName, QLatin1String( "remoteAuxName" ) );
  KConfigSkeleton::ItemString  *itemRemoteDomeName;
  itemRemoteDomeName = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "remoteDomeName" ), mRemoteDomeName );
  addItem( itemRemoteDomeName, QLatin1String( "remoteDomeName" ) );
  KConfigSkeleton::ItemString  *itemRemoteAOName;
  itemRemoteAOName = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "remoteAOName" ), mRemoteAOName );
  addItem( itemRemoteAOName, QLatin1String( "remoteAOName" ) );
  KConfigSkeleton::ItemString  *itemRemoteHost;
  itemRemoteHost = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "remoteHost" ), mRemoteHost );
  addItem( itemRemoteHost, QLatin1String( "remoteHost" ) );
  KConfigSkeleton::ItemString  *itemRemotePort;
  itemRemotePort = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "remotePort" ), mRemotePort );
  addItem( itemRemotePort, QLatin1String( "remotePort" ) );
  KConfigSkeleton::ItemBool  *itemLocalMode;
  itemLocalMode = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "localMode" ), mLocalMode, true );
  addItem( itemLocalMode, QLatin1String( "localMode" ) );
  KConfigSkeleton::ItemBool  *itemRemoteMode;
  itemRemoteMode = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "remoteMode" ), mRemoteMode, false );
  addItem( itemRemoteMode, QLatin1String( "remoteMode" ) );
  KConfigSkeleton::ItemBool  *itemNeverLoadConfig;
  itemNeverLoadConfig = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "neverLoadConfig" ), mNeverLoadConfig, false );
  addItem( itemNeverLoadConfig, QLatin1String( "neverLoadConfig" ) );
  KConfigSkeleton::ItemBool  *itemLoadConfigOnConnection;
  itemLoadConfigOnConnection = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "loadConfigOnConnection" ), mLoadConfigOnConnection, true );
  addItem( itemLoadConfigOnConnection, QLatin1String( "loadConfigOnConnection" ) );
  KConfigSkeleton::ItemBool  *itemLoadDefaultConfig;
  itemLoadDefaultConfig = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "loadDefaultConfig" ), mLoadDefaultConfig, false );
  addItem( itemLoadDefaultConfig, QLatin1String( "loadDefaultConfig" ) );
  KConfigSkeleton::ItemBool  *itemPlayFITSAlarm;
  itemPlayFITSAlarm = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "PlayFITSAlarm" ), mPlayFITSAlarm, false );
  addItem( itemPlayFITSAlarm, QLatin1String( "PlayFITSAlarm" ) );
  KConfigSkeleton::ItemBool  *itemPlayCCDAlarm;
  itemPlayCCDAlarm = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "PlayCCDAlarm" ), mPlayCCDAlarm, true );
  addItem( itemPlayCCDAlarm, QLatin1String( "PlayCCDAlarm" ) );
  KConfigSkeleton::ItemBool  *itemPlayFocusAlarm;
  itemPlayFocusAlarm = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "PlayFocusAlarm" ), mPlayFocusAlarm, true );
  addItem( itemPlayFocusAlarm, QLatin1String( "PlayFocusAlarm" ) );
  KConfigSkeleton::ItemBool  *itemPlayGuideAlarm;
  itemPlayGuideAlarm = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "PlayGuideAlarm" ), mPlayGuideAlarm, true );
  addItem( itemPlayGuideAlarm, QLatin1String( "PlayGuideAlarm" ) );
  KConfigSkeleton::ItemBool  *itemPlayAlignmentAlarm;
  itemPlayAlignmentAlarm = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "PlayAlignmentAlarm" ), mPlayAlignmentAlarm, true );
  addItem( itemPlayAlignmentAlarm, QLatin1String( "PlayAlignmentAlarm" ) );
  KConfigSkeleton::ItemString  *itemAstrometrySolver;
  itemAstrometrySolver = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "astrometrySolver" ), mAstrometrySolver, QLatin1String( "/usr/bin/solve-field" ) );
  addItem( itemAstrometrySolver, QLatin1String( "astrometrySolver" ) );
  KConfigSkeleton::ItemString  *itemAstrometryWCSInfo;
  itemAstrometryWCSInfo = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "astrometryWCSInfo" ), mAstrometryWCSInfo, QLatin1String( "/usr/bin/wcsinfo" ) );
  addItem( itemAstrometryWCSInfo, QLatin1String( "astrometryWCSInfo" ) );
  KConfigSkeleton::ItemString  *itemAstrometryConfFile;
  itemAstrometryConfFile = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "astrometryConfFile" ), mAstrometryConfFile, QLatin1String( "/etc/astrometry.cfg" ) );
  addItem( itemAstrometryConfFile, QLatin1String( "astrometryConfFile" ) );
  KConfigSkeleton::ItemString  *itemAstrometryAPIKey;
  itemAstrometryAPIKey = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "astrometryAPIKey" ), mAstrometryAPIKey, QLatin1String( "iczikaqstszeptgs" ) );
  addItem( itemAstrometryAPIKey, QLatin1String( "astrometryAPIKey" ) );
  KConfigSkeleton::ItemString  *itemAstrometryAPIURL;
  itemAstrometryAPIURL = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "astrometryAPIURL" ), mAstrometryAPIURL, QLatin1String( "http://nova.astrometry.net" ) );
  addItem( itemAstrometryAPIURL, QLatin1String( "astrometryAPIURL" ) );
  KConfigSkeleton::ItemBool  *itemAstrometryUseJPEG;
  itemAstrometryUseJPEG = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "astrometryUseJPEG" ), mAstrometryUseJPEG, true );
  addItem( itemAstrometryUseJPEG, QLatin1String( "astrometryUseJPEG" ) );

  setCurrentGroup( QLatin1String( "Capture" ) );

  KConfigSkeleton::ItemDouble  *itemGuideDeviation;
  itemGuideDeviation = new KConfigSkeleton::ItemDouble( currentGroup(), QLatin1String( "GuideDeviation" ), mGuideDeviation, 2 );
  addItem( itemGuideDeviation, QLatin1String( "GuideDeviation" ) );
  KConfigSkeleton::ItemDouble  *itemHFRDeviation;
  itemHFRDeviation = new KConfigSkeleton::ItemDouble( currentGroup(), QLatin1String( "HFRDeviation" ), mHFRDeviation, 0.5 );
  addItem( itemHFRDeviation, QLatin1String( "HFRDeviation" ) );
  KConfigSkeleton::ItemBool  *itemEnforceGuideDeviation;
  itemEnforceGuideDeviation = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "EnforceGuideDeviation" ), mEnforceGuideDeviation, false );
  addItem( itemEnforceGuideDeviation, QLatin1String( "EnforceGuideDeviation" ) );
  KConfigSkeleton::ItemBool  *itemEnforceAutofocus;
  itemEnforceAutofocus = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "EnforceAutofocus" ), mEnforceAutofocus, false );
  addItem( itemEnforceAutofocus, QLatin1String( "EnforceAutofocus" ) );
  KConfigSkeleton::ItemBool  *itemEnforceTemperatureControl;
  itemEnforceTemperatureControl = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "EnforceTemperatureControl" ), mEnforceTemperatureControl, true );
  addItem( itemEnforceTemperatureControl, QLatin1String( "EnforceTemperatureControl" ) );
  KConfigSkeleton::ItemDouble  *itemAutoMeridianHours;
  itemAutoMeridianHours = new KConfigSkeleton::ItemDouble( currentGroup(), QLatin1String( "AutoMeridianHours" ), mAutoMeridianHours );
  addItem( itemAutoMeridianHours, QLatin1String( "AutoMeridianHours" ) );
  KConfigSkeleton::ItemBool  *itemAutoMeridianFlip;
  itemAutoMeridianFlip = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "AutoMeridianFlip" ), mAutoMeridianFlip, false );
  addItem( itemAutoMeridianFlip, QLatin1String( "AutoMeridianFlip" ) );
  KConfigSkeleton::ItemBool  *itemAutoParkTelescope;
  itemAutoParkTelescope = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "AutoParkTelescope" ), mAutoParkTelescope, false );
  addItem( itemAutoParkTelescope, QLatin1String( "AutoParkTelescope" ) );

  setCurrentGroup( QLatin1String( "Focus" ) );

  KConfigSkeleton::ItemUInt  *itemFocusTicks;
  itemFocusTicks = new KConfigSkeleton::ItemUInt( currentGroup(), QLatin1String( "FocusTicks" ), mFocusTicks, 100 );
  addItem( itemFocusTicks, QLatin1String( "FocusTicks" ) );
  KConfigSkeleton::ItemDouble  *itemFocusTolerance;
  itemFocusTolerance = new KConfigSkeleton::ItemDouble( currentGroup(), QLatin1String( "FocusTolerance" ), mFocusTolerance, 1 );
  addItem( itemFocusTolerance, QLatin1String( "FocusTolerance" ) );
  KConfigSkeleton::ItemUInt  *itemFocusMaxTravel;
  itemFocusMaxTravel = new KConfigSkeleton::ItemUInt( currentGroup(), QLatin1String( "FocusMaxTravel" ), mFocusMaxTravel, 10000 );
  addItem( itemFocusMaxTravel, QLatin1String( "FocusMaxTravel" ) );
  KConfigSkeleton::ItemDouble  *itemFocusExposure;
  itemFocusExposure = new KConfigSkeleton::ItemDouble( currentGroup(), QLatin1String( "FocusExposure" ), mFocusExposure, 0.5 );
  addItem( itemFocusExposure, QLatin1String( "FocusExposure" ) );
  KConfigSkeleton::ItemUInt  *itemFocusBoxSize;
  itemFocusBoxSize = new KConfigSkeleton::ItemUInt( currentGroup(), QLatin1String( "FocusBoxSize" ), mFocusBoxSize, 64 );
  addItem( itemFocusBoxSize, QLatin1String( "FocusBoxSize" ) );
  KConfigSkeleton::ItemUInt  *itemFocusXBin;
  itemFocusXBin = new KConfigSkeleton::ItemUInt( currentGroup(), QLatin1String( "FocusXBin" ), mFocusXBin, 1 );
  addItem( itemFocusXBin, QLatin1String( "FocusXBin" ) );
  KConfigSkeleton::ItemUInt  *itemFocusYBin;
  itemFocusYBin = new KConfigSkeleton::ItemUInt( currentGroup(), QLatin1String( "FocusYBin" ), mFocusYBin, 1 );
  addItem( itemFocusYBin, QLatin1String( "FocusYBin" ) );
  KConfigSkeleton::ItemBool  *itemFocusSubFrame;
  itemFocusSubFrame = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "FocusSubFrame" ), mFocusSubFrame, true );
  addItem( itemFocusSubFrame, QLatin1String( "FocusSubFrame" ) );
  KConfigSkeleton::ItemBool  *itemAutoSelectStar;
  itemAutoSelectStar = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "AutoSelectStar" ), mAutoSelectStar, false );
  addItem( itemAutoSelectStar, QLatin1String( "AutoSelectStar" ) );
  KConfigSkeleton::ItemBool  *itemSuspendGuiding;
  itemSuspendGuiding = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "SuspendGuiding" ), mSuspendGuiding, true );
  addItem( itemSuspendGuiding, QLatin1String( "SuspendGuiding" ) );
  KConfigSkeleton::ItemBool  *itemLockFocusFilter;
  itemLockFocusFilter = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "LockFocusFilter" ), mLockFocusFilter, false );
  addItem( itemLockFocusFilter, QLatin1String( "LockFocusFilter" ) );

  setCurrentGroup( QLatin1String( "Align" ) );

  KConfigSkeleton::ItemDouble  *itemAlignExposure;
  itemAlignExposure = new KConfigSkeleton::ItemDouble( currentGroup(), QLatin1String( "AlignExposure" ), mAlignExposure, 1 );
  addItem( itemAlignExposure, QLatin1String( "AlignExposure" ) );
  KConfigSkeleton::ItemUInt  *itemSolverXBin;
  itemSolverXBin = new KConfigSkeleton::ItemUInt( currentGroup(), QLatin1String( "SolverXBin" ), mSolverXBin, 1 );
  addItem( itemSolverXBin, QLatin1String( "SolverXBin" ) );
  KConfigSkeleton::ItemUInt  *itemSolverYBin;
  itemSolverYBin = new KConfigSkeleton::ItemUInt( currentGroup(), QLatin1String( "SolverYBin" ), mSolverYBin, 1 );
  addItem( itemSolverYBin, QLatin1String( "SolverYBin" ) );
  KConfigSkeleton::ItemBool  *itemSolverUpdateCoords;
  itemSolverUpdateCoords = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "SolverUpdateCoords" ), mSolverUpdateCoords, false );
  addItem( itemSolverUpdateCoords, QLatin1String( "SolverUpdateCoords" ) );
  KConfigSkeleton::ItemBool  *itemSolverPreview;
  itemSolverPreview = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "SolverPreview" ), mSolverPreview, false );
  addItem( itemSolverPreview, QLatin1String( "SolverPreview" ) );
  KConfigSkeleton::ItemBool  *itemSolverOnline;
  itemSolverOnline = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "SolverOnline" ), mSolverOnline, true );
  addItem( itemSolverOnline, QLatin1String( "SolverOnline" ) );
  KConfigSkeleton::ItemString  *itemSolverOptions;
  itemSolverOptions = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "SolverOptions" ), mSolverOptions );
  addItem( itemSolverOptions, QLatin1String( "SolverOptions" ) );
  KConfigSkeleton::ItemBool  *itemSolverOTA;
  itemSolverOTA = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "SolverOTA" ), mSolverOTA, false );
  addItem( itemSolverOTA, QLatin1String( "SolverOTA" ) );
  KConfigSkeleton::ItemUInt  *itemSolverGotoOption;
  itemSolverGotoOption = new KConfigSkeleton::ItemUInt( currentGroup(), QLatin1String( "SolverGotoOption" ), mSolverGotoOption, 0 );
  addItem( itemSolverGotoOption, QLatin1String( "SolverGotoOption" ) );

  setCurrentGroup( QLatin1String( "Guide" ) );

  KConfigSkeleton::ItemUInt  *itemCalibrationPulseDuration;
  itemCalibrationPulseDuration = new KConfigSkeleton::ItemUInt( currentGroup(), QLatin1String( "CalibrationPulseDuration" ), mCalibrationPulseDuration, 1000 );
  addItem( itemCalibrationPulseDuration, QLatin1String( "CalibrationPulseDuration" ) );
  KConfigSkeleton::ItemBool  *itemUseAutoMode;
  itemUseAutoMode = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "UseAutoMode" ), mUseAutoMode, true );
  addItem( itemUseAutoMode, QLatin1String( "UseAutoMode" ) );
  KConfigSkeleton::ItemBool  *itemAutoCalibration;
  itemAutoCalibration = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "AutoCalibration" ), mAutoCalibration, false );
  addItem( itemAutoCalibration, QLatin1String( "AutoCalibration" ) );
  KConfigSkeleton::ItemUInt  *itemAutoModeIterations;
  itemAutoModeIterations = new KConfigSkeleton::ItemUInt( currentGroup(), QLatin1String( "AutoModeIterations" ), mAutoModeIterations, 5 );
  addItem( itemAutoModeIterations, QLatin1String( "AutoModeIterations" ) );
  KConfigSkeleton::ItemBool  *itemUseTwoAxis;
  itemUseTwoAxis = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "UseTwoAxis" ), mUseTwoAxis, true );
  addItem( itemUseTwoAxis, QLatin1String( "UseTwoAxis" ) );
  KConfigSkeleton::ItemBool  *itemUseDarkFrame;
  itemUseDarkFrame = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "UseDarkFrame" ), mUseDarkFrame, false );
  addItem( itemUseDarkFrame, QLatin1String( "UseDarkFrame" ) );
  KConfigSkeleton::ItemDouble  *itemDitherPixels;
  itemDitherPixels = new KConfigSkeleton::ItemDouble( currentGroup(), QLatin1String( "DitherPixels" ), mDitherPixels, 2 );
  addItem( itemDitherPixels, QLatin1String( "DitherPixels" ) );
  KConfigSkeleton::ItemBool  *itemUseDither;
  itemUseDither = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "UseDither" ), mUseDither, false );
  addItem( itemUseDither, QLatin1String( "UseDither" ) );
  KConfigSkeleton::ItemDouble  *itemAOLimit;
  itemAOLimit = new KConfigSkeleton::ItemDouble( currentGroup(), QLatin1String( "AOLimit" ), mAOLimit, 2 );
  addItem( itemAOLimit, QLatin1String( "AOLimit" ) );
  KConfigSkeleton::ItemBool  *itemEnableRAGuide;
  itemEnableRAGuide = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "EnableRAGuide" ), mEnableRAGuide, true );
  addItem( itemEnableRAGuide, QLatin1String( "EnableRAGuide" ) );
  KConfigSkeleton::ItemBool  *itemEnableDECGuide;
  itemEnableDECGuide = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "EnableDECGuide" ), mEnableDECGuide, true );
  addItem( itemEnableDECGuide, QLatin1String( "EnableDECGuide" ) );
  KConfigSkeleton::ItemDouble  *itemRAPropotionalGain;
  itemRAPropotionalGain = new KConfigSkeleton::ItemDouble( currentGroup(), QLatin1String( "RAPropotionalGain" ), mRAPropotionalGain, 133.33 );
  addItem( itemRAPropotionalGain, QLatin1String( "RAPropotionalGain" ) );
  KConfigSkeleton::ItemDouble  *itemDECPropotionalGain;
  itemDECPropotionalGain = new KConfigSkeleton::ItemDouble( currentGroup(), QLatin1String( "DECPropotionalGain" ), mDECPropotionalGain, 133.33 );
  addItem( itemDECPropotionalGain, QLatin1String( "DECPropotionalGain" ) );
  KConfigSkeleton::ItemDouble  *itemRAIntegralGain;
  itemRAIntegralGain = new KConfigSkeleton::ItemDouble( currentGroup(), QLatin1String( "RAIntegralGain" ), mRAIntegralGain, 0 );
  addItem( itemRAIntegralGain, QLatin1String( "RAIntegralGain" ) );
  KConfigSkeleton::ItemDouble  *itemDECIntegralGain;
  itemDECIntegralGain = new KConfigSkeleton::ItemDouble( currentGroup(), QLatin1String( "DECIntegralGain" ), mDECIntegralGain, 0 );
  addItem( itemDECIntegralGain, QLatin1String( "DECIntegralGain" ) );
  KConfigSkeleton::ItemDouble  *itemRADerivativeGain;
  itemRADerivativeGain = new KConfigSkeleton::ItemDouble( currentGroup(), QLatin1String( "RADerivativeGain" ), mRADerivativeGain, 0 );
  addItem( itemRADerivativeGain, QLatin1String( "RADerivativeGain" ) );
  KConfigSkeleton::ItemDouble  *itemDECDerivativeGain;
  itemDECDerivativeGain = new KConfigSkeleton::ItemDouble( currentGroup(), QLatin1String( "DECDerivativeGain" ), mDECDerivativeGain, 0 );
  addItem( itemDECDerivativeGain, QLatin1String( "DECDerivativeGain" ) );
  KConfigSkeleton::ItemUInt  *itemRAMaximumPulse;
  itemRAMaximumPulse = new KConfigSkeleton::ItemUInt( currentGroup(), QLatin1String( "RAMaximumPulse" ), mRAMaximumPulse, 5000 );
  addItem( itemRAMaximumPulse, QLatin1String( "RAMaximumPulse" ) );
  KConfigSkeleton::ItemUInt  *itemDECMaximumPulse;
  itemDECMaximumPulse = new KConfigSkeleton::ItemUInt( currentGroup(), QLatin1String( "DECMaximumPulse" ), mDECMaximumPulse, 5000 );
  addItem( itemDECMaximumPulse, QLatin1String( "DECMaximumPulse" ) );
  KConfigSkeleton::ItemUInt  *itemRAMinimumPulse;
  itemRAMinimumPulse = new KConfigSkeleton::ItemUInt( currentGroup(), QLatin1String( "RAMinimumPulse" ), mRAMinimumPulse, 100 );
  addItem( itemRAMinimumPulse, QLatin1String( "RAMinimumPulse" ) );
  KConfigSkeleton::ItemUInt  *itemDECMinimumPulse;
  itemDECMinimumPulse = new KConfigSkeleton::ItemUInt( currentGroup(), QLatin1String( "DECMinimumPulse" ), mDECMinimumPulse, 100 );
  addItem( itemDECMinimumPulse, QLatin1String( "DECMinimumPulse" ) );
  KConfigSkeleton::ItemDouble  *itemGuidingRate;
  itemGuidingRate = new KConfigSkeleton::ItemDouble( currentGroup(), QLatin1String( "GuidingRate" ), mGuidingRate, 0.5 );
  addItem( itemGuidingRate, QLatin1String( "GuidingRate" ) );
}

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

