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

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

class kgeographySettings : public KConfigSkeleton
{
  public:
    class EnumQuestionPlacingScheme
    {
      public:
      enum type { TopLeft, Top, TopRight, Left, Center, Right, BottomLeft, Bottom, BottomRight, COUNT };
    };
    class EnumColorDisguise
    {
      public:
      enum type { Nothing, Scramble, COUNT };
    };

    static kgeographySettings *self();
    ~kgeographySettings();

    /**
      Set The last opened map
    */
    static
    void setLastMap( const QString & v )
    {
      if (!self()->isImmutable( QStringLiteral( "lastMap" ) ))
        self()->mLastMap = v;
    }

    /**
      Get The last opened map
    */
    static
    QString lastMap()
    {
      return self()->mLastMap;
    }

    /**
      Set Placement alignment of the question
    */
    static
    void setQuestionPlacingScheme( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "questionPlacingScheme" ) ))
        self()->mQuestionPlacingScheme = v;
    }

    /**
      Get Placement alignment of the question
    */
    static
    int questionPlacingScheme()
    {
      return self()->mQuestionPlacingScheme;
    }

    /**
      Set Ask for validation before next question
    */
    static
    void setWaitsForValidation( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "waitsForValidation" ) ))
        self()->mWaitsForValidation = v;
    }

    /**
      Get Ask for validation before next question
    */
    static
    bool waitsForValidation()
    {
      return self()->mWaitsForValidation;
    }

    /**
      Set Whether press on space while hovering a button should trigger that button
    */
    static
    void setFocusFollowsMouse( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "focusFollowsMouse" ) ))
        self()->mFocusFollowsMouse = v;
    }

    /**
      Get Whether press on space while hovering a button should trigger that button
    */
    static
    bool focusFollowsMouse()
    {
      return self()->mFocusFollowsMouse;
    }

    /**
      Set What to do to colors of divisions
    */
    static
    void setColorDisguise( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "colorDisguise" ) ))
        self()->mColorDisguise = v;
    }

    /**
      Get What to do to colors of divisions
    */
    static
    int colorDisguise()
    {
      return self()->mColorDisguise;
    }

  protected:
    kgeographySettings();
    friend class kgeographySettingsHelper;


    // general
    QString mLastMap;
    int mQuestionPlacingScheme;
    bool mWaitsForValidation;
    bool mFocusFollowsMouse;
    int mColorDisguise;

  private:
};

#endif

