equal
deleted
inserted
replaced
105 street->setContentWidgetData( "maxLength", CNT_STREET_MAXLENGTH ); |
105 street->setContentWidgetData( "maxLength", CNT_STREET_MAXLENGTH ); |
106 |
106 |
107 HbDataFormModelItem* postal = new HbDataFormModelItem( HbDataFormModelItem::TextItem, hbTrId("txt_phob_formlabel_postal_codezip_code")); |
107 HbDataFormModelItem* postal = new HbDataFormModelItem( HbDataFormModelItem::TextItem, hbTrId("txt_phob_formlabel_postal_codezip_code")); |
108 postal->setContentWidgetData( "text", aAddress->postcode() ); |
108 postal->setContentWidgetData( "text", aAddress->postcode() ); |
109 postal->setContentWidgetData( "maxLength", CNT_POSTCODE_MAXLENGTH ); |
109 postal->setContentWidgetData( "maxLength", CNT_POSTCODE_MAXLENGTH ); |
|
110 postal->setContentWidgetData( "preferDigits", true); |
110 |
111 |
111 HbDataFormModelItem* city = new HbDataFormModelItem( HbDataFormModelItem::TextItem, hbTrId("txt_phob_formlabel_city")); |
112 HbDataFormModelItem* city = new HbDataFormModelItem( HbDataFormModelItem::TextItem, hbTrId("txt_phob_formlabel_city")); |
112 city->setContentWidgetData( "text", aAddress->locality() ); |
113 city->setContentWidgetData( "text", aAddress->locality() ); |
113 city->setContentWidgetData( "maxLength", CNT_LOCALITY_MAXLENGTH ); |
114 city->setContentWidgetData( "maxLength", CNT_LOCALITY_MAXLENGTH ); |
114 |
115 |