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

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

class PlanWorkSettings : public KConfigSkeleton
{
  public:

    static PlanWorkSettings *self();
    ~PlanWorkSettings();

    /**
      Set CurrentView
    */
    static
    void setCurrentView( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "CurrentView" ) ))
        self()->mCurrentView = v;
    }

    /**
      Get CurrentView
    */
    static
    int currentView()
    {
      return self()->mCurrentView;
    }

    /**
      Set TaskWorkPackageView
    */
    static
    void setTaskWorkPackageView( const QString & v )
    {
      if (!self()->isImmutable( QStringLiteral( "TaskWorkPackageView" ) ))
        self()->mTaskWorkPackageView = v;
    }

    /**
      Get TaskWorkPackageView
    */
    static
    QString taskWorkPackageView()
    {
      return self()->mTaskWorkPackageView;
    }

    /**
      Set TaskWPGanttView
    */
    static
    void setTaskWPGanttView( const QString & v )
    {
      if (!self()->isImmutable( QStringLiteral( "TaskWPGanttView" ) ))
        self()->mTaskWPGanttView = v;
    }

    /**
      Get TaskWPGanttView
    */
    static
    QString taskWPGanttView()
    {
      return self()->mTaskWPGanttView;
    }

  protected:
    PlanWorkSettings();
    friend class PlanWorkSettingsHelper;


    // Views
    int mCurrentView;
    QString mTaskWorkPackageView;
    QString mTaskWPGanttView;

  private:
};

#endif

