equal
deleted
inserted
replaced
42 CpBaseSettingView::~CpBaseSettingView() |
42 CpBaseSettingView::~CpBaseSettingView() |
43 { |
43 { |
44 delete d_ptr; |
44 delete d_ptr; |
45 } |
45 } |
46 |
46 |
|
47 |
47 /*! |
48 /*! |
48 \deprecated void CpBaseSettingView::setSettingForm(HbDataForm *settingForm) will be deprecated, please |
49 Give derived class a chance to do some cleaning work before exiting view. |
49 use setWidget(QGraphicsWidget* widget) to instead. |
50 Return : true: ok to exit |
50 Set the data form for the setting view. |
|
51 */ |
51 */ |
52 void CpBaseSettingView::setSettingForm(HbDataForm *settingForm) |
52 void CpBaseSettingView::close() |
53 { |
53 { |
54 d_ptr->setSettingForm(settingForm); |
54 emit aboutToClose(); |
55 } |
55 } |
56 |
56 |
57 /*! |
57 // End of File |
58 \deprecated HbDataForm *CpBaseSettingView::settingForm() const will be deprecated, please |
|
59 use widget() const to instead. |
|
60 Get the data form for the setting view. |
|
61 */ |
|
62 HbDataForm *CpBaseSettingView::settingForm() const |
|
63 { |
|
64 return qobject_cast<HbDataForm*>(widget()); |
|
65 } |
|
66 |
|
67 // |
|