deviceupdatesui/deviceupdates/src/settingsdataformcustomitem.cpp
changeset 38 2d078e09a2f4
parent 37 1cab1a4490f8
child 47 d316aecb87fd
equal deleted inserted replaced
37:1cab1a4490f8 38:2d078e09a2f4
    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     }