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

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

class FileViewGitPluginSettings : public KConfigSkeleton
{
  public:

    static FileViewGitPluginSettings *self();
    ~FileViewGitPluginSettings();

    /**
      Set Dialog height
    */
    static
    void setCommitDialogHeight( int v )
    {
      if (v < 50)
      {
        qDebug() << "setCommitDialogHeight: value " << v << " is less than the minimum value of 50";
        v = 50;
      }
      if (!self()->isImmutable( QStringLiteral( "commitDialogHeight" ) ))
        self()->mCommitDialogHeight = v;
    }

    /**
      Get Dialog height
    */
    static
    int commitDialogHeight()
    {
      return self()->mCommitDialogHeight;
    }

    /**
      Set Dialog width
    */
    static
    void setCommitDialogWidth( int v )
    {
      if (v < 50)
      {
        qDebug() << "setCommitDialogWidth: value " << v << " is less than the minimum value of 50";
        v = 50;
      }
      if (!self()->isImmutable( QStringLiteral( "commitDialogWidth" ) ))
        self()->mCommitDialogWidth = v;
    }

    /**
      Get Dialog width
    */
    static
    int commitDialogWidth()
    {
      return self()->mCommitDialogWidth;
    }

  protected:
    FileViewGitPluginSettings();
    friend class FileViewGitPluginSettingsHelper;


    // CommitDialogSettings
    int mCommitDialogHeight;
    int mCommitDialogWidth;

  private:
};

#endif

