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

#include "resizeconfig.h"

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

using namespace KWin;

namespace KWin {

class ResizeConfigHelper
{
  public:
    ResizeConfigHelper() : q(0) {}
    ~ResizeConfigHelper() { delete q; }
    ResizeConfig *q;
};
}

Q_GLOBAL_STATIC(ResizeConfigHelper, s_globalResizeConfig)
ResizeConfig *ResizeConfig::self()
{
  if (!s_globalResizeConfig()->q) {
    new ResizeConfig;
    s_globalResizeConfig()->q->read();
  }

  return s_globalResizeConfig()->q;
}

ResizeConfig::ResizeConfig(  )
  : KConfigSkeleton( QStringLiteral( "kwinrc" ) )
{
  Q_ASSERT(!s_globalResizeConfig()->q);
  s_globalResizeConfig()->q = this;
  setCurrentGroup( QStringLiteral( "Effect-Resize" ) );

  KConfigSkeleton::ItemBool  *itemTextureScale;
  itemTextureScale = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "TextureScale" ), mTextureScale, true );
  addItem( itemTextureScale, QStringLiteral( "TextureScale" ) );
  KConfigSkeleton::ItemBool  *itemOutline;
  itemOutline = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "Outline" ), mOutline, false );
  addItem( itemOutline, QStringLiteral( "Outline" ) );
}

ResizeConfig::~ResizeConfig()
{
  s_globalResizeConfig()->q = 0;
}

