controlpanel/controlpanel_plat/inc/cpbasesettingview.h
changeset 52 58cebe0861a8
parent 38 5a264aaf7677
equal deleted inserted replaced
40:6465d5bb863a 52:58cebe0861a8
     9 * Initial Contributors:
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description:  
    14 * Description:  Base class for controlpane plugin views.
    15 *
    15 *
    16 */
    16 */
    17 #ifndef CPBASESETTINGVIEW_H
    17 #ifndef CPBASESETTINGVIEW_H
    18 #define CPBASESETTINGVIEW_H
    18 #define CPBASESETTINGVIEW_H
    19 
    19 
    30 {
    30 {
    31     Q_OBJECT
    31     Q_OBJECT
    32 public:
    32 public:
    33 	explicit CpBaseSettingView(QGraphicsWidget *widget = 0, QGraphicsItem *parent = 0);
    33 	explicit CpBaseSettingView(QGraphicsWidget *widget = 0, QGraphicsItem *parent = 0);
    34     virtual ~CpBaseSettingView();    
    34     virtual ~CpBaseSettingView();    
    35     
       
    36     //\deprecated please use HbView::setWidget
       
    37     void setSettingForm(HbDataForm *settingForm)
       
    38     {
       
    39     }
       
    40     //\deprecated HbDataForm *settingForm(), please use HbView::widget() instead
       
    41     HbDataForm *settingForm() const
       
    42     {
       
    43         return 0;
       
    44     }
       
    45 signals:
    35 signals:
    46     void returnValueDelivered(const QVariant &returnValue);
    36     void returnValueDelivered(const QVariant &returnValue);
    47     void aboutToClose();
    37     void aboutToClose();
    48 protected:
    38 protected:
    49     virtual void close();
    39     virtual void close();