equal
deleted
inserted
replaced
47 case HbDataFormModelItem::CustomItemBase : |
47 case HbDataFormModelItem::CustomItemBase : |
48 { |
48 { |
49 HbLineEdit* mLineEdit = new HbLineEdit(); |
49 HbLineEdit* mLineEdit = new HbLineEdit(); |
50 mLineEdit->setText(QString("8080")); |
50 mLineEdit->setText(QString("8080")); |
51 HbEditorInterface editorInterface(mLineEdit); |
51 HbEditorInterface editorInterface(mLineEdit); |
52 editorInterface.setInputMode(HbInputModeNumeric); |
52 editorInterface.setMode(HbInputModeNumeric); |
53 editorInterface.setConstraints(HbEditorConstraintFixedInputMode); |
53 editorInterface.setInputConstraints(HbEditorConstraintFixedInputMode); |
54 return mLineEdit; |
54 return mLineEdit; |
55 } |
55 } |
56 default: |
56 default: |
57 return 0; |
57 return 0; |
58 } |
58 } |