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

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

class StatsPluginSettings : public TDEConfigSkeleton
{
  public:

    static StatsPluginSettings *self();
    ~StatsPluginSettings();

    /**
      Set Update charts every
    */
    static
    void setUpdateChartsEveryGuiUpdates( uint v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "UpdateChartsEveryGuiUpdates" ) ))
        self()->mUpdateChartsEveryGuiUpdates = v;
    }

    /**
      Get Update charts every
    */
    static
    uint updateChartsEveryGuiUpdates()
    {
      return self()->mUpdateChartsEveryGuiUpdates;
    }

    /**
      Set Gather data every
    */
    static
    void setGatherDataEveryMs( uint v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "GatherDataEveryMs" ) ))
        self()->mGatherDataEveryMs = v;
    }

    /**
      Get Gather data every
    */
    static
    uint gatherDataEveryMs()
    {
      return self()->mGatherDataEveryMs;
    }

    /**
      Set Toggle peers speed charts
    */
    static
    void setPeersSpeed( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "PeersSpeed" ) ))
        self()->mPeersSpeed = v;
    }

    /**
      Get Toggle peers speed charts
    */
    static
    bool peersSpeed()
    {
      return self()->mPeersSpeed;
    }

    /**
      Set Interval between getting data about peers speed
    */
    static
    void setPeersSpeedDataIval( uint v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "PeersSpeedDataIval" ) ))
        self()->mPeersSpeedDataIval = v;
    }

    /**
      Get Interval between getting data about peers speed
    */
    static
    uint peersSpeedDataIval()
    {
      return self()->mPeersSpeedDataIval;
    }

    /**
      Set Toggle drawing of leechers in swarms
    */
    static
    void setDrawLeechersInSwarms( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "DrawLeechersInSwarms" ) ))
        self()->mDrawLeechersInSwarms = v;
    }

    /**
      Get Toggle drawing of leechers in swarms
    */
    static
    bool drawLeechersInSwarms()
    {
      return self()->mDrawLeechersInSwarms;
    }

    /**
      Set Toggle drawing of seeders in swarms
    */
    static
    void setDrawSeedersInSwarms( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "DrawSeedersInSwarms" ) ))
        self()->mDrawSeedersInSwarms = v;
    }

    /**
      Get Toggle drawing of seeders in swarms
    */
    static
    bool drawSeedersInSwarms()
    {
      return self()->mDrawSeedersInSwarms;
    }

    /**
      Set Download mesurments count
    */
    static
    void setDownloadMeasurements( uint v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "DownloadMeasurements" ) ))
        self()->mDownloadMeasurements = v;
    }

    /**
      Get Download mesurments count
    */
    static
    uint downloadMeasurements()
    {
      return self()->mDownloadMeasurements;
    }

    /**
      Set Peers speed mesurments count
    */
    static
    void setPeersSpeedMeasurements( uint v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "PeersSpeedMeasurements" ) ))
        self()->mPeersSpeedMeasurements = v;
    }

    /**
      Get Peers speed mesurments count
    */
    static
    uint peersSpeedMeasurements()
    {
      return self()->mPeersSpeedMeasurements;
    }

    /**
      Set Upload mesurments count
    */
    static
    void setUploadMeasurements( uint v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "UploadMeasurements" ) ))
        self()->mUploadMeasurements = v;
    }

    /**
      Get Upload mesurments count
    */
    static
    uint uploadMeasurements()
    {
      return self()->mUploadMeasurements;
    }

    /**
      Set Connections mesurments count
    */
    static
    void setConnectionsMeasurements( uint v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "ConnectionsMeasurements" ) ))
        self()->mConnectionsMeasurements = v;
    }

    /**
      Get Connections mesurments count
    */
    static
    uint connectionsMeasurements()
    {
      return self()->mConnectionsMeasurements;
    }

    /**
      Set DHT mesurments count
    */
    static
    void setDHTMeasurements( uint v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "DHTMeasurements" ) ))
        self()->mDHTMeasurements = v;
    }

    /**
      Get DHT mesurments count
    */
    static
    uint dHTMeasurements()
    {
      return self()->mDHTMeasurements;
    }

    /**
      Set OY axis max mode
    */
    static
    void setMaxSpdMode( uint v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "MaxSpdMode" ) ))
        self()->mMaxSpdMode = v;
    }

    /**
      Get OY axis max mode
    */
    static
    uint maxSpdMode()
    {
      return self()->mMaxSpdMode;
    }

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


    // general
    uint mUpdateChartsEveryGuiUpdates;
    uint mGatherDataEveryMs;
    bool mPeersSpeed;
    uint mPeersSpeedDataIval;
    bool mDrawLeechersInSwarms;
    bool mDrawSeedersInSwarms;
    uint mDownloadMeasurements;
    uint mPeersSpeedMeasurements;
    uint mUploadMeasurements;
    uint mConnectionsMeasurements;
    uint mDHTMeasurements;
    uint mMaxSpdMode;

  private:
};

#endif

