phonesettings/cpphonesettingsplugins/telephonyplugin/src/cptelephonyplugin.cpp
changeset 22 6bb1b21d2484
parent 21 92ab7f8d0eab
child 27 2f8f8080a020
--- a/phonesettings/cpphonesettingsplugins/telephonyplugin/src/cptelephonyplugin.cpp	Fri Mar 19 09:28:42 2010 +0200
+++ b/phonesettings/cpphonesettingsplugins/telephonyplugin/src/cptelephonyplugin.cpp	Fri Apr 16 14:58:25 2010 +0300
@@ -37,12 +37,15 @@
     UNINSTALL_TRACE_MSG_HANDLER; 
 }
 
-CpSettingFormItemData *CpTelephonyPlugin::createSettingFormItemData(
-    CpItemDataHelper &itemDataHelper) const
+QList<CpSettingFormItemData*> CpTelephonyPlugin::createSettingFormItemData(
+        CpItemDataHelper &itemDataHelper) const
 {
     DPRINT;
-    return new CpSettingFormEntryItemDataImpl<CpTelephonyPluginView>(
-            itemDataHelper, hbTrId("Telephony"), hbTrId(""));
+
+    QList<CpSettingFormItemData*> ret;
+    ret.append(new CpSettingFormEntryItemDataImpl<CpTelephonyPluginView>(
+            itemDataHelper, hbTrId("Telephony"), hbTrId("")));
+    return ret;
 }
 
 Q_EXPORT_PLUGIN2(cptelephonyplugin, CpTelephonyPlugin);