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

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

class Q_DECL_EXPORT MirrorSearchSettings : public KConfigSkeleton
{
  public:

    static MirrorSearchSettings *self();
    ~MirrorSearchSettings();

    /**
      Set UseSearchEngines
    */
    static
    void setUseSearchEngines( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "UseSearchEngines" ) ))
        self()->mUseSearchEngines = v;
    }

    /**
      Get UseSearchEngines
    */
    static
    bool useSearchEngines()
    {
      return self()->mUseSearchEngines;
    }

    /**
      Set List of the available search engines
    */
    static
    void setSearchEnginesNameList( const QStringList & v )
    {
      if (!self()->isImmutable( QStringLiteral( "SearchEnginesNameList" ) ))
        self()->mSearchEnginesNameList = v;
    }

    /**
      Get List of the available search engines
    */
    static
    QStringList searchEnginesNameList()
    {
      return self()->mSearchEnginesNameList;
    }

    /**
      Set List of the available search engine URLs
    */
    static
    void setSearchEnginesUrlList( const QStringList & v )
    {
      if (!self()->isImmutable( QStringLiteral( "SearchEnginesUrlList" ) ))
        self()->mSearchEnginesUrlList = v;
    }

    /**
      Get List of the available search engine URLs
    */
    static
    QStringList searchEnginesUrlList()
    {
      return self()->mSearchEnginesUrlList;
    }

  protected:
    MirrorSearchSettings();
    friend class MirrorSearchSettingsHelper;


    // SearchEngines
    bool mUseSearchEngines;
    QStringList mSearchEnginesNameList;
    QStringList mSearchEnginesUrlList;

  private:
};

#endif

