controlpanelui/src/cpplugins/personalizationplugin/src/cppersonalizationadvanceview.cpp
changeset 19 36aa4756ee82
parent 12 624337f114fe
child 40 593f946f4fec
child 41 ab0490982943
equal deleted inserted replaced
12:624337f114fe 19:36aa4756ee82
    23 #include <hbdataformmodelitem.h>
    23 #include <hbdataformmodelitem.h>
    24 */
    24 */
    25 #include "cpprofilesettingform.h"
    25 #include "cpprofilesettingform.h"
    26 #include "cpprofilenameeditdialog.h"
    26 #include "cpprofilenameeditdialog.h"
    27 
    27 
       
    28 #include <cppluginutility.h>
    28 #include <hbaction.h>
    29 #include <hbaction.h>
    29 #include <hbmenu.h>
    30 #include <hbmenu.h>
    30 CpPersonalizationAdvanceView::CpPersonalizationAdvanceView(QGraphicsItem *parent /*=0*/):
    31 CpPersonalizationAdvanceView::CpPersonalizationAdvanceView(QGraphicsItem *parent /*=0*/):
    31     CpBaseSettingView(0,parent)
    32     CpBaseSettingView(0,parent)
    32 {
    33 {
    34     // 2.please modify the cpprofilesettingform.h/ cpp according to current ui spec
    35     // 2.please modify the cpprofilesettingform.h/ cpp according to current ui spec
    35     // 3.NOTICE! you can get controlpanel's text map from the controlpanel ui wiki, use current text id for strings
    36     // 3.NOTICE! you can get controlpanel's text map from the controlpanel ui wiki, use current text id for strings
    36     // 4.use cppersonalizationentryitemdata class to create ringtone, message tone...
    37     // 4.use cppersonalizationentryitemdata class to create ringtone, message tone...
    37     // 5.ignore cpmastervolumeslider class, please use default slideritem to create keyandscreen slider, new property added in slider, if any question, please contact me.
    38     // 5.ignore cpmastervolumeslider class, please use default slideritem to create keyandscreen slider, new property added in slider, if any question, please contact me.
    38     // 6. don't forget the cfg file in data folder, you can try to add the profile activator plugin and ringtone plugin here
    39     // 6. don't forget the cfg file in data folder, you can try to add the profile activator plugin and ringtone plugin here
    39     setSettingForm( new CpProfileSettingForm() );
    40     HbDataForm *form = new CpProfileSettingForm();
       
    41     setWidget( form );
       
    42     CpPluginUtility::addCpItemPrototype(form);
    40     initMenu();
    43     initMenu();
    41 }
    44 }
    42 CpPersonalizationAdvanceView::~CpPersonalizationAdvanceView()
    45 CpPersonalizationAdvanceView::~CpPersonalizationAdvanceView()
    43 {
    46 {
    44     
    47