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

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

namespace IncidenceEditorNG {

class IncidenceEditorSettingsBase : public KConfigSkeleton
{
  public:
    enum EnumDefaultEmailAttachMethod { Ask, Link, InlineFull, InlineBody };

    IncidenceEditorSettingsBase( );
    ~IncidenceEditorSettingsBase();

    /**
      Set Default Email Attachment Method
    */
    void setDefaultEmailAttachMethod( int v )
    {
      if (!isImmutable( QStringLiteral( "DefaultEmailAttachMethod" ) ))
        mDefaultEmailAttachMethod = v;
    }

    /**
      Get Default Email Attachment Method
    */
    int defaultEmailAttachMethod() const
    {
      return mDefaultEmailAttachMethod;
    }

    /**
      Get Item object corresponding to DefaultEmailAttachMethod()
    */
    ItemEnum *defaultEmailAttachMethodItem()
    {
      return mDefaultEmailAttachMethodItem;
    }

    /**
      Set LastSelectedFolder
    */
    void setLastSelectedFolder( qint64 v )
    {
      if (!isImmutable( QStringLiteral( "LastSelectedFolder" ) ))
        mLastSelectedFolder = v;
    }

    /**
      Get LastSelectedFolder
    */
    qint64 lastSelectedFolder() const
    {
      return mLastSelectedFolder;
    }

    /**
      Get Item object corresponding to LastSelectedFolder()
    */
    ItemLongLong *lastSelectedFolderItem()
    {
      return mLastSelectedFolderItem;
    }

  protected:
  public:

    // AttachmentHandling
    int mDefaultEmailAttachMethod;

    // Collection
    qint64 mLastSelectedFolder;

  private:
    ItemEnum *mDefaultEmailAttachMethodItem;
    ItemLongLong *mLastSelectedFolderItem;
};

}

#endif

