// This file is generated by kconfig_compiler_kf5 from fontsaasettingsbase.kcfg.
// All changes you do to this file will be lost.

#include "fontsaasettingsbase.h"

FontsAASettingsBase::FontsAASettingsBase( QObject *parent )
  : KConfigSkeleton( QStringLiteral( "kcmfonts" ) )
{
  setParent(parent);
  KConfigCompilerSignallingItem::NotifyFunction notifyFunction = static_cast<KConfigCompilerSignallingItem::NotifyFunction>(&FontsAASettingsBase::itemChanged);

  setCurrentGroup( QStringLiteral( "General" ) );

  KConfigCompilerSignallingItem  *itemForceFontDPIWayland;
  KConfigSkeleton::ItemUInt  *innerItemForceFontDPIWayland;
  innerItemForceFontDPIWayland = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "forceFontDPIWayland" ), mForceFontDPIWayland, 0 );
  itemForceFontDPIWayland = new KConfigCompilerSignallingItem(innerItemForceFontDPIWayland, this, notifyFunction, signalForceFontDPIWaylandChanged);
  addItem( itemForceFontDPIWayland, QStringLiteral( "forceFontDPIWayland" ) );
  KConfigCompilerSignallingItem  *itemForceFontDPI;
  KConfigSkeleton::ItemUInt  *innerItemForceFontDPI;
  innerItemForceFontDPI = new KConfigSkeleton::ItemUInt( currentGroup(), QStringLiteral( "forceFontDPI" ), mForceFontDPI, 0 );
  itemForceFontDPI = new KConfigCompilerSignallingItem(innerItemForceFontDPI, this, notifyFunction, signalForceFontDPIChanged);
  addItem( itemForceFontDPI, QStringLiteral( "forceFontDPI" ) );
}

uint FontsAASettingsBase::defaultForceFontDPIWaylandValue_helper() const
{

  return 0;
}

uint FontsAASettingsBase::defaultForceFontDPIValue_helper() const
{

  return 0;
}

FontsAASettingsBase::~FontsAASettingsBase()
{
}


void FontsAASettingsBase::itemChanged(quint64 flags) {

  if ( flags & signalForceFontDPIWaylandChanged ) {
    Q_EMIT forceFontDPIWaylandChanged();
  }
  if ( flags & signalForceFontDPIChanged ) {
    Q_EMIT forceFontDPIChanged();
  }
}

#include "fontsaasettingsbase.moc"

