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.
32 lines
1.1 KiB
32 lines
1.1 KiB
12 years ago
|
// This file is generated by tdeconfig_compiler from test6.kcfg.
|
||
15 years ago
|
// All changes you do to this file will be lost.
|
||
|
|
||
|
#include "test6.h"
|
||
|
|
||
14 years ago
|
Test6::Test6( const TQString & Number )
|
||
12 years ago
|
: TDEConfigSkeleton( TQString::fromLatin1( "test4rc" ) )
|
||
15 years ago
|
, mParamNumber(Number)
|
||
|
{
|
||
13 years ago
|
setCurrentGroup( TQString::fromLatin1( "Foo" ) );
|
||
15 years ago
|
|
||
12 years ago
|
TDEConfigSkeleton::ItemColor *itemColor;
|
||
|
itemColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "color #%1" ).arg( mParamNumber ), mColor, TQColor( "red" ) );
|
||
13 years ago
|
addItem( itemColor, TQString::fromLatin1( "Color" ) );
|
||
15 years ago
|
|
||
13 years ago
|
setCurrentGroup( TQString::fromLatin1( "Bar%1" ).arg( mParamNumber ) );
|
||
15 years ago
|
|
||
12 years ago
|
TDEConfigSkeleton::ItemString *itemFooBar;
|
||
|
itemFooBar = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "foo bar" ), mFooBar );
|
||
13 years ago
|
addItem( itemFooBar, TQString::fromLatin1( "FooBar" ) );
|
||
12 years ago
|
TDEConfigSkeleton::ItemInt *itemAge;
|
||
|
itemAge = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Age" ), mAge, 35 );
|
||
15 years ago
|
itemAge->setMinValue(8);
|
||
|
itemAge->setMaxValue(88);
|
||
13 years ago
|
addItem( itemAge, TQString::fromLatin1( "Age" ) );
|
||
15 years ago
|
}
|
||
|
|
||
|
Test6::~Test6()
|
||
|
{
|
||
|
}
|
||
|
|