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

#include "logoutconfig.h"

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

using namespace KWin;

namespace KWin {

class LogoutConfigHelper
{
  public:
    LogoutConfigHelper() : q(0) {}
    ~LogoutConfigHelper() { delete q; }
    LogoutConfig *q;
};
}

Q_GLOBAL_STATIC(LogoutConfigHelper, s_globalLogoutConfig)
LogoutConfig *LogoutConfig::self()
{
  if (!s_globalLogoutConfig()->q) {
    new LogoutConfig;
    s_globalLogoutConfig()->q->read();
  }

  return s_globalLogoutConfig()->q;
}

LogoutConfig::LogoutConfig(  )
  : KConfigSkeleton( QStringLiteral( "kwinrc" ) )
{
  Q_ASSERT(!s_globalLogoutConfig()->q);
  s_globalLogoutConfig()->q = this;
  setCurrentGroup( QStringLiteral( "Effect-Logout" ) );

  KConfigSkeleton::ItemBool  *itemUseBlur;
  itemUseBlur = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "UseBlur" ), mUseBlur, true );
  addItem( itemUseBlur, QStringLiteral( "UseBlur" ) );
}

LogoutConfig::~LogoutConfig()
{
  s_globalLogoutConfig()->q = 0;
}

