equal
deleted
inserted
replaced
117 OstTraceFunctionEntry1(CPWLANSETTINGSGROUPITEMDATA_CREATEWLANSETTINITEMS_ENTRY, this); |
117 OstTraceFunctionEntry1(CPWLANSETTINGSGROUPITEMDATA_CREATEWLANSETTINITEMS_ENTRY, this); |
118 |
118 |
119 mJoinWlanItem = new CpSettingFormItemData( |
119 mJoinWlanItem = new CpSettingFormItemData( |
120 HbDataFormModelItem::ComboBoxItem, hbTrId( |
120 HbDataFormModelItem::ComboBoxItem, hbTrId( |
121 "txt_occ_setlabel_join_wlan_networks"), this); |
121 "txt_occ_setlabel_join_wlan_networks"), this); |
|
122 // name the object for test automation purposes |
|
123 mJoinWlanItem->setObjectName("switchToWlan"); |
122 |
124 |
123 QStringList joinWlanItems; |
125 QStringList joinWlanItems; |
124 |
126 |
125 joinWlanItems.append(hbTrId( |
127 joinWlanItems.append(hbTrId( |
126 "txt_occ_setlabel_join_wlan_networks_val_known")); |
128 "txt_occ_setlabel_join_wlan_networks_val_known")); |
140 this->appendChild(mJoinWlanItem); |
142 this->appendChild(mJoinWlanItem); |
141 |
143 |
142 mScanNetworkItem = new CpSettingFormItemData( |
144 mScanNetworkItem = new CpSettingFormItemData( |
143 HbDataFormModelItem::ComboBoxItem, hbTrId( |
145 HbDataFormModelItem::ComboBoxItem, hbTrId( |
144 "txt_occ_setlabel_scan_for_networks"), this); |
146 "txt_occ_setlabel_scan_for_networks"), this); |
|
147 // name the object for test automation purposes |
|
148 mScanNetworkItem->setObjectName("scanNetworkItem"); |
145 |
149 |
146 QStringList scanNetworkItems; |
150 QStringList scanNetworkItems; |
147 |
151 |
148 scanNetworkItems.append(hbTrId( |
152 scanNetworkItems.append(hbTrId( |
149 "txt_occ_setlabel_scan_for_networks_val_automatic")); |
153 "txt_occ_setlabel_scan_for_networks_val_automatic")); |
169 } |
173 } |
170 |
174 |
171 mPowerSavingItem = new CpSettingFormItemData( |
175 mPowerSavingItem = new CpSettingFormItemData( |
172 HbDataFormModelItem::ComboBoxItem, hbTrId( |
176 HbDataFormModelItem::ComboBoxItem, hbTrId( |
173 "txt_occ_setlabel_power_saving"), this); |
177 "txt_occ_setlabel_power_saving"), this); |
|
178 // name the object for test automation purposes |
|
179 mPowerSavingItem->setObjectName("powerSaving"); |
174 |
180 |
175 QStringList powerSavingItems; |
181 QStringList powerSavingItems; |
176 |
182 |
177 powerSavingItems.append(hbTrId( |
183 powerSavingItems.append(hbTrId( |
178 "txt_occ_setlabel_power_saving_val_disabled")); |
184 "txt_occ_setlabel_power_saving_val_disabled")); |