coreapplicationuis/Rfs/Plugins/cprfsplugin/src/cprfsview.cpp
changeset 56 11a052f4b02e
parent 21 c4cbaa4fb734
equal deleted inserted replaced
49:76883296a0d5 56:11a052f4b02e
    26 	{
    26 	{
    27     CpRfsSettingsForm* settingForm = new CpRfsSettingsForm(this);
    27     CpRfsSettingsForm* settingForm = new CpRfsSettingsForm(this);
    28         
    28         
    29     //custom prototype
    29     //custom prototype
    30     CpRfsSettingsDataFormCustomItem* customPrototype = new CpRfsSettingsDataFormCustomItem(settingForm);
    30     CpRfsSettingsDataFormCustomItem* customPrototype = new CpRfsSettingsDataFormCustomItem(settingForm);
    31     settingForm->setItemPrototype(customPrototype);
       
    32     
    31     
    33     this->setSettingForm(settingForm);
    32     QList <HbAbstractViewItem*> protos = settingForm->itemPrototypes();
       
    33     protos.append(customPrototype);
       
    34     settingForm->setItemPrototypes(protos);    
       
    35     //function from hbview
       
    36     setWidget(settingForm);
       
    37     
    34 	}
    38 	}
    35 CpRfsView::~CpRfsView()
    39 CpRfsView::~CpRfsView()
    36     {
    40     {
    37     }
    41     }