// This file is generated by kconfig_compiler_kf5 from infoviewsettings.kcfg.
// All changes you do to this file will be lost.
#ifndef KASTEN_INFOVIEWSETTINGS_H
#define KASTEN_INFOVIEWSETTINGS_H

#include <kconfigskeleton.h>
#include <QCoreApplication>
#include <QDebug>

namespace Kasten {

class InfoViewSettings : public KConfigSkeleton
{
  public:

    static InfoViewSettings *self();
    ~InfoViewSettings() override;

    /**
      Set ColumnsWidth
    */
    static
    void setColumnsWidth( const QList<int> & v )
    {
      if (!self()->isColumnsWidthImmutable())
        self()->mColumnsWidth = v;
    }

    /**
      Get ColumnsWidth
    */
    static
    QList<int> columnsWidth()
    {
      return self()->mColumnsWidth;
    }

    /**
      Is ColumnsWidth Immutable
    */
    static
    bool isColumnsWidthImmutable()
    {
      return self()->isImmutable( QStringLiteral( "ColumnsWidth" ) );
    }

    /**
      Set Style
    */
    static
    void setStyle( const QString & v )
    {
      if (!self()->isStyleImmutable())
        self()->mStyle = v;
    }

    /**
      Get Style
    */
    static
    QString style()
    {
      return self()->mStyle;
    }

    /**
      Is Style Immutable
    */
    static
    bool isStyleImmutable()
    {
      return self()->isImmutable( QStringLiteral( "Style" ) );
    }

    /**
      Set FixedFont
    */
    static
    void setFixedFont( const QString & v )
    {
      if (!self()->isFixedFontImmutable())
        self()->mFixedFont = v;
    }

    /**
      Get FixedFont
    */
    static
    QString fixedFont()
    {
      return self()->mFixedFont;
    }

    /**
      Is FixedFont Immutable
    */
    static
    bool isFixedFontImmutable()
    {
      return self()->isImmutable( QStringLiteral( "FixedFont" ) );
    }

    /**
      Set Font
    */
    static
    void setFont( const QString & v )
    {
      if (!self()->isFontImmutable())
        self()->mFont = v;
    }

    /**
      Get Font
    */
    static
    QString font()
    {
      return self()->mFont;
    }

    /**
      Is Font Immutable
    */
    static
    bool isFontImmutable()
    {
      return self()->isImmutable( QStringLiteral( "Font" ) );
    }

  protected:
    InfoViewSettings();
    friend class InfoViewSettingsHelper;


    // InfoView
    QList<int> mColumnsWidth;
    QString mStyle;
    QString mFixedFont;
    QString mFont;

  private:
};

}

#endif

