// This file is generated by kconfig_compiler_kf6 from archivemailagentsettings.kcfg.
// All changes you do to this file will be lost.
#ifndef ARCHIVEMAILAGENTSETTINGS_H
#define ARCHIVEMAILAGENTSETTINGS_H

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

class ArchiveMailAgentSettings : public KConfigSkeleton
{
  public:

    static ArchiveMailAgentSettings *self();
    ~ArchiveMailAgentSettings() override;

    /**
      Set enabled
    */
    static
    void setEnabled( bool v )
    {
      if (!self()->isEnabledImmutable())
        self()->mEnabled = v;
    }

    /**
      Get enabled
    */
    static
    bool enabled()
    {
      return self()->mEnabled;
    }

    /**
      Is enabled Immutable
    */
    static
    bool isEnabledImmutable()
    {
      return self()->isImmutable( QStringLiteral( "enabled" ) );
    }

  protected:
    ArchiveMailAgentSettings();
    friend class ArchiveMailAgentSettingsHelper;


    // General
    bool mEnabled;
};

#endif

