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

#include <tdeconfigskeleton.h>
#include <kdebug.h>

class InfoWidgetPluginSettings : public TDEConfigSkeleton
{
  public:

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

    /**
      Set Show peer view tab in main window
    */
    static
    void setShowPeerView( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "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( TQString::fromLatin1( "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( TQString::fromLatin1( "showTrackersView" ) ))
        self()->mShowTrackersView = v;
    }

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

    static
    void writeConfig()
    {
      static_cast<TDEConfigSkeleton*>(self())->writeConfig();
    }
  protected:
    InfoWidgetPluginSettings();
    static InfoWidgetPluginSettings *mSelf;


    // general
    bool mShowPeerView;
    bool mShowChunkView;
    bool mShowTrackersView;

  private:
};

#endif

