equal
deleted
inserted
replaced
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 } |