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

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

class ValidatorsSettings : public KConfigSkeleton
{
  public:

    static ValidatorsSettings *self();
    ~ValidatorsSettings();

    /**
      Set WWWValidatorUrl
    */
    static
    void setWWWValidatorUrl( const QStringList & v )
    {
      if (!self()->isImmutable( QStringLiteral( "WWWValidatorUrl" ) ))
        self()->mWWWValidatorUrl = v;
    }

    /**
      Get WWWValidatorUrl
    */
    static
    QStringList wWWValidatorUrl()
    {
      return self()->mWWWValidatorUrl;
    }

    /**
      Set WWWValidatorUrlIndex
    */
    static
    void setWWWValidatorUrlIndex( uint v )
    {
      if (!self()->isImmutable( QStringLiteral( "WWWValidatorUrlIndex" ) ))
        self()->mWWWValidatorUrlIndex = v;
    }

    /**
      Get WWWValidatorUrlIndex
    */
    static
    uint wWWValidatorUrlIndex()
    {
      return self()->mWWWValidatorUrlIndex;
    }

    /**
      Set WWWValidatorUploadUrl
    */
    static
    void setWWWValidatorUploadUrl( const QStringList & v )
    {
      if (!self()->isImmutable( QStringLiteral( "WWWValidatorUploadUrl" ) ))
        self()->mWWWValidatorUploadUrl = v;
    }

    /**
      Get WWWValidatorUploadUrl
    */
    static
    QStringList wWWValidatorUploadUrl()
    {
      return self()->mWWWValidatorUploadUrl;
    }

    /**
      Set WWWValidatorUploadUrlIndex
    */
    static
    void setWWWValidatorUploadUrlIndex( uint v )
    {
      if (!self()->isImmutable( QStringLiteral( "WWWValidatorUploadUrlIndex" ) ))
        self()->mWWWValidatorUploadUrlIndex = v;
    }

    /**
      Get WWWValidatorUploadUrlIndex
    */
    static
    uint wWWValidatorUploadUrlIndex()
    {
      return self()->mWWWValidatorUploadUrlIndex;
    }

    /**
      Set CSSValidatorUrl
    */
    static
    void setCSSValidatorUrl( const QStringList & v )
    {
      if (!self()->isImmutable( QStringLiteral( "CSSValidatorUrl" ) ))
        self()->mCSSValidatorUrl = v;
    }

    /**
      Get CSSValidatorUrl
    */
    static
    QStringList cSSValidatorUrl()
    {
      return self()->mCSSValidatorUrl;
    }

    /**
      Set CSSValidatorUrlIndex
    */
    static
    void setCSSValidatorUrlIndex( uint v )
    {
      if (!self()->isImmutable( QStringLiteral( "CSSValidatorUrlIndex" ) ))
        self()->mCSSValidatorUrlIndex = v;
    }

    /**
      Get CSSValidatorUrlIndex
    */
    static
    uint cSSValidatorUrlIndex()
    {
      return self()->mCSSValidatorUrlIndex;
    }

    /**
      Set CSSValidatorUploadUrl
    */
    static
    void setCSSValidatorUploadUrl( const QStringList & v )
    {
      if (!self()->isImmutable( QStringLiteral( "CSSValidatorUploadUrl" ) ))
        self()->mCSSValidatorUploadUrl = v;
    }

    /**
      Get CSSValidatorUploadUrl
    */
    static
    QStringList cSSValidatorUploadUrl()
    {
      return self()->mCSSValidatorUploadUrl;
    }

    /**
      Set CSSValidatorUploadUrlIndex
    */
    static
    void setCSSValidatorUploadUrlIndex( uint v )
    {
      if (!self()->isImmutable( QStringLiteral( "CSSValidatorUploadUrlIndex" ) ))
        self()->mCSSValidatorUploadUrlIndex = v;
    }

    /**
      Get CSSValidatorUploadUrlIndex
    */
    static
    uint cSSValidatorUploadUrlIndex()
    {
      return self()->mCSSValidatorUploadUrlIndex;
    }

    /**
      Set LinkValidatorUrl
    */
    static
    void setLinkValidatorUrl( const QStringList & v )
    {
      if (!self()->isImmutable( QStringLiteral( "LinkValidatorUrl" ) ))
        self()->mLinkValidatorUrl = v;
    }

    /**
      Get LinkValidatorUrl
    */
    static
    QStringList linkValidatorUrl()
    {
      return self()->mLinkValidatorUrl;
    }

    /**
      Set LinkValidatorUrlIndex
    */
    static
    void setLinkValidatorUrlIndex( uint v )
    {
      if (!self()->isImmutable( QStringLiteral( "LinkValidatorUrlIndex" ) ))
        self()->mLinkValidatorUrlIndex = v;
    }

    /**
      Get LinkValidatorUrlIndex
    */
    static
    uint linkValidatorUrlIndex()
    {
      return self()->mLinkValidatorUrlIndex;
    }

    /**
      Set AccessibilityLevel
    */
    static
    void setAccessibilityLevel( uint v )
    {

      if (v > 3)
      {
        qDebug() << "setAccessibilityLevel: value " << v << " is greater than the maximum value of 3";
        v = 3;
      }

      if (!self()->isImmutable( QStringLiteral( "AccessibilityLevel" ) ))
        self()->mAccessibilityLevel = v;
    }

    /**
      Get AccessibilityLevel
    */
    static
    uint accessibilityLevel()
    {
      return self()->mAccessibilityLevel;
    }

    /**
      Set RunAfterLoading
    */
    static
    void setRunAfterLoading( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "RunAfterLoading" ) ))
        self()->mRunAfterLoading = v;
    }

    /**
      Get RunAfterLoading
    */
    static
    bool runAfterLoading()
    {
      return self()->mRunAfterLoading;
    }

  protected:
    ValidatorsSettings();
    friend class ValidatorsSettingsHelper;


    // Addresses
    QStringList mWWWValidatorUrl;
    uint mWWWValidatorUrlIndex;
    QStringList mWWWValidatorUploadUrl;
    uint mWWWValidatorUploadUrlIndex;
    QStringList mCSSValidatorUrl;
    uint mCSSValidatorUrlIndex;
    QStringList mCSSValidatorUploadUrl;
    uint mCSSValidatorUploadUrlIndex;
    QStringList mLinkValidatorUrl;
    uint mLinkValidatorUrlIndex;

    // Local Validator
    uint mAccessibilityLevel;
    bool mRunAfterLoading;

  private:
};

#endif

