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

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

class DocumentSettings : public KConfigSkeleton
{
  public:

    DocumentSettings( const QString & fileurl );
    ~DocumentSettings();

    /**
      Set Selected tenses for conjugation practice.
    */
    void setConjugationTenses( const QStringList & v )
    {
      if (!isImmutable( QStringLiteral( "ConjugationTenses" ) ))
        mConjugationTenses = v;
    }

    /**
      Get Selected tenses for conjugation practice.
    */
    QStringList conjugationTenses() const
    {
      return mConjugationTenses;
    }

    /**
      Get Item object corresponding to ConjugationTenses()
    */
    ItemStringList *conjugationTensesItem()
    {
      return mConjugationTensesItem;
    }

    /**
      Set Visible columns in the main editor window.
    */
    void setVisibleColumns( const QList<int> & v )
    {
      if (!isImmutable( QStringLiteral( "VisibleColumns" ) ))
        mVisibleColumns = v;
    }

    /**
      Get Visible columns in the main editor window.
    */
    QList<int> visibleColumns() const
    {
      return mVisibleColumns;
    }

    /**
      Get Item object corresponding to VisibleColumns()
    */
    ItemIntList *visibleColumnsItem()
    {
      return mVisibleColumnsItem;
    }

  protected:
    QString mParamfileurl;

    // Document $(fileurl)
    QStringList mConjugationTenses;
    QList<int> mVisibleColumns;

  private:
    ItemStringList *mConjugationTensesItem;
    ItemIntList *mVisibleColumnsItem;
};

#endif

