Changeset View
Changeset View
Standalone View
Standalone View
autotests/kconfig_compiler/test_translation_qt.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_qt.h" | 4 | #include "test_translation_qt.h" | ||
5 | 5 | | |||
6 | using namespace TestNameSpace; | 6 | using namespace TestNameSpace; | ||
7 | 7 | | |||
8 | TestTranslationQt::TestTranslationQt( ) | 8 | TestTranslationQt::TestTranslationQt( ) | ||
9 | : KConfigSkeleton( QStringLiteral( "test_translation_rc" ) ) | 9 | : KConfigSkeleton( QStringLiteral( "test_translation_rc" ) ) | ||
10 | { | 10 | { | ||
11 | setCurrentGroup( QStringLiteral( "General" ) ); | 11 | setCurrentGroup( QStringLiteral( "General" ) ); | ||
12 | 12 | | |||
13 | KConfigSkeleton::ItemBool *itemAutoSave; | 13 | KConfigSkeleton::ItemBool *itemAutoSave; | ||
14 | itemAutoSave = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "Auto Save" ), mAutoSave, false ); | 14 | itemAutoSave = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "Auto Save" ), mAutoSave, false ); | ||
15 | itemAutoSave->setLabel( QCoreApplication::translate("TestTranslationQt", "Enable automatic saving of calendar") ); | 15 | itemAutoSave->setLabel( QCoreApplication::translate("TestTranslationQt", "Enable automatic saving of calendar") ); | ||
16 | itemAutoSave->setWhatsThis( /*: @info:whatsthis */ QCoreApplication::translate("TestTranslationQt", "Enable automatic saving of calendars to have calendars saved automatically.") ); | 16 | itemAutoSave->setWhatsThis( /*: @info:whatsthis */ QCoreApplication::translate("TestTranslationQt", "Enable automatic saving of calendars to have calendars saved automatically.") ); | ||
17 | addItem( itemAutoSave, QStringLiteral( "AutoSave" ) ); | 17 | addItem( itemAutoSave, QStringLiteral( "AutoSave" ) ); | ||
18 | } | 18 | } | ||
19 | 19 | | |||
20 | TestTranslationQt::~TestTranslationQt() | 20 | TestTranslationQt::~TestTranslationQt() | ||
21 | { | 21 | { | ||
22 | } | 22 | } | ||
23 | 23 | |