// This file is generated by kconfig_compiler_kf6 from test_properties_minmax.kcfg. // All changes you do to this file will be lost. #include "test_properties_minmax.h" TestPropertiesMinMax::TestPropertiesMinMax( KSharedConfig::Ptr config ) : KConfigSkeleton( std::move( config ) ) { KConfigCompilerSignallingItem::NotifyFunction notifyFunction = static_cast(&TestPropertiesMinMax::itemChanged); setCurrentGroup( QStringLiteral( "Something" ) ); KConfigCompilerSignallingItem *itemBar; KConfigSkeleton::ItemInt *innerItemBar; innerItemBar = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "bar" ), mBar, 42 ); itemBar = new KConfigCompilerSignallingItem(innerItemBar, this, notifyFunction, signalBarChanged); innerItemBar->setMinValue(36); innerItemBar->setMaxValue(102); addItem( itemBar, QStringLiteral( "bar" ) ); } TestPropertiesMinMax::~TestPropertiesMinMax() { } void TestPropertiesMinMax::itemChanged(quint64 signalFlag) { switch (signalFlag) { case signalBarChanged: Q_EMIT barChanged(); break; } }