You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

35 lines
1.1 KiB

// This file is generated by kconfig_compiler_kf5 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<KConfigCompilerSignallingItem::NotifyFunction>(&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 flags) {
if ( flags & signalBarChanged ) {
Q_EMIT barChanged();
}
}
#include "test_properties_minmax.moc"