Changeset View
Changeset View
Standalone View
Standalone View
autotests/kconfig_compiler/test_signal.cpp.ref
Show All 20 Lines | 20 | { | |||
---|---|---|---|---|---|
21 | if (!s_globalTestSignal()->q) { | 21 | if (!s_globalTestSignal()->q) { | ||
22 | new TestSignal; | 22 | new TestSignal; | ||
23 | s_globalTestSignal()->q->read(); | 23 | s_globalTestSignal()->q->read(); | ||
24 | } | 24 | } | ||
25 | 25 | | |||
26 | return s_globalTestSignal()->q; | 26 | return s_globalTestSignal()->q; | ||
27 | } | 27 | } | ||
28 | 28 | | |||
29 | TestSignal::TestSignal( ) | 29 | TestSignal::TestSignal( ) | ||
30 | : KConfigSkeleton( QStringLiteral( "kconfig_compiler_kf5_test_rc" ) ) | 30 | : KConfigSkeleton( QStringLiteral( "kconfig_compiler_kf5_test_rc" ) ) | ||
31 | , mSettingsChanged(0) | 31 | , mSettingsChanged(0) | ||
32 | { | 32 | { | ||
33 | Q_ASSERT(!s_globalTestSignal()->q); | 33 | Q_ASSERT(!s_globalTestSignal()->q); | ||
34 | s_globalTestSignal()->q = this; | 34 | s_globalTestSignal()->q = this; | ||
35 | KConfigCompilerSignallingItem::NotifyFunction notifyFunction = static_cast<KConfigCompilerSignallingItem::NotifyFunction>(&TestSignal::itemChanged); | 35 | KConfigCompilerSignallingItem::NotifyFunction notifyFunction = static_cast<KConfigCompilerSignallingItem::NotifyFunction>(&TestSignal::itemChanged); | ||
36 | 36 | | |||
37 | setCurrentGroup( QStringLiteral( "Appearance" ) ); | 37 | setCurrentGroup( QStringLiteral( "Appearance" ) ); | ||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |