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

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

class KBounceSettings : public KConfigSkeleton
{
  public:

    static KBounceSettings *self();
    ~KBounceSettings();

    /**
      Set UseRandomBackgroundPictures
    */
    static
    void setUseRandomBackgroundPictures( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "UseRandomBackgroundPictures" ) ))
        self()->mUseRandomBackgroundPictures = v;
    }

    /**
      Get UseRandomBackgroundPictures
    */
    static
    bool useRandomBackgroundPictures()
    {
      return self()->mUseRandomBackgroundPictures;
    }

    /**
      Set BackgroundPicturePath
    */
    static
    void setBackgroundPicturePath( const QString & v )
    {
      if (!self()->isImmutable( QStringLiteral( "BackgroundPicturePath" ) ))
        self()->mBackgroundPicturePath = v;
    }

    /**
      Get BackgroundPicturePath
    */
    static
    QString backgroundPicturePath()
    {
      return self()->mBackgroundPicturePath;
    }

    /**
      Set Whether game sounds are played.
    */
    static
    void setPlaySounds( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "PlaySounds" ) ))
        self()->mPlaySounds = v;
    }

    /**
      Get Whether game sounds are played.
    */
    static
    bool playSounds()
    {
      return self()->mPlaySounds;
    }

  protected:
    KBounceSettings();
    friend class KBounceSettingsHelper;


    // General
    bool mUseRandomBackgroundPictures;
    QString mBackgroundPicturePath;

    // Sound
    bool mPlaySounds;

  private:
};

#endif

