controlpanel/src/cpframework/src/cpbasesettingview.cpp
changeset 23 7e4c5a2ff1a2
parent 18 e3554c9069b6
child 56 d9e9413f30c9
--- a/controlpanel/src/cpframework/src/cpbasesettingview.cpp	Mon May 03 12:46:45 2010 +0300
+++ b/controlpanel/src/cpframework/src/cpbasesettingview.cpp	Fri May 14 16:07:47 2010 +0300
@@ -44,24 +44,14 @@
     delete d_ptr;
 }
 
-/*!
-	\deprecated  void CpBaseSettingView::setSettingForm(HbDataForm *settingForm) will be deprecated, please
-	use setWidget(QGraphicsWidget* widget) to instead.
-    Set the data form for the setting view.
- */
-void CpBaseSettingView::setSettingForm(HbDataForm *settingForm)
-{
-    d_ptr->setSettingForm(settingForm);
-}
 
 /*!
-	\deprecated  HbDataForm *CpBaseSettingView::settingForm() const will be deprecated, please
-	use widget() const to instead.
-    Get the data form for the setting view.
+    Give derived class a chance to do some cleaning work before exiting view.
+    Return : true:  ok to exit
  */
-HbDataForm *CpBaseSettingView::settingForm() const
+void CpBaseSettingView::close()
 {
-    return qobject_cast<HbDataForm*>(widget());
+    emit aboutToClose();
 }
 
-//
+// End of File