Changeset View
Changeset View
Standalone View
Standalone View
autotests/kconfig_compiler/test8a.cpp.ref
1 | // This file is generated by kconfig_compiler_kf5 from test8a.kcfg. | 1 | // This file is generated by kconfig_compiler_kf5 from test8a.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 "test8a.h" | 4 | #include "test8a.h" | ||
5 | 5 | | |||
6 | Test8a::Test8a( KSharedConfig::Ptr config ) | 6 | Test8a::Test8a( KSharedConfig::Ptr config, QObject *parent ) | ||
7 | : KConfigSkeleton( config ) | 7 | : KConfigSkeleton( config ) | ||
8 | { | 8 | { | ||
9 | setParent(parent); | ||||
9 | setCurrentGroup( QStringLiteral( "Group" ) ); | 10 | setCurrentGroup( QStringLiteral( "Group" ) ); | ||
10 | 11 | | |||
11 | KConfigSkeleton::ItemFont *itemFont; | 12 | KConfigSkeleton::ItemFont *itemFont; | ||
12 | itemFont = new KConfigSkeleton::ItemFont( currentGroup(), QStringLiteral( "Font" ), mFont, QFont() ); | 13 | itemFont = new KConfigSkeleton::ItemFont( currentGroup(), QStringLiteral( "Font" ), mFont, QFont() ); | ||
13 | addItem( itemFont, QStringLiteral( "Font" ) ); | 14 | addItem( itemFont, QStringLiteral( "Font" ) ); | ||
14 | KConfigSkeleton::ItemFont *itemTitleFont; | 15 | KConfigSkeleton::ItemFont *itemTitleFont; | ||
15 | itemTitleFont = new KConfigSkeleton::ItemFont( currentGroup(), QStringLiteral( "TitleFont" ), mTitleFont, QFont() ); | 16 | itemTitleFont = new KConfigSkeleton::ItemFont( currentGroup(), QStringLiteral( "TitleFont" ), mTitleFont, QFont() ); | ||
16 | addItem( itemTitleFont, QStringLiteral( "TitleFont" ) ); | 17 | addItem( itemTitleFont, QStringLiteral( "TitleFont" ) ); | ||
17 | } | 18 | } | ||
18 | 19 | | |||
19 | Test8a::~Test8a() | 20 | Test8a::~Test8a() | ||
20 | { | 21 | { | ||
21 | } | 22 | } | ||
22 | 23 | |