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

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

class LayoutSettings : public KConfigSkeleton
{
  public:

    static LayoutSettings *self();
    ~LayoutSettings();

    /**
      Set HeaderWidths
    */
    static
    void setHeaderWidths( const QList<int> & v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "HeaderWidths" ) ))
        self()->mHeaderWidths = v;
    }

    /**
      Get HeaderWidths
    */
    static
    QList<int> headerWidths()
    {
      return self()->mHeaderWidths;
    }

    /**
      Set AttachedExpanded
    */
    static
    void setAttachedExpanded( bool v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "AttachedExpanded" ) ))
        self()->mAttachedExpanded = v;
    }

    /**
      Get AttachedExpanded
    */
    static
    bool attachedExpanded()
    {
      return self()->mAttachedExpanded;
    }

    /**
      Set DetatchedExpanded
    */
    static
    void setDetatchedExpanded( bool v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "DetatchedExpanded" ) ))
        self()->mDetatchedExpanded = v;
    }

    /**
      Get DetatchedExpanded
    */
    static
    bool detatchedExpanded()
    {
      return self()->mDetatchedExpanded;
    }

  protected:
    LayoutSettings();
    friend class LayoutSettingsHelper;


    // Layout
    QList<int> mHeaderWidths;
    bool mAttachedExpanded;
    bool mDetatchedExpanded;

  private:
};

#endif

