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

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

class Settings : public KConfigSkeleton
{
  public:

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

    /**
      Set Show text beside icon
    */
    static
    void setShowButtonText( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "showButtonText" ) ))
        self()->mShowButtonText = v;
    }

    /**
      Get Show text beside icon
    */
    static
    bool showButtonText()
    {
      return self()->mShowButtonText;
    }

    /**
      Set version
    */
    static
    void setVersion( const QString & v )
    {
      if (!self()->isImmutable( QStringLiteral( "version" ) ))
        self()->mVersion = v;
    }

    /**
      Get version
    */
    static
    QString version()
    {
      return self()->mVersion;
    }

    /**
      Set fastGraphics
    */
    static
    void setFastGraphics( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "fastGraphics" ) ))
        self()->mFastGraphics = v;
    }

    /**
      Get fastGraphics
    */
    static
    bool fastGraphics()
    {
      return self()->mFastGraphics;
    }

    /**
      Set vSplitterSizeTop
    */
    static
    void setVSplitterSizeTop( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "vSplitterSizeTop" ) ))
        self()->mVSplitterSizeTop = v;
    }

    /**
      Get vSplitterSizeTop
    */
    static
    int vSplitterSizeTop()
    {
      return self()->mVSplitterSizeTop;
    }

    /**
      Set vSplitterSizeBottom
    */
    static
    void setVSplitterSizeBottom( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "vSplitterSizeBottom" ) ))
        self()->mVSplitterSizeBottom = v;
    }

    /**
      Get vSplitterSizeBottom
    */
    static
    int vSplitterSizeBottom()
    {
      return self()->mVSplitterSizeBottom;
    }

    /**
      Set hSplitterSizeLeft
    */
    static
    void setHSplitterSizeLeft( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "hSplitterSizeLeft" ) ))
        self()->mHSplitterSizeLeft = v;
    }

    /**
      Get hSplitterSizeLeft
    */
    static
    int hSplitterSizeLeft()
    {
      return self()->mHSplitterSizeLeft;
    }

    /**
      Set hSplitterSizeRight
    */
    static
    void setHSplitterSizeRight( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "hSplitterSizeRight" ) ))
        self()->mHSplitterSizeRight = v;
    }

    /**
      Get hSplitterSizeRight
    */
    static
    int hSplitterSizeRight()
    {
      return self()->mHSplitterSizeRight;
    }

    /**
      Set hScriptSplitterSizeLeft
    */
    static
    void setHScriptSplitterSizeLeft( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "hScriptSplitterSizeLeft" ) ))
        self()->mHScriptSplitterSizeLeft = v;
    }

    /**
      Get hScriptSplitterSizeLeft
    */
    static
    int hScriptSplitterSizeLeft()
    {
      return self()->mHScriptSplitterSizeLeft;
    }

    /**
      Set hScriptSplitterSizeRight
    */
    static
    void setHScriptSplitterSizeRight( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "hScriptSplitterSizeRight" ) ))
        self()->mHScriptSplitterSizeRight = v;
    }

    /**
      Get hScriptSplitterSizeRight
    */
    static
    int hScriptSplitterSizeRight()
    {
      return self()->mHScriptSplitterSizeRight;
    }

    /**
      Set lastOpenedDirectory
    */
    static
    void setLastOpenedDirectory( const QString & v )
    {
      if (!self()->isImmutable( QStringLiteral( "lastOpenedDirectory" ) ))
        self()->mLastOpenedDirectory = v;
    }

    /**
      Get lastOpenedDirectory
    */
    static
    QString lastOpenedDirectory()
    {
      return self()->mLastOpenedDirectory;
    }

    /**
      Set Path where include manager seek for includes.
    */
    static
    void setIncludePath( const QStringList & v )
    {
      if (!self()->isImmutable( QStringLiteral( "includePath" ) ))
        self()->mIncludePath = v;
    }

    /**
      Get Path where include manager seek for includes.
    */
    static
    QStringList includePath()
    {
      return self()->mIncludePath;
    }

  protected:
    Settings();
    friend class SettingsHelper;


    // ItemPalette
    bool mShowButtonText;

    // RocsConfigVersion
    QString mVersion;

    // GraphicsView
    bool mFastGraphics;

    // MainWindow
    int mVSplitterSizeTop;
    int mVSplitterSizeBottom;
    int mHSplitterSizeLeft;
    int mHSplitterSizeRight;
    int mHScriptSplitterSizeLeft;
    int mHScriptSplitterSizeRight;
    QString mLastOpenedDirectory;

    // IncludeManager
    QStringList mIncludePath;

  private:
};

#endif

