Changeset View
Changeset View
Standalone View
Standalone View
autotests/kconfig_compiler/test_qdebugcategory.cpp.ref
1 | // This file is generated by kconfig_compiler_kf5 from test_qdebugcategory.kcfg. | 1 | // This file is generated by kconfig_compiler_kf5 from test_qdebugcategory.kcfg. | ||
---|---|---|---|---|---|
2 | // All changes you do to this file will be lost. | 2 | // All changes you do to this file will be lost. | ||
3 | 3 | | |||
4 | #include "test_qdebugcategory.h" | 4 | #include "test_qdebugcategory.h" | ||
5 | 5 | | |||
6 | TestQCategory::TestQCategory( int Number ) | 6 | TestQCategory::TestQCategory( int Number ) | ||
7 | : KConfigSkeleton( QStringLiteral( "test7rc" ) ) | 7 | : KConfigSkeleton( QStringLiteral( "test7rc" ) ) | ||
8 | , mParamNumber(Number) | 8 | , mParamNumber(Number) | ||
9 | { | 9 | { | ||
10 | setCurrentGroup( QStringLiteral( "Foo" ) ); | 10 | setCurrentGroup( QStringLiteral( "Foo" ) ); | ||
11 | 11 | | |||
12 | KConfigSkeleton::ItemColor *itemColor; | 12 | KConfigSkeleton::ItemColor *itemColor; | ||
13 | itemColor = new KConfigSkeleton::ItemColor( currentGroup(), QStringLiteral( "color #%1" ).arg( mParamNumber ), mColor, QColor( "red" ) ); | 13 | itemColor = new KConfigSkeleton::ItemColor( currentGroup(), QStringLiteral( "color #%1" ).arg( mParamNumber ), mColor, QColor( "red" ) ); | ||
14 | addItem( itemColor, QStringLiteral( "Color" ) ); | 14 | addItem( itemColor, QStringLiteral( "Color" ) ); | ||
Show All 17 Lines |