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

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

#include <QStandardPaths>
class ScilabSettings : public KConfigSkeleton
{
  public:

    static ScilabSettings *self();
    ~ScilabSettings();


    /**
      Get Path to scilab-adv-cli command (Warning: Scilab version must better or equal than 5.4 version)
    */
    static
    QUrl path()
    {
      return self()->mPath;
    }


    /**
      Get Integrate Plots into the Worksheet
    */
    static
    bool integratePlots()
    {
      return self()->mIntegratePlots;
    }


    /**
      Get List of scripts to autorun at the beginning of session
    */
    static
    QStringList autorunScripts()
    {
      return self()->mAutorunScripts;
    }

  protected:
    ScilabSettings();
    friend class ScilabSettingsHelper;


    // ScilabBackend
    QUrl mPath;
    bool mIntegratePlots;
    QStringList mAutorunScripts;

  private:
};

#endif

