// This file is generated by kconfig_compiler_kf5 from libplasma-theme-global.kcfg.
// All changes you do to this file will be lost.
#ifndef THEMECONFIG_H
#define THEMECONFIG_H

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

class ThemeConfig : public KConfigSkeleton
{
  public:

    ThemeConfig( );
    ~ThemeConfig() override;

    /**
      Get Whether or not to create an on-disk cache for the theme.
    */
    bool cacheTheme() const
    {
      return mCacheTheme;
    }

    /**
      Is Whether or not to create an on-disk cache for the theme. Immutable
    */
    bool isCacheThemeImmutable() const
    {
      return isImmutable( QStringLiteral( "CacheTheme" ) );
    }

    /**
      Get The maximum size of the on-disk Theme cache in kilobytes. Note that these files are sparse files, so the maximum size may not be used. Setting a larger size is therefore often quite safe.
    */
    int themeCacheKb() const
    {
      return mThemeCacheKb;
    }

    /**
      Is The maximum size of the on-disk Theme cache in kilobytes. Note that these files are sparse files, so the maximum size may not be used. Setting a larger size is therefore often quite safe. Immutable
    */
    bool isThemeCacheKbImmutable() const
    {
      return isImmutable( QStringLiteral( "ThemeCacheKb" ) );
    }

  protected:

    // CachePolicies
    bool mCacheTheme;
    int mThemeCacheKb;

  private:
};

#endif

