diff options
Diffstat (limited to 'autotests/kconfig_compiler/test11.cpp.ref')
-rw-r--r-- | autotests/kconfig_compiler/test11.cpp.ref | 102 |
1 files changed, 51 insertions, 51 deletions
diff --git a/autotests/kconfig_compiler/test11.cpp.ref b/autotests/kconfig_compiler/test11.cpp.ref index 1e6ff9e2..76792357 100644 --- a/autotests/kconfig_compiler/test11.cpp.ref +++ b/autotests/kconfig_compiler/test11.cpp.ref @@ -4,129 +4,129 @@ #include "test11.h" Test11::Test11( ) - : MyPrefs( QLatin1String( "korganizerrc" ) ) + : MyPrefs( QStringLiteral( "korganizerrc" ) ) { - setCurrentGroup( QLatin1String( "General" ) ); + setCurrentGroup( QStringLiteral( "General" ) ); - mAutoSaveItem = new MyPrefs::ItemBool( currentGroup(), QLatin1String( "Auto Save" ), mAutoSave, false ); + mAutoSaveItem = new MyPrefs::ItemBool( currentGroup(), QStringLiteral( "Auto Save" ), mAutoSave, false ); mAutoSaveItem->setLabel( QCoreApplication::translate("Test11", "Enable automatic saving of calendar") ); mAutoSaveItem->setWhatsThis( QCoreApplication::translate("Test11", "WhatsThis text for AutoSave option") ); - addItem( mAutoSaveItem, QLatin1String( "AutoSave" ) ); - mAutoSaveIntervalItem = new MyPrefs::ItemInt( currentGroup(), QLatin1String( "Auto Save Interval" ), mAutoSaveInterval, 10 ); + addItem( mAutoSaveItem, QStringLiteral( "AutoSave" ) ); + mAutoSaveIntervalItem = new MyPrefs::ItemInt( currentGroup(), QStringLiteral( "Auto Save Interval" ), mAutoSaveInterval, 10 ); mAutoSaveIntervalItem->setLabel( QCoreApplication::translate("Test11", "Auto Save Interval") ); - addItem( mAutoSaveIntervalItem, QLatin1String( "AutoSaveInterval" ) ); - mConfirmItem = new MyPrefs::ItemBool( currentGroup(), QLatin1String( "Confirm Deletes" ), mConfirm, true ); + addItem( mAutoSaveIntervalItem, QStringLiteral( "AutoSaveInterval" ) ); + mConfirmItem = new MyPrefs::ItemBool( currentGroup(), QStringLiteral( "Confirm Deletes" ), mConfirm, true ); mConfirmItem->setLabel( QCoreApplication::translate("Test11", "Confirm deletes") ); - addItem( mConfirmItem, QLatin1String( "Confirm" ) ); - mArchiveFileItem = new MyPrefs::ItemString( currentGroup(), QLatin1String( "Archive File" ), mArchiveFile ); + addItem( mConfirmItem, QStringLiteral( "Confirm" ) ); + mArchiveFileItem = new MyPrefs::ItemString( currentGroup(), QStringLiteral( "Archive File" ), mArchiveFile ); mArchiveFileItem->setLabel( QCoreApplication::translate("Test11", "Archive File") ); - addItem( mArchiveFileItem, QLatin1String( "ArchiveFile" ) ); + addItem( mArchiveFileItem, QStringLiteral( "ArchiveFile" ) ); QList<MyPrefs::ItemEnum::Choice> valuesDestination; { MyPrefs::ItemEnum::Choice choice; - choice.name = QLatin1String("standardDestination"); + choice.name = QStringLiteral("standardDestination"); valuesDestination.append( choice ); } { MyPrefs::ItemEnum::Choice choice; - choice.name = QLatin1String("askDestination"); + choice.name = QStringLiteral("askDestination"); valuesDestination.append( choice ); } { MyPrefs::ItemEnum::Choice choice; - choice.name = QLatin1String("argl1"); + choice.name = QStringLiteral("argl1"); choice.label = QCoreApplication::translate("Test11", "Argl1 Label"); valuesDestination.append( choice ); } { MyPrefs::ItemEnum::Choice choice; - choice.name = QLatin1String("argl2"); + choice.name = QStringLiteral("argl2"); choice.whatsThis = QCoreApplication::translate("Test11", "Argl2 Whatsthis"); valuesDestination.append( choice ); } { MyPrefs::ItemEnum::Choice choice; - choice.name = QLatin1String("argl3"); + choice.name = QStringLiteral("argl3"); choice.label = QCoreApplication::translate("Test11", "Argl3 Label"); choice.whatsThis = QCoreApplication::translate("Test11", "Argl3 Whatsthis"); valuesDestination.append( choice ); } - mDestinationItem = new MyPrefs::ItemEnum( currentGroup(), QLatin1String( "Destination" ), mDestination, valuesDestination, EnumDestination::standardDestination ); + mDestinationItem = new MyPrefs::ItemEnum( currentGroup(), QStringLiteral( "Destination" ), mDestination, valuesDestination, EnumDestination::standardDestination ); mDestinationItem->setLabel( QCoreApplication::translate("Test11", "New Events/Todos Should") ); - addItem( mDestinationItem, QLatin1String( "Destination" ) ); + addItem( mDestinationItem, QStringLiteral( "Destination" ) ); - setCurrentGroup( QLatin1String( "Views" ) ); + setCurrentGroup( QStringLiteral( "Views" ) ); - mHourSizeItem = new MyPrefs::ItemInt( currentGroup(), QLatin1String( "Hour Size" ), mHourSize, 10 ); + mHourSizeItem = new MyPrefs::ItemInt( currentGroup(), QStringLiteral( "Hour Size" ), mHourSize, 10 ); mHourSizeItem->setLabel( QCoreApplication::translate("Test11", "Hour Size") ); - addItem( mHourSizeItem, QLatin1String( "HourSize" ) ); - mSelectionStartsEditorItem = new MyPrefs::ItemBool( currentGroup(), QLatin1String( "SelectionStartsEditor" ), mSelectionStartsEditor, false ); + addItem( mHourSizeItem, QStringLiteral( "HourSize" ) ); + mSelectionStartsEditorItem = new MyPrefs::ItemBool( currentGroup(), QStringLiteral( "SelectionStartsEditor" ), mSelectionStartsEditor, false ); mSelectionStartsEditorItem->setLabel( QCoreApplication::translate("Test11", "Time range selection in agenda view starts event editor") ); - addItem( mSelectionStartsEditorItem, QLatin1String( "SelectionStartsEditor" ) ); + addItem( mSelectionStartsEditorItem, QStringLiteral( "SelectionStartsEditor" ) ); - setCurrentGroup( QLatin1String( "KOrganizer Plugins" ) ); + setCurrentGroup( QStringLiteral( "KOrganizer Plugins" ) ); QStringList defaultSelectedPlugins; defaultSelectedPlugins.append( QString::fromUtf8( "holidays" ) ); defaultSelectedPlugins.append( QString::fromUtf8( "webexport" ) ); - mSelectedPluginsItem = new MyPrefs::ItemStringList( currentGroup(), QLatin1String( "SelectedPlugins" ), mSelectedPlugins, defaultSelectedPlugins ); + mSelectedPluginsItem = new MyPrefs::ItemStringList( currentGroup(), QStringLiteral( "SelectedPlugins" ), mSelectedPlugins, defaultSelectedPlugins ); mSelectedPluginsItem->setLabel( QCoreApplication::translate("Test11", "SelectedPlugins") ); - addItem( mSelectedPluginsItem, QLatin1String( "SelectedPlugins" ) ); + addItem( mSelectedPluginsItem, QStringLiteral( "SelectedPlugins" ) ); - setCurrentGroup( QLatin1String( "Colors" ) ); + setCurrentGroup( QStringLiteral( "Colors" ) ); - mHighlightColorItem = new MyPrefs::ItemColor( currentGroup(), QLatin1String( "Highlight Color" ), mHighlightColor, QColor( 100, 100, 255 ) ); + mHighlightColorItem = new MyPrefs::ItemColor( currentGroup(), QStringLiteral( "Highlight Color" ), mHighlightColor, QColor( 100, 100, 255 ) ); mHighlightColorItem->setLabel( QCoreApplication::translate("Test11", "Highlight color") ); - addItem( mHighlightColorItem, QLatin1String( "HighlightColor" ) ); - mAgendaBgColorItem = new MyPrefs::ItemColor( currentGroup(), QLatin1String( "Agenda Background Color" ), mAgendaBgColor, QColor( 255, 255, 255 ) ); + addItem( mHighlightColorItem, QStringLiteral( "HighlightColor" ) ); + mAgendaBgColorItem = new MyPrefs::ItemColor( currentGroup(), QStringLiteral( "Agenda Background Color" ), mAgendaBgColor, QColor( 255, 255, 255 ) ); mAgendaBgColorItem->setLabel( QCoreApplication::translate("Test11", "Agenda view background color") ); - addItem( mAgendaBgColorItem, QLatin1String( "AgendaBgColor" ) ); + addItem( mAgendaBgColorItem, QStringLiteral( "AgendaBgColor" ) ); - setCurrentGroup( QLatin1String( "Fonts" ) ); + setCurrentGroup( QStringLiteral( "Fonts" ) ); - mTimeBarFontItem = new MyPrefs::ItemFont( currentGroup(), QLatin1String( "TimeBar Font" ), mTimeBarFont ); + mTimeBarFontItem = new MyPrefs::ItemFont( currentGroup(), QStringLiteral( "TimeBar Font" ), mTimeBarFont ); mTimeBarFontItem->setLabel( QCoreApplication::translate("Test11", "Time bar") ); - addItem( mTimeBarFontItem, QLatin1String( "TimeBarFont" ) ); + addItem( mTimeBarFontItem, QStringLiteral( "TimeBarFont" ) ); - setCurrentGroup( QLatin1String( "Email" ) ); + setCurrentGroup( QStringLiteral( "Email" ) ); QList<MyPrefs::ItemEnum::Choice> valuesEmailClient; { MyPrefs::ItemEnum::Choice choice; - choice.name = QLatin1String("sendmail"); + choice.name = QStringLiteral("sendmail"); choice.label = /*: @option */ QCoreApplication::translate("Test11", "Sendmail"); valuesEmailClient.append( choice ); } { MyPrefs::ItemEnum::Choice choice; - choice.name = QLatin1String("kmail"); + choice.name = QStringLiteral("kmail"); choice.label = /*: @option */ QCoreApplication::translate("Test11", "KMail"); valuesEmailClient.append( choice ); } - mEmailClientItem = new MyPrefs::ItemEnum( currentGroup(), QLatin1String( "EmailClient" ), mEmailClient, valuesEmailClient, kmail ); + mEmailClientItem = new MyPrefs::ItemEnum( currentGroup(), QStringLiteral( "EmailClient" ), mEmailClient, valuesEmailClient, kmail ); mEmailClientItem->setLabel( /*: @label */ QCoreApplication::translate("Test11", "Email client") ); mEmailClientItem->setWhatsThis( /*: @info:whatsthis */ QCoreApplication::translate("Test11", "<para>How to send email when an email alarm is triggered.<list><item>KMail: The email is sent automatically via <application>KMail</application>. <application>KMail</application> is started first if necessary.</item><item>Sendmail: The email is sent automatically. This option will only work if your system is configured to use <application>sendmail</application> or a sendmail compatible mail transport agent.</item></list></para>") ); - addItem( mEmailClientItem, QLatin1String( "EmailClient" ) ); + addItem( mEmailClientItem, QStringLiteral( "EmailClient" ) ); QList<MyPrefs::ItemEnum::Choice> valuesDefaultReminderUnits; { MyPrefs::ItemEnum::Choice choice; - choice.name = QLatin1String("Minutes"); + choice.name = QStringLiteral("Minutes"); valuesDefaultReminderUnits.append( choice ); } { MyPrefs::ItemEnum::Choice choice; - choice.name = QLatin1String("HoursMinutes"); + choice.name = QStringLiteral("HoursMinutes"); choice.label = /*: @option */ QCoreApplication::translate("Test11", "Hours/Minutes"); valuesDefaultReminderUnits.append( choice ); } - mDefaultReminderUnitsItem = new MyPrefs::ItemEnum( currentGroup(), QLatin1String( "RemindUnits" ), mDefaultReminderUnits, valuesDefaultReminderUnits, TimePeriod::HoursMinutes ); + mDefaultReminderUnitsItem = new MyPrefs::ItemEnum( currentGroup(), QStringLiteral( "RemindUnits" ), mDefaultReminderUnits, valuesDefaultReminderUnits, TimePeriod::HoursMinutes ); mDefaultReminderUnitsItem->setLabel( /*: @label */ QCoreApplication::translate("Test11", "Reminder units") ); mDefaultReminderUnitsItem->setToolTip( /*: @info:tooltip */ QCoreApplication::translate("Test11", "Default reminder time units in the alarm edit dialog.") ); mDefaultReminderUnitsItem->setWhatsThis( /*: @info:whatsthis */ QCoreApplication::translate("Test11", "Default reminder time units in the alarm edit dialog.") ); - addItem( mDefaultReminderUnitsItem, QLatin1String( "DefaultReminderUnits" ) ); + addItem( mDefaultReminderUnitsItem, QStringLiteral( "DefaultReminderUnits" ) ); - setCurrentGroup( QLatin1String( "QueueRates" ) ); + setCurrentGroup( QStringLiteral( "QueueRates" ) ); QList< QList<int> > defaultRate; QList< int > defaultRateInit; @@ -150,18 +150,18 @@ Test11::Test11( ) QList<int> defaultqueueRate; - mQueueRateItem[0] = new MyPrefs::ItemIntList( currentGroup(), QLatin1String( "EmptyingRate 0" ), mQueueRate[0], defaultRate[0] ); + mQueueRateItem[0] = new MyPrefs::ItemIntList( currentGroup(), QStringLiteral( "EmptyingRate 0" ), mQueueRate[0], defaultRate[0] ); mQueueRateItem[0]->setLabel( QCoreApplication::translate("Test11", "EmptyingRate queueRate$(QueueIndex)") ); - addItem( mQueueRateItem[0], QLatin1String( "queueRate0" ) ); - mQueueRateItem[1] = new MyPrefs::ItemIntList( currentGroup(), QLatin1String( "EmptyingRate 1" ), mQueueRate[1], defaultqueueRate ); + addItem( mQueueRateItem[0], QStringLiteral( "queueRate0" ) ); + mQueueRateItem[1] = new MyPrefs::ItemIntList( currentGroup(), QStringLiteral( "EmptyingRate 1" ), mQueueRate[1], defaultqueueRate ); mQueueRateItem[1]->setLabel( QCoreApplication::translate("Test11", "EmptyingRate queueRate$(QueueIndex)") ); - addItem( mQueueRateItem[1], QLatin1String( "queueRate1" ) ); - mQueueRateItem[2] = new MyPrefs::ItemIntList( currentGroup(), QLatin1String( "EmptyingRate 2" ), mQueueRate[2], defaultRate[2] ); + addItem( mQueueRateItem[1], QStringLiteral( "queueRate1" ) ); + mQueueRateItem[2] = new MyPrefs::ItemIntList( currentGroup(), QStringLiteral( "EmptyingRate 2" ), mQueueRate[2], defaultRate[2] ); mQueueRateItem[2]->setLabel( QCoreApplication::translate("Test11", "EmptyingRate queueRate$(QueueIndex)") ); - addItem( mQueueRateItem[2], QLatin1String( "queueRate2" ) ); - mShowQueueTunerItem = new MyPrefs::ItemBool( currentGroup(), QLatin1String( "ShowQueueTuner" ), mShowQueueTuner, false ); + addItem( mQueueRateItem[2], QStringLiteral( "queueRate2" ) ); + mShowQueueTunerItem = new MyPrefs::ItemBool( currentGroup(), QStringLiteral( "ShowQueueTuner" ), mShowQueueTuner, false ); mShowQueueTunerItem->setLabel( QCoreApplication::translate("Test11", "ShowQueueTuner") ); - addItem( mShowQueueTunerItem, QLatin1String( "ShowQueueTuner" ) ); + addItem( mShowQueueTunerItem, QStringLiteral( "ShowQueueTuner" ) ); } bool Test11::defaultAutoSaveValue_helper() const |