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

#include "skgbookmark_settings.h"

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

class skgbookmark_settingsHelper
{
  public:
    skgbookmark_settingsHelper() : q(0) {}
    ~skgbookmark_settingsHelper() { delete q; }
    skgbookmark_settings *q;
};
K_GLOBAL_STATIC(skgbookmark_settingsHelper, s_globalskgbookmark_settings)
skgbookmark_settings *skgbookmark_settings::self()
{
  if (!s_globalskgbookmark_settings->q) {
    new skgbookmark_settings;
    s_globalskgbookmark_settings->q->readConfig();
  }

  return s_globalskgbookmark_settings->q;
}

skgbookmark_settings::skgbookmark_settings(  )
  : KConfigSkeleton()
{
  Q_ASSERT(!s_globalskgbookmark_settings->q);
  s_globalskgbookmark_settings->q = this;
  setCurrentGroup( QLatin1String( "Bookmark" ) );

  KConfigSkeleton::ItemBool  *itemPinhomebookmarks;
  itemPinhomebookmarks = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "pinhomebookmarks" ), mPinhomebookmarks, false );
  addItem( itemPinhomebookmarks, QLatin1String( "pinhomebookmarks" ) );
}

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

