27 /*! |
27 /*! |
28 Constructor |
28 Constructor |
29 */ |
29 */ |
30 VmbxCpPlugin::VmbxCpPlugin() |
30 VmbxCpPlugin::VmbxCpPlugin() |
31 { |
31 { |
32 _DBGLOG( "VmbxCpPlugin::VmbxCpPlugin()" ) |
32 _DBGLOG("VmbxCpPlugin::VmbxCpPlugin()") |
33 } |
33 } |
34 |
34 |
35 /*! |
35 /*! |
36 Destructor |
36 Destructor |
37 */ |
37 */ |
38 VmbxCpPlugin::~VmbxCpPlugin() |
38 VmbxCpPlugin::~VmbxCpPlugin() |
39 { |
39 { |
40 _DBGLOG( "VmbxCpPlugin::~VmbxCpPlugin()" ) |
40 _DBGLOG("VmbxCpPlugin::~VmbxCpPlugin()") |
41 } |
41 } |
42 |
42 |
43 /*! |
43 /*! |
44 From base class CpPluginInterface |
44 From base class CpPluginInterface |
45 */ |
45 */ |
46 QList<CpSettingFormItemData *> VmbxCpPlugin::createSettingFormItemData( |
46 QList<CpSettingFormItemData *> VmbxCpPlugin::createSettingFormItemData( |
47 CpItemDataHelper &itemDataHelper) const |
47 CpItemDataHelper &itemDataHelper) const |
48 { |
48 { |
49 _DBGLOG( "VmbxCpPlugin::createSettingFormItemData" ) |
49 _DBGLOG("VmbxCpPlugin::createSettingFormItemData") |
50 |
50 QList<CpSettingFormItemData *> ret; |
51 QList<CpSettingFormItemData *> itemList; |
51 ret.append(new VmbxCpGroup(itemDataHelper)); |
52 |
|
53 VmbxCpGroup *itemData = new VmbxCpGroup( |
|
54 HbDataFormModelItem::GroupItem, |
|
55 QString("Voice Mailbox"), |
|
56 QString("vmbxcpplugin.cpcfg"), |
|
57 0, |
|
58 itemDataHelper ); |
|
59 itemList << itemData; |
|
60 return itemList; |
|
61 _DBGLOG("VmbxCpPlugin::createSettingFormItemData created") |
52 _DBGLOG("VmbxCpPlugin::createSettingFormItemData created") |
|
53 return ret; |
62 } |
54 } |
63 Q_EXPORT_PLUGIN2(VmbxCpPlugin, VmbxCpPlugin); |
55 Q_EXPORT_PLUGIN2(VmbxCpPlugin, VmbxCpPlugin); |
64 |
56 |
65 //End of file |
57 //End of file |