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

#include "skgscheduled_settings.h"

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

class skgscheduled_settingsHelper
{
  public:
    skgscheduled_settingsHelper() : q(0) {}
    ~skgscheduled_settingsHelper() { delete q; }
    skgscheduled_settings *q;
};
K_GLOBAL_STATIC(skgscheduled_settingsHelper, s_globalskgscheduled_settings)
skgscheduled_settings *skgscheduled_settings::self()
{
  if (!s_globalskgscheduled_settings->q) {
    new skgscheduled_settings;
    s_globalskgscheduled_settings->q->readConfig();
  }

  return s_globalskgscheduled_settings->q;
}

skgscheduled_settings::skgscheduled_settings(  )
  : KConfigSkeleton()
{
  Q_ASSERT(!s_globalskgscheduled_settings->q);
  s_globalskgscheduled_settings->q = this;
  setCurrentGroup( QLatin1String( "skrooge_scheduled" ) );

  KConfigSkeleton::ItemBool  *itemCheck_on_open;
  itemCheck_on_open = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "check_on_open" ), mCheck_on_open, true );
  addItem( itemCheck_on_open, QLatin1String( "check_on_open" ) );
  KConfigSkeleton::ItemBool  *itemCreate_template;
  itemCreate_template = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "create_template" ), mCreate_template, true );
  addItem( itemCreate_template, QLatin1String( "create_template" ) );
  KConfigSkeleton::ItemBool  *itemRemind_me;
  itemRemind_me = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "remind_me" ), mRemind_me, true );
  addItem( itemRemind_me, QLatin1String( "remind_me" ) );
  KConfigSkeleton::ItemInt  *itemRemind_me_days;
  itemRemind_me_days = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "remind_me_days" ), mRemind_me_days, 5 );
  addItem( itemRemind_me_days, QLatin1String( "remind_me_days" ) );
  KConfigSkeleton::ItemBool  *itemAuto_write;
  itemAuto_write = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "auto_write" ), mAuto_write, true );
  addItem( itemAuto_write, QLatin1String( "auto_write" ) );
  KConfigSkeleton::ItemInt  *itemAuto_write_days;
  itemAuto_write_days = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "auto_write_days" ), mAuto_write_days, 0 );
  addItem( itemAuto_write_days, QLatin1String( "auto_write_days" ) );
  KConfigSkeleton::ItemInt  *itemOnce_every;
  itemOnce_every = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "once_every" ), mOnce_every, 1 );
  addItem( itemOnce_every, QLatin1String( "once_every" ) );
  KConfigSkeleton::ItemString  *itemOnce_every_unit;
  itemOnce_every_unit = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "once_every_unit" ), mOnce_every_unit, QLatin1String( "1" ) );
  addItem( itemOnce_every_unit, QLatin1String( "once_every_unit" ) );
  KConfigSkeleton::ItemBool  *itemNb_times;
  itemNb_times = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "nb_times" ), mNb_times, false );
  addItem( itemNb_times, QLatin1String( "nb_times" ) );
  KConfigSkeleton::ItemInt  *itemNb_times_val;
  itemNb_times_val = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "nb_times_val" ), mNb_times_val, 1 );
  addItem( itemNb_times_val, QLatin1String( "nb_times_val" ) );
  KConfigSkeleton::ItemColor  *itemFontDisabledColor;
  itemFontDisabledColor = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "fontDisabledColor" ), mFontDisabledColor, Qt::gray );
  addItem( itemFontDisabledColor, QLatin1String( "fontDisabledColor" ) );
}

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

