Warning, /frameworks/kconfig/autotests/kconfig_compiler/test_param_minmax.cpp.ref is written in an unsupported language. File is not indexed.

0001 // This file is generated by kconfig_compiler_kf5 from test_param_minmax.kcfg.
0002 // All changes you do to this file will be lost.
0003 
0004 #include "test_param_minmax.h"
0005 
0006 TestParamMinMax::TestParamMinMax( KSharedConfig::Ptr config )
0007   : KConfigSkeleton( std::move( config ) )
0008 {
0009   setCurrentGroup( QStringLiteral( "Something" ) );
0010 
0011   KConfigSkeleton::ItemDouble  *itemFoo[6];
0012   itemFoo[0] = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "foo_#0" ), mFoo[0], 1.23 );
0013   itemFoo[0]->setMinValue(0.01);
0014   itemFoo[0]->setMaxValue(89898.23);
0015   addItem( itemFoo[0], QStringLiteral( "Foo0" ) );
0016   itemFoo[1] = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "foo_#1" ), mFoo[1], 1.23 );
0017   itemFoo[1]->setMinValue(0.01);
0018   itemFoo[1]->setMaxValue(89898.23);
0019   addItem( itemFoo[1], QStringLiteral( "Foo1" ) );
0020   itemFoo[2] = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "foo_#2" ), mFoo[2], 1.23 );
0021   itemFoo[2]->setMinValue(0.01);
0022   itemFoo[2]->setMaxValue(89898.23);
0023   addItem( itemFoo[2], QStringLiteral( "Foo2" ) );
0024   itemFoo[3] = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "foo_#3" ), mFoo[3], 1.23 );
0025   itemFoo[3]->setMinValue(0.01);
0026   itemFoo[3]->setMaxValue(89898.23);
0027   addItem( itemFoo[3], QStringLiteral( "Foo3" ) );
0028   itemFoo[4] = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "foo_#4" ), mFoo[4], 1.23 );
0029   itemFoo[4]->setMinValue(0.01);
0030   itemFoo[4]->setMaxValue(89898.23);
0031   addItem( itemFoo[4], QStringLiteral( "Foo4" ) );
0032   itemFoo[5] = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "foo_#5" ), mFoo[5], 1.23 );
0033   itemFoo[5]->setMinValue(0.01);
0034   itemFoo[5]->setMaxValue(89898.23);
0035   addItem( itemFoo[5], QStringLiteral( "Foo5" ) );
0036 }
0037 
0038 TestParamMinMax::~TestParamMinMax()
0039 {
0040 }
0041