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

#include "forecastviewsettings.h"

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

class ForecastViewSettingsHelper
{
  public:
    ForecastViewSettingsHelper() : q(0) {}
    ~ForecastViewSettingsHelper() { delete q; }
    ForecastViewSettings *q;
};
Q_GLOBAL_STATIC(ForecastViewSettingsHelper, s_globalForecastViewSettings)
ForecastViewSettings *ForecastViewSettings::self()
{
  if (!s_globalForecastViewSettings()->q) {
    new ForecastViewSettings;
    s_globalForecastViewSettings()->q->read();
  }

  return s_globalForecastViewSettings()->q;
}

ForecastViewSettings::ForecastViewSettings(  )
  : KConfigSkeleton( QStringLiteral( "kmymoney/kmymoneyrc" ) )
{
  Q_ASSERT(!s_globalForecastViewSettings()->q);
  s_globalForecastViewSettings()->q = this;
}

ForecastViewSettings::~ForecastViewSettings()
{
  s_globalForecastViewSettings()->q = 0;
}

