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

#include "skgbasegui_settings.h"

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

class skgbasegui_settingsHelper
{
  public:
    skgbasegui_settingsHelper() : q(0) {}
    ~skgbasegui_settingsHelper() { delete q; }
    skgbasegui_settings *q;
};
K_GLOBAL_STATIC(skgbasegui_settingsHelper, s_globalskgbasegui_settings)
skgbasegui_settings *skgbasegui_settings::self()
{
  if (!s_globalskgbasegui_settings->q) {
    new skgbasegui_settings;
    s_globalskgbasegui_settings->q->readConfig();
  }

  return s_globalskgbasegui_settings->q;
}

skgbasegui_settings::skgbasegui_settings(  )
  : KConfigSkeleton()
{
  Q_ASSERT(!s_globalskgbasegui_settings->q);
  s_globalskgbasegui_settings->q = this;
  setCurrentGroup( QLatin1String( "Main Panel" ) );

  KConfigSkeleton::ItemBool  *itemIcon_in_system_tray;
  itemIcon_in_system_tray = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "icon_in_system_tray" ), mIcon_in_system_tray, false );
  addItem( itemIcon_in_system_tray, QLatin1String( "icon_in_system_tray" ) );
  KConfigSkeleton::ItemBool  *itemShow_splash_screen;
  itemShow_splash_screen = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "show_splash_screen" ), mShow_splash_screen, true );
  addItem( itemShow_splash_screen, QLatin1String( "show_splash_screen" ) );
  KConfigSkeleton::ItemInt  *itemUpdate_modified_bookmarks;
  itemUpdate_modified_bookmarks = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "update_modified_bookmarks" ), mUpdate_modified_bookmarks, 2 );
  addItem( itemUpdate_modified_bookmarks, QLatin1String( "update_modified_bookmarks" ) );
  KConfigSkeleton::ItemInt  *itemUpdate_modified_contexts;
  itemUpdate_modified_contexts = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "update_modified_contexts" ), mUpdate_modified_contexts, 2 );
  addItem( itemUpdate_modified_contexts, QLatin1String( "update_modified_contexts" ) );
  KConfigSkeleton::ItemInt  *itemMain_tabs_position;
  itemMain_tabs_position = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "main_tabs_position" ), mMain_tabs_position, 0 );
  addItem( itemMain_tabs_position, QLatin1String( "main_tabs_position" ) );
  KConfigSkeleton::ItemInt  *itemDate_format;
  itemDate_format = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "date_format" ), mDate_format, 2 );
  addItem( itemDate_format, QLatin1String( "date_format" ) );
}

skgbasegui_settings::~skgbasegui_settings()
{
  if (!s_globalskgbasegui_settings.isDestroyed()) {
    s_globalskgbasegui_settings->q = 0;
  }
}

