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

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

class PreSettings : public TDEConfigSkeleton
{
  public:

    PreSettings( const TQString & settingsId );
    ~PreSettings();

    /**
      Set Name of the settings profile
    */
    void setName( const TQString & v )
    {
      if (!isImmutable( TQString::fromLatin1( "Name" ) ))
        mName = v;
    }

    /**
      Get Name of the settings profile
    */
    TQString name() const
    {
      return mName;
    }

    /**
      Get Item object corresponding to Name()
    */
    ItemString *nameItem()
    {
      return mNameItem;
    }

    /**
      Set Query
    */
    void setQuery( const TQString & v )
    {
      if (!isImmutable( TQString::fromLatin1( "Query" ) ))
        mQuery = v;
    }

    /**
      Get Query
    */
    TQString query() const
    {
      return mQuery;
    }

    /**
      Get Item object corresponding to Query()
    */
    ItemString *queryItem()
    {
      return mQueryItem;
    }

    /**
      Set Threshold
    */
    void setThreshold( const TQString & v )
    {
      if (!isImmutable( TQString::fromLatin1( "Threshold" ) ))
        mThreshold = v;
    }

    /**
      Get Threshold
    */
    TQString threshold() const
    {
      return mThreshold;
    }

    /**
      Get Item object corresponding to Threshold()
    */
    ItemString *thresholdItem()
    {
      return mThresholdItem;
    }

    /**
      Set Blocking
    */
    void setBlocking( const TQString & v )
    {
      if (!isImmutable( TQString::fromLatin1( "Blocking" ) ))
        mBlocking = v;
    }

    /**
      Get Blocking
    */
    TQString blocking() const
    {
      return mBlocking;
    }

    /**
      Get Item object corresponding to Blocking()
    */
    ItemString *blockingItem()
    {
      return mBlockingItem;
    }

  protected:
    TQString mParamsettingsId;

    // Presetting #$(settingsId)
    TQString mName;
    TQString mQuery;
    TQString mThreshold;
    TQString mBlocking;

  private:
    ItemString *mNameItem;
    ItemString *mQueryItem;
    ItemString *mThresholdItem;
    ItemString *mBlockingItem;
};

#endif

