aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfig_compiler/test_param_minmax.cpp.ref
blob: ceb224b2a0a5c07438e85c39ded6c96d6f9c2413 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// This file is generated by kconfig_compiler_kf5 from test_param_minmax.kcfg.
// All changes you do to this file will be lost.

#include "test_param_minmax.h"

TestParamMinMax::TestParamMinMax( KSharedConfig::Ptr config )
  : KConfigSkeleton( std::move( config ) )
{
  setCurrentGroup( QStringLiteral( "Something" ) );

  KConfigSkeleton::ItemDouble  *itemFoo[6];
  itemFoo[0] = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "foo_#0" ), mFoo[0], 1.23 );
  itemFoo[0]->setMinValue(0.01);
  itemFoo[0]->setMaxValue(89898.23);
  addItem( itemFoo[0], QStringLiteral( "Foo0" ) );
  itemFoo[1] = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "foo_#1" ), mFoo[1], 1.23 );
  itemFoo[1]->setMinValue(0.01);
  itemFoo[1]->setMaxValue(89898.23);
  addItem( itemFoo[1], QStringLiteral( "Foo1" ) );
  itemFoo[2] = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "foo_#2" ), mFoo[2], 1.23 );
  itemFoo[2]->setMinValue(0.01);
  itemFoo[2]->setMaxValue(89898.23);
  addItem( itemFoo[2], QStringLiteral( "Foo2" ) );
  itemFoo[3] = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "foo_#3" ), mFoo[3], 1.23 );
  itemFoo[3]->setMinValue(0.01);
  itemFoo[3]->setMaxValue(89898.23);
  addItem( itemFoo[3], QStringLiteral( "Foo3" ) );
  itemFoo[4] = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "foo_#4" ), mFoo[4], 1.23 );
  itemFoo[4]->setMinValue(0.01);
  itemFoo[4]->setMaxValue(89898.23);
  addItem( itemFoo[4], QStringLiteral( "Foo4" ) );
  itemFoo[5] = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "foo_#5" ), mFoo[5], 1.23 );
  itemFoo[5]->setMinValue(0.01);
  itemFoo[5]->setMaxValue(89898.23);
  addItem( itemFoo[5], QStringLiteral( "Foo5" ) );
}

TestParamMinMax::~TestParamMinMax()
{
}