39 const QString &text = QString(), |
39 const QString &text = QString(), |
40 const QString &description = QString(), |
40 const QString &description = QString(), |
41 const HbIcon &icon = HbIcon(), |
41 const HbIcon &icon = HbIcon(), |
42 const HbDataFormModelItem *parent = 0) : |
42 const HbDataFormModelItem *parent = 0) : |
43 CpSettingFormEntryItemData(itemDataHelper,text,description,icon,parent) |
43 CpSettingFormEntryItemData(itemDataHelper,text,description,icon,parent) |
44 { |
44 { } |
45 } |
|
46 |
45 |
47 /*! |
46 /*! |
48 Construct a new CpSettingFormEntryItemDataImpl with the given text,description and parent. |
47 Construct a new CpSettingFormEntryItemDataImpl with the given text,description and parent. |
49 */ |
48 */ |
50 explicit CpSettingFormEntryItemDataImpl(HbDataForm *dataForm, |
49 explicit CpSettingFormEntryItemDataImpl(HbDataForm *dataForm, |
52 const QString &description = QString(), |
51 const QString &description = QString(), |
53 const HbIcon &icon = HbIcon(), |
52 const HbIcon &icon = HbIcon(), |
54 const HbDataFormModelItem *parent = 0) : |
53 const HbDataFormModelItem *parent = 0) : |
55 CpSettingFormEntryItemData(dataForm,text,description,icon,parent) |
54 CpSettingFormEntryItemData(dataForm,text,description,icon,parent) |
56 |
55 |
57 { |
56 { } |
58 } |
57 |
|
58 explicit CpSettingFormEntryItemDataImpl( |
|
59 EntryItemType type, |
|
60 CpItemDataHelper &itemDataHelper, |
|
61 const QString &text = QString(), |
|
62 const QString &description = QString(), |
|
63 const QString &icon = QString(), |
|
64 const HbDataFormModelItem *parent = 0) : |
|
65 CpSettingFormEntryItemData(type,itemDataHelper,text,description,icon,parent) |
|
66 { } |
|
67 |
|
68 explicit CpSettingFormEntryItemDataImpl( |
|
69 EntryItemType type, |
|
70 HbDataForm *dataForm, |
|
71 const QString &text = QString(), |
|
72 const QString &description = QString(), |
|
73 const QString &icon = QString(), |
|
74 const HbDataFormModelItem *parent = 0) : |
|
75 CpSettingFormEntryItemData(type,dataForm,text,description,icon,parent) |
|
76 { } |
59 |
77 |
60 /*! |
78 /*! |
61 Destructor. |
79 Destructor. |
62 */ |
80 */ |
63 virtual ~CpSettingFormEntryItemDataImpl() |
81 virtual ~CpSettingFormEntryItemDataImpl() |
64 { |
82 { } |
65 } |
|
66 |
83 |
67 /*! |
84 /*! |
68 Implement CpSettingFormEntryItemData::createSettingView |
85 Implement CpSettingFormEntryItemData::createSettingView |
69 */ |
86 */ |
70 virtual CpBaseSettingView *createSettingView() const |
87 virtual CpBaseSettingView *createSettingView() const |
71 { |
88 { return new PLUGIN_VIEW(); } |
72 return new PLUGIN_VIEW(); |
|
73 } |
|
74 }; |
89 }; |
75 |
90 |
76 #endif // CP_SETTINGFORM_ENTRY_ITEM_DATA_IMPL_H |
91 #endif // CP_SETTINGFORM_ENTRY_ITEM_DATA_IMPL_H |