phonesettings/cpphonesettingsplugins/telephonyplugin/src/cptelephonypluginview.cpp
equal
deleted
inserted
replaced
57 QList<CpSettingFormItemData*> items; |
57 QList<CpSettingFormItemData*> items; |
58 |
58 |
59 DPRINT << ": Loading cpcallsplugin"; |
59 DPRINT << ": Loading cpcallsplugin"; |
60 items.append(groupItemFromPlugin( |
60 items.append(groupItemFromPlugin( |
61 PLUGIN_NAME_CALLSPLUGIN)); |
61 PLUGIN_NAME_CALLSPLUGIN)); |
62 // CpSettingFormItemData* expandedItem = items.last(); |
62 CpSettingFormItemData* expandedItem = items.last(); |
63 |
63 |
64 DPRINT << ": Loading vmbxcpplugin"; |
64 DPRINT << ": Loading vmbxcpplugin"; |
65 items.append(groupItemFromPlugin( |
65 items.append(groupItemFromPlugin( |
66 PLUGIN_NAME_VMBXPLUGIN)); |
66 PLUGIN_NAME_VMBXPLUGIN)); |
67 |
|
68 |
67 |
69 DPRINT << ": Loading cpdivertsplugin"; |
68 DPRINT << ": Loading cpdivertsplugin"; |
70 items.append(groupItemFromPlugin( |
69 items.append(groupItemFromPlugin( |
71 PLUGIN_NAME_DIVERTPLUGIN)); |
70 PLUGIN_NAME_DIVERTPLUGIN)); |
72 |
71 |
79 model->appendDataFormItem(i); |
78 model->appendDataFormItem(i); |
80 } |
79 } |
81 |
80 |
82 form->setModel(model); |
81 form->setModel(model); |
83 |
82 |
84 /* |
|
85 if (expandedItem) { |
83 if (expandedItem) { |
86 QModelIndex expandedItemIndex = model->indexFromItem(expandedItem); |
84 QModelIndex expandedItemIndex = model->indexFromItem(expandedItem); |
87 |
85 |
88 if (expandedItemIndex.isValid()) { |
86 if (expandedItemIndex.isValid()) { |
89 form->setExpanded(expandedItemIndex, true); |
87 form->setExpanded(expandedItemIndex, true); |
90 } |
88 } |
91 } |
89 } |
92 */ |
|
93 } |
90 } |
94 |
91 |
95 DPRINT << ": OUT"; |
92 DPRINT << ": OUT"; |
96 } |
93 } |
97 |
94 |