controlpanelplugins/themeplugin/src/cpthemeplugin.cpp
changeset 19 36aa4756ee82
parent 11 10d0dd0e43f1
child 26 808caa51b78b
child 31 e79ce701c376
child 40 593f946f4fec
--- a/controlpanelplugins/themeplugin/src/cpthemeplugin.cpp	Mon May 03 12:32:06 2010 +0300
+++ b/controlpanelplugins/themeplugin/src/cpthemeplugin.cpp	Fri May 14 13:21:08 2010 +0800
@@ -41,7 +41,8 @@
 /*!
     create the control panel entry item data for Theme settins.
 */
-CpSettingFormItemData *CpThemePlugin::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const
+
+QList<CpSettingFormItemData*> CpThemePlugin::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const
 {
 
     //create a cpthemepluginentryitemdata with default values and return it.
@@ -50,7 +51,7 @@
         tr("Theme"),
         tr("Theme Name"),
         HbIcon(":/image/qgn_menu_note.svg"));
-	return entryItem;
+        return QList<CpSettingFormItemData*>() << entryItem;
 }
 
 Q_EXPORT_PLUGIN2(cpthemeplugin, CpThemePlugin);