deviceupdatesui/deviceupdates/src/settingsdataformcustomitem.cpp
changeset 24 408f75ba5bc2
parent 21 c707676bf59f
child 42 aa33c2cb9a50
equal deleted inserted replaced
21:c707676bf59f 24:408f75ba5bc2
    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     }