// This file is generated by kconfig_compiler_kf5 from klines.kcfg.
// All changes you do to this file will be lost.
#ifndef PREFS_H
#define PREFS_H

#include <kconfigskeleton.h>
#include <QCoreApplication>
#include <QDebug>

class Prefs : public KConfigSkeleton
{
  public:

    static Prefs *self();
    ~Prefs();

    /**
      Set Whether to show the next set of balls.
    */
    static
    void setShowNext( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "ShowNext" ) ))
        self()->mShowNext = v;
    }

    /**
      Get Whether to show the next set of balls.
    */
    static
    bool showNext()
    {
      return self()->mShowNext;
    }

    /**
      Set Width of saved background
    */
    static
    void setSavedBackgroundWidth( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "SavedBackgroundWidth" ) ))
        self()->mSavedBackgroundWidth = v;
    }

    /**
      Get Width of saved background
    */
    static
    int savedBackgroundWidth()
    {
      return self()->mSavedBackgroundWidth;
    }

    /**
      Set Height of saved background
    */
    static
    void setSavedBackgroundHeight( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "SavedBackgroundHeight" ) ))
        self()->mSavedBackgroundHeight = v;
    }

    /**
      Get Height of saved background
    */
    static
    int savedBackgroundHeight()
    {
      return self()->mSavedBackgroundHeight;
    }

  protected:
    Prefs();
    friend class PrefsHelper;


    // Game
    bool mShowNext;
    int mSavedBackgroundWidth;
    int mSavedBackgroundHeight;

  private:
};

#endif

