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

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

class InfoWidgetPluginSettings : public KConfigSkeleton
{
  public:

    static InfoWidgetPluginSettings *self();
    ~InfoWidgetPluginSettings();

    /**
      Set Show peer view tab in main window
    */
    static
    void setShowPeerView( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "showPeerView" ) ))
        self()->mShowPeerView = v;
    }

    /**
      Get Show peer view tab in main window
    */
    static
    bool showPeerView()
    {
      return self()->mShowPeerView;
    }

    /**
      Set Show chunk download view tab in main window
    */
    static
    void setShowChunkView( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "showChunkView" ) ))
        self()->mShowChunkView = v;
    }

    /**
      Get Show chunk download view tab in main window
    */
    static
    bool showChunkView()
    {
      return self()->mShowChunkView;
    }

    /**
      Set Show trackers view tab in main window
    */
    static
    void setShowTrackersView( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "showTrackersView" ) ))
        self()->mShowTrackersView = v;
    }

    /**
      Get Show trackers view tab in main window
    */
    static
    bool showTrackersView()
    {
      return self()->mShowTrackersView;
    }

    /**
      Set showWebSeedsTab
    */
    static
    void setShowWebSeedsTab( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "showWebSeedsTab" ) ))
        self()->mShowWebSeedsTab = v;
    }

    /**
      Get showWebSeedsTab
    */
    static
    bool showWebSeedsTab()
    {
      return self()->mShowWebSeedsTab;
    }

    /**
      Set firstColor
    */
    static
    void setFirstColor( const QColor & v )
    {
      if (!self()->isImmutable( QStringLiteral( "firstColor" ) ))
        self()->mFirstColor = v;
    }

    /**
      Get firstColor
    */
    static
    QColor firstColor()
    {
      return self()->mFirstColor;
    }

    /**
      Set lastColor
    */
    static
    void setLastColor( const QColor & v )
    {
      if (!self()->isImmutable( QStringLiteral( "lastColor" ) ))
        self()->mLastColor = v;
    }

    /**
      Get lastColor
    */
    static
    QColor lastColor()
    {
      return self()->mLastColor;
    }

  protected:
    InfoWidgetPluginSettings();
    friend class InfoWidgetPluginSettingsHelper;


    // general
    bool mShowPeerView;
    bool mShowChunkView;
    bool mShowTrackersView;
    bool mShowWebSeedsTab;
    QColor mFirstColor;
    QColor mLastColor;

  private:
};

#endif

