Changeset View
Changeset View
Standalone View
Standalone View
autotests/kconfig_compiler/test4.cpp.ref
Show All 22 Lines | 21 | if (!s_globalTest4()->q) { | |||
---|---|---|---|---|---|
23 | s_globalTest4()->q->read(); | 23 | s_globalTest4()->q->read(); | ||
24 | } | 24 | } | ||
25 | 25 | | |||
26 | return s_globalTest4()->q; | 26 | return s_globalTest4()->q; | ||
27 | } | 27 | } | ||
28 | 28 | | |||
29 | const char* const Test4::EnumButton::enumToString[] = { "right", "mid", "left" }; | 29 | const char* const Test4::EnumButton::enumToString[] = { "right", "mid", "left" }; | ||
30 | 30 | | |||
31 | Test4::Test4( ) | 31 | Test4::Test4( ) | ||
32 | : KConfigSkeleton( QStringLiteral( "test4rc" ) ) | 32 | : KConfigSkeleton( QStringLiteral( "test4rc" ) ) | ||
33 | { | 33 | { | ||
34 | Q_ASSERT(!s_globalTest4()->q); | 34 | Q_ASSERT(!s_globalTest4()->q); | ||
35 | s_globalTest4()->q = this; | 35 | s_globalTest4()->q = this; | ||
36 | setCurrentGroup( QStringLiteral( "Foo" ) ); | 36 | setCurrentGroup( QStringLiteral( "Foo" ) ); | ||
37 | 37 | | |||
38 | QColor defaultColor[4] = { Qt::red, Qt::blue, Qt::green, Qt::black }; | 38 | QColor defaultColor[4] = { Qt::red, Qt::blue, Qt::green, Qt::black }; | ||
39 | KConfigSkeleton::ItemColor *itemColor[4]; | 39 | KConfigSkeleton::ItemColor *itemColor[4]; | ||
▲ Show 20 Lines • Show All 141 Lines • Show Last 20 Lines |