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

#include <kconfigskeleton.h>
#include <kdebug.h>

class KLSConfig : public KConfigSkeleton
{
  public:

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

    /**
      Set Whether to use the system real name and e-mail
    */
    static
    void setUseSystemIdentity( bool v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "UseSystemIdentity" ) ))
        self()->mUseSystemIdentity = v;
    }

    /**
      Get Whether to use the system real name and e-mail
    */
    static
    bool useSystemIdentity()
    {
      return self()->mUseSystemIdentity;
    }

    /**
      Set The name associated to the user
    */
    static
    void setUserName( const QString & v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "UserName" ) ))
        self()->mUserName = v;
    }

    /**
      Get The name associated to the user
    */
    static
    QString userName()
    {
      return self()->mUserName;
    }

    /**
      Set The email associated to the user
    */
    static
    void setUserEmail( const QString & v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "UserEmail" ) ))
        self()->mUserEmail = v;
    }

    /**
      Get The email associated to the user
    */
    static
    QString userEmail()
    {
      return self()->mUserEmail;
    }

    /**
      Set Maximum number of entries in the combo url.
    */
    static
    void setMaxCountComboUrl( int v )
    {
      if (!self()->isImmutable( QString::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( QString::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( QString::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 QStringList & v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "ComboUrlHistory" ) ))
        self()->mComboUrlHistory = v;
    }

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

    /**
      Set Maximum depth to check.
    */
    static
    void setDepth( int v )
    {
      if (!self()->isImmutable( QString::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( QString::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( QString::fromLatin1( "CheckExternalLinks" ) ))
        self()->mCheckExternalLinks = v;
    }

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

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

    /**
      Get Whether to remember 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( QString::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( QString::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( QString::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( QString::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( QString::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 to send an User-Agent in HTTP requests.
    */
    static
    void setSendIdentification( bool v )
    {
      if (!self()->isImmutable( QString::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 QString & v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "UserAgent" ) ))
        self()->mUserAgent = v;
    }

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

    /**
      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( QString::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 Available Stylesheets for exporting the results in HTML
    */
    static
    void setStylesheetFiles( const QStringList & v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "StylesheetFiles" ) ))
        self()->mStylesheetFiles = v;
    }

    /**
      Get Available Stylesheets for exporting the results in HTML
    */
    static
    QStringList stylesheetFiles()
    {
      return self()->mStylesheetFiles;
    }

    /**
      Set Defines the stylesheet to use when exporting results to HTML
    */
    static
    void setPreferedStylesheet( const QString & v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "PreferedStylesheet" ) ))
        self()->mPreferedStylesheet = v;
    }

    /**
      Get Defines the stylesheet to use when exporting results to HTML
    */
    static
    QString preferedStylesheet()
    {
      return self()->mPreferedStylesheet;
    }

    /**
      Set This option specifies the number of spaces Tidy uses to indent content, when indentation is enabled.
    */
    static
    void setIndentationSpaces( int v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "IndentationSpaces" ) ))
        self()->mIndentationSpaces = v;
    }

    /**
      Get This option specifies the number of spaces Tidy uses to indent content, when indentation is enabled.
    */
    static
    int indentationSpaces()
    {
      return self()->mIndentationSpaces;
    }

    /**
      Set Whether to do line wrapping.
    */
    static
    void setWrapLines( bool v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "WrapLines" ) ))
        self()->mWrapLines = v;
    }

    /**
      Get Whether to do line wrapping.
    */
    static
    bool wrapLines()
    {
      return self()->mWrapLines;
    }

    /**
      Set This option specifies the right margin Tidy uses for line wrapping. Tidy tries to wrap lines so that they do not exceed this length.
    */
    static
    void setWrapColumn( int v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "WrapColumn" ) ))
        self()->mWrapColumn = v;
    }

    /**
      Get This option specifies the right margin Tidy uses for line wrapping. Tidy tries to wrap lines so that they do not exceed this length.
    */
    static
    int wrapColumn()
    {
      return self()->mWrapColumn;
    }

    /**
      Set This option specifies if Tidy should output tag names in upper case. The default is no, which results in lower case tag names, except for XML input, where the original case is preserved.
    */
    static
    void setUpperCaseTags( bool v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "UpperCaseTags" ) ))
        self()->mUpperCaseTags = v;
    }

    /**
      Get This option specifies if Tidy should output tag names in upper case. The default is no, which results in lower case tag names, except for XML input, where the original case is preserved.
    */
    static
    bool upperCaseTags()
    {
      return self()->mUpperCaseTags;
    }

    /**
      Set This option specifies if Tidy should output attribute names in upper case. The default is no, which results in lower case attribute names, except for XML input, where the original case is preserved.
    */
    static
    void setUpperCaseAttributes( bool v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "UpperCaseAttributes" ) ))
        self()->mUpperCaseAttributes = v;
    }

    /**
      Get This option specifies if Tidy should output attribute names in upper case. The default is no, which results in lower case attribute names, except for XML input, where the original case is preserved.
    */
    static
    bool upperCaseAttributes()
    {
      return self()->mUpperCaseAttributes;
    }

    /**
      Set This option specifies if Tidy should pretty print output, writing it as well-formed XML. Any entities not defined in XML 1.0 will be written as numeric entities to allow them to be parsed by a XML parser. The original case of tags and attributes will be preserved, regardless of other options.
    */
    static
    void setOutputXML( bool v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "OutputXML" ) ))
        self()->mOutputXML = v;
    }

    /**
      Get This option specifies if Tidy should pretty print output, writing it as well-formed XML. Any entities not defined in XML 1.0 will be written as numeric entities to allow them to be parsed by a XML parser. The original case of tags and attributes will be preserved, regardless of other options.
    */
    static
    bool outputXML()
    {
      return self()->mOutputXML;
    }

    /**
      Set This option specifies if Tidy should strip out surplus presentational tags and attributes replacing them by style rules and structural markup as appropriate. It works well on the HTML saved by Microsoft Office products.
    */
    static
    void setTidyClean( bool v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "TidyClean" ) ))
        self()->mTidyClean = v;
    }

    /**
      Get This option specifies if Tidy should strip out surplus presentational tags and attributes replacing them by style rules and structural markup as appropriate. It works well on the HTML saved by Microsoft Office products.
    */
    static
    bool tidyClean()
    {
      return self()->mTidyClean;
    }

    /**
      Set This option specifies the character encoding Tidy uses for both the input and output.
    */
    static
    void setEncoding( int v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "Encoding" ) ))
        self()->mEncoding = v;
    }

    /**
      Get This option specifies the character encoding Tidy uses for both the input and output.
    */
    static
    int encoding()
    {
      return self()->mEncoding;
    }

  protected:
    KLSConfig();
    friend class KLSConfigHelper;


    // pim
    bool mUseSystemIdentity;
    QString mUserName;
    QString mUserEmail;

    // klinkstatus
    int mMaxCountComboUrl;
    int mMaxConnectionsNumber;
    int mTimeOut;
    QStringList mComboUrlHistory;
    int mDepth;
    bool mCheckParentFolders;
    bool mCheckExternalLinks;
    bool mRememberCheckSettings;
    bool mUseQuantaUrlPreviewPrefix;
    bool mDisplayTreeView;
    bool mDisplayFlatView;
    bool mAutoAdjustColumnWidth;
    bool mFollowLastLinkChecked;
    bool mSendIdentification;
    QString mUserAgent;
    bool mShowMarkupStatus;
    QStringList mStylesheetFiles;
    QString mPreferedStylesheet;

    // tidy
    int mIndentationSpaces;
    bool mWrapLines;
    int mWrapColumn;
    bool mUpperCaseTags;
    bool mUpperCaseAttributes;
    bool mOutputXML;
    bool mTidyClean;
    int mEncoding;

  private:
};

#endif

