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

#include "reportsviewsettings.h"

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

class ReportsViewSettingsHelper
{
  public:
    ReportsViewSettingsHelper() : q(0) {}
    ~ReportsViewSettingsHelper() { delete q; }
    ReportsViewSettings *q;
};
Q_GLOBAL_STATIC(ReportsViewSettingsHelper, s_globalReportsViewSettings)
ReportsViewSettings *ReportsViewSettings::self()
{
  if (!s_globalReportsViewSettings()->q) {
    new ReportsViewSettings;
    s_globalReportsViewSettings()->q->read();
  }

  return s_globalReportsViewSettings()->q;
}

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

ReportsViewSettings::~ReportsViewSettings()
{
  s_globalReportsViewSettings()->q = 0;
}

