phonesettings/cpphonesettingsplugins/telephonyplugin/src/cptelephonypluginview.cpp
equal
deleted
inserted
replaced
47 } |
47 } |
48 |
48 |
49 HbDataForm *form = qobject_cast<HbDataForm*>(widget()); |
49 HbDataForm *form = qobject_cast<HbDataForm*>(widget()); |
50 if (form) { |
50 if (form) { |
51 HbDataFormModel *model = new HbDataFormModel; |
51 HbDataFormModel *model = new HbDataFormModel; |
52 form->setHeading(hbTrId("Telephone settings")); |
52 form->setHeading(hbTrId("txt_phone_subhead_telephone")); |
53 // Create and initialize plugin's item data helper |
53 // Create and initialize plugin's item data helper |
54 m_helper = initializeItemDataHelper(); |
54 m_helper = initializeItemDataHelper(); |
55 QList<CpSettingFormItemData*> items; |
55 QList<CpSettingFormItemData*> items; |
56 |
56 |
57 // Load calls plugin |
57 // Load calls plugin |
60 |
60 |
61 // Load diverts plugin |
61 // Load diverts plugin |
62 DPRINT << ": Loading cpdivertsplugin"; |
62 DPRINT << ": Loading cpdivertsplugin"; |
63 items.append(groupItemFromPlugin("cpdivertplugin")); |
63 items.append(groupItemFromPlugin("cpdivertplugin")); |
64 |
64 |
65 |
|
66 // Load call mailboxes plugin |
65 // Load call mailboxes plugin |
67 DPRINT << ": Loading vmbxcpplugin"; |
66 DPRINT << ": Loading vmbxcpplugin"; |
68 items.append(groupItemFromPlugin("vmbxcpplugin")); |
67 items.append(groupItemFromPlugin("vmbxcpplugin")); |
69 |
68 |
|
69 // Load barring plugin |
|
70 DPRINT << ": Loading cpbarringplugin"; |
|
71 items.append(groupItemFromPlugin("cpbarringplugin")); |
|
72 |
70 // Insert items to form model |
73 // Insert items to form model |
71 foreach (CpSettingFormItemData* i, items) { |
74 foreach (CpSettingFormItemData* i, items) { |
72 model->appendDataFormItem(i); |
75 model->appendDataFormItem(i); |
73 } |
76 } |
74 |
77 |