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

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

class FileViewHgPluginSettings : public KConfigSkeleton
{
  public:

    static FileViewHgPluginSettings *self();
    ~FileViewHgPluginSettings();

    /**
      Set Dialog height
    */
    static
    void setCommitDialogHeight( int v )
    {
      if (v < 400)
      {
        qDebug() << "setCommitDialogHeight: value " << v << " is less than the minimum value of 400";
        v = 400;
      }
      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 < 500)
      {
        qDebug() << "setCommitDialogWidth: value " << v << " is less than the minimum value of 500";
        v = 500;
      }
      if (!self()->isImmutable( QStringLiteral( "commitDialogWidth" ) ))
        self()->mCommitDialogWidth = v;
    }

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

    /**
      Set Divides file list and editors with commit details
    */
    static
    void setVerticalSplitterSizes( const QList<int> & v )
    {
      if (!self()->isImmutable( QStringLiteral( "verticalSplitterSizes" ) ))
        self()->mVerticalSplitterSizes = v;
    }

    /**
      Get Divides file list and editors with commit details
    */
    static
    QList<int> verticalSplitterSizes()
    {
      return self()->mVerticalSplitterSizes;
    }

    /**
      Set Divides commit editor and diff editor
    */
    static
    void setHorizontalSplitterSizes( const QList<int> & v )
    {
      if (!self()->isImmutable( QStringLiteral( "horizontalSplitterSizes" ) ))
        self()->mHorizontalSplitterSizes = v;
    }

    /**
      Get Divides commit editor and diff editor
    */
    static
    QList<int> horizontalSplitterSizes()
    {
      return self()->mHorizontalSplitterSizes;
    }

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

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

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

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

    /**
      Set Dialog height
    */
    static
    void setCloneDialogHeight( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "cloneDialogHeight" ) ))
        self()->mCloneDialogHeight = v;
    }

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

    /**
      Set Dialog width
    */
    static
    void setCloneDialogWidth( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "cloneDialogWidth" ) ))
        self()->mCloneDialogWidth = v;
    }

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

    /**
      Set Dialog height
    */
    static
    void setPushDialogBigHeight( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "pushDialogBigHeight" ) ))
        self()->mPushDialogBigHeight = v;
    }

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

    /**
      Set Dialog width
    */
    static
    void setPushDialogBigWidth( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "pushDialogBigWidth" ) ))
        self()->mPushDialogBigWidth = v;
    }

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

    /**
      Set Dialog height
    */
    static
    void setPullDialogBigHeight( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "pullDialogBigHeight" ) ))
        self()->mPullDialogBigHeight = v;
    }

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

    /**
      Set Dialog width
    */
    static
    void setPullDialogBigWidth( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "pullDialogBigWidth" ) ))
        self()->mPullDialogBigWidth = v;
    }

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

    /**
      Set Dialog height
    */
    static
    void setMergeDialogHeight( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "mergeDialogHeight" ) ))
        self()->mMergeDialogHeight = v;
    }

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

    /**
      Set Dialog width
    */
    static
    void setMergeDialogWidth( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "mergeDialogWidth" ) ))
        self()->mMergeDialogWidth = v;
    }

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

    /**
      Set Dialog height
    */
    static
    void setBundleDialogHeight( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "bundleDialogHeight" ) ))
        self()->mBundleDialogHeight = v;
    }

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

    /**
      Set Dialog width
    */
    static
    void setBundleDialogWidth( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "bundleDialogWidth" ) ))
        self()->mBundleDialogWidth = v;
    }

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

    /**
      Set Dialog height
    */
    static
    void setExportDialogHeight( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "exportDialogHeight" ) ))
        self()->mExportDialogHeight = v;
    }

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

    /**
      Set Dialog width
    */
    static
    void setExportDialogWidth( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "exportDialogWidth" ) ))
        self()->mExportDialogWidth = v;
    }

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

    /**
      Set Dialog height
    */
    static
    void setImportDialogHeight( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "importDialogHeight" ) ))
        self()->mImportDialogHeight = v;
    }

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

    /**
      Set Dialog width
    */
    static
    void setImportDialogWidth( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "importDialogWidth" ) ))
        self()->mImportDialogWidth = v;
    }

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

    /**
      Set Dialog height
    */
    static
    void setServeDialogHeight( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "serveDialogHeight" ) ))
        self()->mServeDialogHeight = v;
    }

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

    /**
      Set Dialog width
    */
    static
    void setServeDialogWidth( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "serveDialogWidth" ) ))
        self()->mServeDialogWidth = v;
    }

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

    /**
      Set Dialog height
    */
    static
    void setBackoutDialogHeight( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "backoutDialogHeight" ) ))
        self()->mBackoutDialogHeight = v;
    }

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

    /**
      Set Dialog width
    */
    static
    void setBackoutDialogWidth( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "backoutDialogWidth" ) ))
        self()->mBackoutDialogWidth = v;
    }

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

  protected:
    FileViewHgPluginSettings();
    friend class FileViewHgPluginSettingsHelper;


    // CommitDialogSettings
    int mCommitDialogHeight;
    int mCommitDialogWidth;
    QList<int> mVerticalSplitterSizes;
    QList<int> mHorizontalSplitterSizes;

    // ConfigDialogSettings
    int mConfigDialogHeight;
    int mConfigDialogWidth;

    // CloneDialogSettings
    int mCloneDialogHeight;
    int mCloneDialogWidth;

    // PushDialogSettings
    int mPushDialogBigHeight;
    int mPushDialogBigWidth;

    // PullDialogSettings
    int mPullDialogBigHeight;
    int mPullDialogBigWidth;

    // MergeDialogSettings
    int mMergeDialogHeight;
    int mMergeDialogWidth;

    // BundleDialogSettings
    int mBundleDialogHeight;
    int mBundleDialogWidth;

    // ExportDialogSettings
    int mExportDialogHeight;
    int mExportDialogWidth;

    // ImportDialogSettings
    int mImportDialogHeight;
    int mImportDialogWidth;

    // ServeDialogSettings
    int mServeDialogHeight;
    int mServeDialogWidth;

    // BackoutDialogSettings
    int mBackoutDialogHeight;
    int mBackoutDialogWidth;

  private:
};

#endif

