controlpanel/src/cpframework/src/cpbasesettingview_p.cpp
changeset 55 4c15d9aa2384
parent 39 c044bc2ea8f7
equal deleted inserted replaced
47:dbe66a66f6a9 55:4c15d9aa2384
     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:  Private implementaion for CpBaseSettingView
    15  *
    15  *
    16  */
    16  */
    17 
    17 
    18 #include "cpbasesettingview_p.h"
    18 #include "cpbasesettingview_p.h"
    19 #include "cpbasesettingview.h"
    19 #include "cpbasesettingview.h"
    47 {
    47 {
    48     mBaseSettingView = baseSettingView;
    48     mBaseSettingView = baseSettingView;
    49     
    49     
    50     if (!widget) {
    50     if (!widget) {
    51         widget = new HbDataForm();
    51         widget = new HbDataForm();
       
    52         // add item prototypes by default.
    52 		CpPluginUtility::addCpItemPrototype(qobject_cast<HbDataForm *>(widget));
    53 		CpPluginUtility::addCpItemPrototype(qobject_cast<HbDataForm *>(widget));
    53     }    
    54     }    
    54     
    55     
    55 	mBaseSettingView->setWidget(widget);
    56 	mBaseSettingView->setWidget(widget);
    56     
    57