Changeset View
Changeset View
Standalone View
Standalone View
autotests/kconfig_compiler/test_translation_kde_domain.cpp.ref
1 | // This file is generated by kconfig_compiler_kf5 from test_translation.kcfg. | 1 | // This file is generated by kconfig_compiler_kf5 from test_translation.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_translation_kde_domain.h" | 4 | #include "test_translation_kde_domain.h" | ||
5 | 5 | | |||
6 | #include <klocalizedstring.h> | 6 | #include <klocalizedstring.h> | ||
7 | 7 | | |||
8 | using namespace TestNameSpace; | 8 | using namespace TestNameSpace; | ||
9 | 9 | | |||
10 | TestTranslationKdeDomain::TestTranslationKdeDomain( ) | 10 | TestTranslationKdeDomain::TestTranslationKdeDomain( ) | ||
11 | : KConfigSkeleton( QStringLiteral( "test_translation_rc" ) ) | 11 | : KConfigSkeleton( QStringLiteral( "test_translation_rc" ) ) | ||
12 | { | 12 | { | ||
13 | setCurrentGroup( QStringLiteral( "General" ) ); | 13 | setCurrentGroup( QStringLiteral( "General" ) ); | ||
14 | 14 | | |||
15 | KConfigSkeleton::ItemBool *itemAutoSave; | 15 | KConfigSkeleton::ItemBool *itemAutoSave; | ||
16 | itemAutoSave = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "Auto Save" ), mAutoSave, false ); | 16 | itemAutoSave = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "Auto Save" ), mAutoSave, false ); | ||
17 | itemAutoSave->setLabel( i18nd("test-kcfg-kde", "Enable automatic saving of calendar") ); | 17 | itemAutoSave->setLabel( i18nd("test-kcfg-kde", "Enable automatic saving of calendar") ); | ||
18 | itemAutoSave->setWhatsThis( i18ndc("test-kcfg-kde", "@info:whatsthis", "Enable automatic saving of calendars to have calendars saved automatically.") ); | 18 | itemAutoSave->setWhatsThis( i18ndc("test-kcfg-kde", "@info:whatsthis", "Enable automatic saving of calendars to have calendars saved automatically.") ); | ||
19 | addItem( itemAutoSave, QStringLiteral( "AutoSave" ) ); | 19 | addItem( itemAutoSave, QStringLiteral( "AutoSave" ) ); | ||
20 | } | 20 | } | ||
21 | 21 | | |||
22 | TestTranslationKdeDomain::~TestTranslationKdeDomain() | 22 | TestTranslationKdeDomain::~TestTranslationKdeDomain() | ||
23 | { | 23 | { | ||
24 | } | 24 | } | ||
25 | 25 | |