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

#include <akonadiagentbase_export.h>

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

namespace Akonadi {

class AKONADIAGENTBASE_EXPORT ResourceBaseSettings : public KConfigSkeleton
{
  public:

    static ResourceBaseSettings *self();
    ~ResourceBaseSettings();

    /**
      Set MinimumCheckInterval
    */
    static
    void setMinimumCheckInterval( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "MinimumCheckInterval" ) ))
        self()->mMinimumCheckInterval = v;
    }

    /**
      Get MinimumCheckInterval
    */
    static
    int minimumCheckInterval()
    {
      return self()->mMinimumCheckInterval;
    }

    /**
      Get Item object corresponding to MinimumCheckInterval()
    */
    ItemInt *minimumCheckIntervalItem()
    {
      return mMinimumCheckIntervalItem;
    }

  protected:
    ResourceBaseSettings();
    friend class ResourceBaseSettingsHelper;


    // ConfigurationDialogRestrictions
    int mMinimumCheckInterval;

  private:
    ItemInt *mMinimumCheckIntervalItem;
};

}

#endif

