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

#include <templateparser_export.h>

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

namespace TemplateParser {

class TEMPLATEPARSER_EXPORT Templates : public KConfigSkeleton
{
  public:

    Templates( const QString & folder );
    ~Templates();

    /**
      Set UseCustomTemplates
    */
    void setUseCustomTemplates( bool v )
    {
      if (!isImmutable( QStringLiteral( "UseCustomTemplates" ) ))
        mUseCustomTemplates = v;
    }

    /**
      Get UseCustomTemplates
    */
    bool useCustomTemplates() const
    {
      return mUseCustomTemplates;
    }

    /**
      Get Item object corresponding to UseCustomTemplates()
    */
    ItemBool *useCustomTemplatesItem()
    {
      return mUseCustomTemplatesItem;
    }

    /**
      Set TemplateNewMessage
    */
    void setTemplateNewMessage( const QString & v )
    {
      if (!isImmutable( QStringLiteral( "TemplateNewMessage" ) ))
        mTemplateNewMessage = v;
    }

    /**
      Get TemplateNewMessage
    */
    QString templateNewMessage() const
    {
      return mTemplateNewMessage;
    }

    /**
      Get Item object corresponding to TemplateNewMessage()
    */
    ItemString *templateNewMessageItem()
    {
      return mTemplateNewMessageItem;
    }

    /**
      Set TemplateReply
    */
    void setTemplateReply( const QString & v )
    {
      if (!isImmutable( QStringLiteral( "TemplateReply" ) ))
        mTemplateReply = v;
    }

    /**
      Get TemplateReply
    */
    QString templateReply() const
    {
      return mTemplateReply;
    }

    /**
      Get Item object corresponding to TemplateReply()
    */
    ItemString *templateReplyItem()
    {
      return mTemplateReplyItem;
    }

    /**
      Set TemplateReplyAll
    */
    void setTemplateReplyAll( const QString & v )
    {
      if (!isImmutable( QStringLiteral( "TemplateReplyAll" ) ))
        mTemplateReplyAll = v;
    }

    /**
      Get TemplateReplyAll
    */
    QString templateReplyAll() const
    {
      return mTemplateReplyAll;
    }

    /**
      Get Item object corresponding to TemplateReplyAll()
    */
    ItemString *templateReplyAllItem()
    {
      return mTemplateReplyAllItem;
    }

    /**
      Set TemplateForward
    */
    void setTemplateForward( const QString & v )
    {
      if (!isImmutable( QStringLiteral( "TemplateForward" ) ))
        mTemplateForward = v;
    }

    /**
      Get TemplateForward
    */
    QString templateForward() const
    {
      return mTemplateForward;
    }

    /**
      Get Item object corresponding to TemplateForward()
    */
    ItemString *templateForwardItem()
    {
      return mTemplateForwardItem;
    }

    /**
      Set QuoteString
    */
    void setQuoteString( const QString & v )
    {
      if (!isImmutable( QStringLiteral( "QuoteString" ) ))
        mQuoteString = v;
    }

    /**
      Get QuoteString
    */
    QString quoteString() const
    {
      return mQuoteString;
    }

    /**
      Get Item object corresponding to QuoteString()
    */
    ItemString *quoteStringItem()
    {
      return mQuoteStringItem;
    }

  protected:
    QString mParamfolder;

    // Templates #$(folder)
    bool mUseCustomTemplates;
    QString mTemplateNewMessage;
    QString mTemplateReply;
    QString mTemplateReplyAll;
    QString mTemplateForward;
    QString mQuoteString;

  private:
    ItemBool *mUseCustomTemplatesItem;
    ItemString *mTemplateNewMessageItem;
    ItemString *mTemplateReplyItem;
    ItemString *mTemplateReplyAllItem;
    ItemString *mTemplateForwardItem;
    ItemString *mQuoteStringItem;
};

}

#endif

