blob: 629d828b008f7d51187f013494ef405e061ee373 (
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
|
// This file is generated by kconfig_compiler_kf5 from test6.kcfg.
// All changes you do to this file will be lost.
#include "test6.h"
Test6::Test6( const QString & Number )
: KConfigSkeleton( QLatin1String( "test4rc" ) )
, mParamNumber(Number)
{
setCurrentGroup( QLatin1String( "Foo" ) );
KConfigSkeleton::ItemColor *itemColor;
itemColor = new KConfigSkeleton::ItemColor( currentGroup(), QString( QLatin1String( "color #%1" ) ).arg( mParamNumber ), mColor, QColor( "red" ) );
addItem( itemColor, QLatin1String( "Color" ) );
setCurrentGroup( QString( QLatin1String( "Bar%1" ) ).arg( mParamNumber ) );
KConfigSkeleton::ItemString *itemFooBar;
itemFooBar = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "foo bar" ), mFooBar );
addItem( itemFooBar, QLatin1String( "FooBar" ) );
KConfigSkeleton::ItemInt *itemAge;
itemAge = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "Age" ), mAge, 35 );
itemAge->setMinValue(8);
itemAge->setMaxValue(88);
addItem( itemAge, QLatin1String( "Age" ) );
}
Test6::~Test6()
{
}
|