clock/clockui/clocksettingsview/src/clocksettingsview.cpp
changeset 55 2c54b51f39c4
parent 51 0b38fc5b94c6
child 57 bb2d3e476f29
--- a/clock/clockui/clocksettingsview/src/clocksettingsview.cpp	Mon Jul 12 02:32:28 2010 +0530
+++ b/clock/clockui/clocksettingsview/src/clocksettingsview.cpp	Mon Jul 26 13:54:38 2010 +0530
@@ -391,8 +391,11 @@
 	HbDataFormModelItem::DataItemType regionalSettingsItem =
 			static_cast<HbDataFormModelItem::DataItemType>
 			(HbDataFormModelItem::CustomItemBase + RegionalSettingsItem);
-	(mSettingsModel->appendDataFormItem(
-			regionalSettingsItem))->setContentWidgetData(
+	mRegionalDataFormItem = mSettingsModel->appendDataFormItem(
+			regionalSettingsItem);
+	mRegionalDataFormItem->setContentWidgetData(
+			"text", hbTrId("txt_clock_button_regional_date_time_settings"));
+	mRegionalDataFormItem->setContentWidgetData(
 					"objectName", "regionalSettings");
     
 	// Add the clock type item.
@@ -421,10 +424,10 @@
 			HbDataFormModelItem::ComboBoxItem,
 			hbTrId("txt_clock_setlabel_alarm_snooze_time"));
 	QStringList alramSnoozeTimes;
-	alramSnoozeTimes << hbTrId("txt_clock_set_ln_mins", 5)
-			<< hbTrId("txt_clock_set_ln_mins", 10)
-			<< hbTrId("txt_clock_set_ln_mins", 15)
-			<< hbTrId("txt_clock_set_ln_mins", 30);
+	alramSnoozeTimes << hbTrId("txt_clock_setlabel_ln_mins", 5)
+			<< hbTrId("txt_clock_setlabel_ln_mins", 10)
+			<< hbTrId("txt_clock_setlabel_ln_mins", 15)
+			<< hbTrId("txt_clock_setlabel_ln_mins", 30);
 	
 	// Build the hash map for the reminder.
 	mAlarmSnoozeTimeHash[0] = 5;