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

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

#include <cantor_export.h>
class Q_DECL_EXPORT Settings : public KConfigSkeleton
{
  public:

    static Settings *self();
    ~Settings();

    /**
      Set The Backend that is used by default
    */
    static
    void setDefaultBackend( const QString & v )
    {
      if (!self()->isImmutable( QStringLiteral( "DefaultBackend" ) ))
        self()->mDefaultBackend = v;
    }

    /**
      Get The Backend that is used by default
    */
    static
    QString defaultBackend()
    {
      return self()->mDefaultBackend;
    }

    /**
      Set Do Typesetting by default
    */
    static
    void setTypesetDefault( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "TypesetDefault" ) ))
        self()->mTypesetDefault = v;
    }

    /**
      Get Do Typesetting by default
    */
    static
    bool typesetDefault()
    {
      return self()->mTypesetDefault;
    }

    /**
      Set Do Syntax Highlighting by default
    */
    static
    void setHighlightDefault( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "HighlightDefault" ) ))
        self()->mHighlightDefault = v;
    }

    /**
      Get Do Syntax Highlighting by default
    */
    static
    bool highlightDefault()
    {
      return self()->mHighlightDefault;
    }

    /**
      Set Enable Completions by default
    */
    static
    void setCompletionDefault( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "CompletionDefault" ) ))
        self()->mCompletionDefault = v;
    }

    /**
      Get Enable Completions by default
    */
    static
    bool completionDefault()
    {
      return self()->mCompletionDefault;
    }

    /**
      Set Enable Numbering of Expressions by default
    */
    static
    void setExpressionNumberingDefault( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "ExpressionNumberingDefault" ) ))
        self()->mExpressionNumberingDefault = v;
    }

    /**
      Get Enable Numbering of Expressions by default
    */
    static
    bool expressionNumberingDefault()
    {
      return self()->mExpressionNumberingDefault;
    }

    /**
      Set Animate changes in the Worksheet by default
    */
    static
    void setAnimationDefault( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "AnimationDefault" ) ))
        self()->mAnimationDefault = v;
    }

    /**
      Get Animate changes in the Worksheet by default
    */
    static
    bool animationDefault()
    {
      return self()->mAnimationDefault;
    }

    /**
      Set Automatically reevaluate the entries below the current
    */
    static
    void setAutoEval( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "AutoEval" ) ))
        self()->mAutoEval = v;
    }

    /**
      Get Automatically reevaluate the entries below the current
    */
    static
    bool autoEval()
    {
      return self()->mAutoEval;
    }

  protected:
    Settings();
    friend class SettingsHelper;


    // Cantor
    QString mDefaultBackend;
    bool mTypesetDefault;
    bool mHighlightDefault;
    bool mCompletionDefault;
    bool mExpressionNumberingDefault;
    bool mAnimationDefault;
    bool mAutoEval;

  private:
};

#endif

