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

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

class KLSConfig : public TDEConfigSkeleton
{
  public:

    static KLSConfig *self();
    ~KLSConfig();

    /**
      Set Maximum number of entries in the combo url.
    */
    static
    void setMaxCountComboUrl( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "MaxCountComboUrl" ) ))
        self()->mMaxCountComboUrl = v;
    }

    /**
      Get Maximum number of entries in the combo url.
    */
    static
    int maxCountComboUrl()
    {
      return self()->mMaxCountComboUrl;
    }

    /**
      Set Maximum number of simultaneous connections.
    */
    static
    void setMaxConnectionsNumber( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "MaxConnectionsNumber" ) ))
        self()->mMaxConnectionsNumber = v;
    }

    /**
      Get Maximum number of simultaneous connections.
    */
    static
    int maxConnectionsNumber()
    {
      return self()->mMaxConnectionsNumber;
    }

    /**
      Set Timeout on getting an URL.
    */
    static
    void setTimeOut( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "TimeOut" ) ))
        self()->mTimeOut = v;
    }

    /**
      Get Timeout on getting an URL.
    */
    static
    int timeOut()
    {
      return self()->mTimeOut;
    }

    /**
      Set History of combo url.
    */
    static
    void setComboUrlHistory( const TQStringList & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "ComboUrlHistory" ) ))
        self()->mComboUrlHistory = v;
    }

    /**
      Get History of combo url.
    */
    static
    TQStringList comboUrlHistory()
    {
      return self()->mComboUrlHistory;
    }

    /**
      Set Whether to do a recursive check.
    */
    static
    void setRecursiveCheck( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "RecursiveCheck" ) ))
        self()->mRecursiveCheck = v;
    }

    /**
      Get Whether to do a recursive check.
    */
    static
    bool recursiveCheck()
    {
      return self()->mRecursiveCheck;
    }

    /**
      Set Maximum depth to check.
    */
    static
    void setDepth( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Depth" ) ))
        self()->mDepth = v;
    }

    /**
      Get Maximum depth to check.
    */
    static
    int depth()
    {
      return self()->mDepth;
    }

    /**
      Set Whether to check parent folders.
    */
    static
    void setCheckParentFolders( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "CheckParentFolders" ) ))
        self()->mCheckParentFolders = v;
    }

    /**
      Get Whether to check parent folders.
    */
    static
    bool checkParentFolders()
    {
      return self()->mCheckParentFolders;
    }

    /**
      Set Whether to check external links.
    */
    static
    void setCheckExternalLinks( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "CheckExternalLinks" ) ))
        self()->mCheckExternalLinks = v;
    }

    /**
      Get Whether to check external links.
    */
    static
    bool checkExternalLinks()
    {
      return self()->mCheckExternalLinks;
    }

    /**
      Set Whether to remeber the check settings like depth, and so on, on exit.
    */
    static
    void setRememberCheckSettings( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "RememberCheckSettings" ) ))
        self()->mRememberCheckSettings = v;
    }

    /**
      Get Whether to remeber the check settings like depth, and so on, on exit.
    */
    static
    bool rememberCheckSettings()
    {
      return self()->mRememberCheckSettings;
    }

    /**
      Set Whether preview prefix in Quanta project is used to set the URL to check.
    */
    static
    void setUseQuantaUrlPreviewPrefix( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "UseQuantaUrlPreviewPrefix" ) ))
        self()->mUseQuantaUrlPreviewPrefix = v;
    }

    /**
      Get Whether preview prefix in Quanta project is used to set the URL to check.
    */
    static
    bool useQuantaUrlPreviewPrefix()
    {
      return self()->mUseQuantaUrlPreviewPrefix;
    }

    /**
      Set Whether to display a tree view or a flat view in the results view.
    */
    static
    void setDisplayTreeView( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "DisplayTreeView" ) ))
        self()->mDisplayTreeView = v;
    }

    /**
      Get Whether to display a tree view or a flat view in the results view.
    */
    static
    bool displayTreeView()
    {
      return self()->mDisplayTreeView;
    }

    /**
      Set Whether to display a tree view or a flat view in the results view.
    */
    static
    void setDisplayFlatView( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "DisplayFlatView" ) ))
        self()->mDisplayFlatView = v;
    }

    /**
      Get Whether to display a tree view or a flat view in the results view.
    */
    static
    bool displayFlatView()
    {
      return self()->mDisplayFlatView;
    }

    /**
      Set Whether to automatically adjust the width of the result columns (Not used).
    */
    static
    void setAutoAdjustColumnWidth( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "AutoAdjustColumnWidth" ) ))
        self()->mAutoAdjustColumnWidth = v;
    }

    /**
      Get Whether to automatically adjust the width of the result columns (Not used).
    */
    static
    bool autoAdjustColumnWidth()
    {
      return self()->mAutoAdjustColumnWidth;
    }

    /**
      Set Whether the viewport of the result view should follow the last link checked.
    */
    static
    void setFollowLastLinkChecked( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "FollowLastLinkChecked" ) ))
        self()->mFollowLastLinkChecked = v;
    }

    /**
      Get Whether the viewport of the result view should follow the last link checked.
    */
    static
    bool followLastLinkChecked()
    {
      return self()->mFollowLastLinkChecked;
    }

    /**
      Set Whether the user can see if the markup is valid by showing a column with an icon indicator.
    */
    static
    void setShowMarkupStatus( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "ShowMarkupStatus" ) ))
        self()->mShowMarkupStatus = v;
    }

    /**
      Get Whether the user can see if the markup is valid by showing a column with an icon indicator.
    */
    static
    bool showMarkupStatus()
    {
      return self()->mShowMarkupStatus;
    }

    /**
      Set Whether to send an User-Agent in HTTP requests.
    */
    static
    void setSendIdentification( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "SendIdentification" ) ))
        self()->mSendIdentification = v;
    }

    /**
      Get Whether to send an User-Agent in HTTP requests.
    */
    static
    bool sendIdentification()
    {
      return self()->mSendIdentification;
    }

    /**
      Set Defines the HTTP User-Agent to send.
    */
    static
    void setUserAgent( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "UserAgent" ) ))
        self()->mUserAgent = v;
    }

    /**
      Get Defines the HTTP User-Agent to send.
    */
    static
    TQString userAgent()
    {
      return self()->mUserAgent;
    }

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


    // klinkstatus
    int mMaxCountComboUrl;
    int mMaxConnectionsNumber;
    int mTimeOut;
    TQStringList mComboUrlHistory;
    bool mRecursiveCheck;
    int mDepth;
    bool mCheckParentFolders;
    bool mCheckExternalLinks;
    bool mRememberCheckSettings;
    bool mUseQuantaUrlPreviewPrefix;
    bool mDisplayTreeView;
    bool mDisplayFlatView;
    bool mAutoAdjustColumnWidth;
    bool mFollowLastLinkChecked;
    bool mShowMarkupStatus;
    bool mSendIdentification;
    TQString mUserAgent;

  private:
};

#endif

