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

#include <klocalizedstring.h>

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

class IMStatusSettings : public KConfigSkeleton
{
  public:

    static IMStatusSettings *self();
    ~IMStatusSettings();

    /**
      Set imclient
    */
    static
    void setImclient( const QString & v )
    {
      if (!self()->isImmutable( QStringLiteral( "imclient" ) ))
        self()->mImclient = v;
    }

    /**
      Get imclient
    */
    static
    QString imclient()
    {
      return self()->mImclient;
    }

    /**
      Get Item object corresponding to imclient()
    */
    ItemString *imclientItem()
    {
      return mImclientItem;
    }

    /**
      Set templtate
    */
    static
    void setTempltate( const QString & v )
    {
      if (!self()->isImmutable( QStringLiteral( "templtate" ) ))
        self()->mTempltate = v;
    }

    /**
      Get templtate
    */
    static
    QString templtate()
    {
      return self()->mTempltate;
    }

    /**
      Get Item object corresponding to templtate()
    */
    ItemString *templtateItem()
    {
      return mTempltateItem;
    }

    /**
      Set reply
    */
    static
    void setReply( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "reply" ) ))
        self()->mReply = v;
    }

    /**
      Get reply
    */
    static
    bool reply()
    {
      return self()->mReply;
    }

    /**
      Get Item object corresponding to reply()
    */
    ItemBool *replyItem()
    {
      return mReplyItem;
    }

    /**
      Set repeat
    */
    static
    void setRepeat( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "repeat" ) ))
        self()->mRepeat = v;
    }

    /**
      Get repeat
    */
    static
    bool repeat()
    {
      return self()->mRepeat;
    }

    /**
      Get Item object corresponding to repeat()
    */
    ItemBool *repeatItem()
    {
      return mRepeatItem;
    }

  protected:
    IMStatusSettings();
    friend class IMStatusSettingsHelper;


    // IMStatus
    QString mImclient;
    QString mTempltate;
    bool mReply;
    bool mRepeat;

  private:
    ItemString *mImclientItem;
    ItemString *mTempltateItem;
    ItemBool *mReplyItem;
    ItemBool *mRepeatItem;
};

#endif

