controlpanelplugins/themeplugin/src/cpthemeplugin.cpp
changeset 28 e0b83131558d
parent 26 808caa51b78b
child 41 ab0490982943
equal deleted inserted replaced
26:808caa51b78b 28:e0b83131558d
    46 {
    46 {
    47 
    47 
    48     //create a cpthemepluginentryitemdata with default values and return it.
    48     //create a cpthemepluginentryitemdata with default values and return it.
    49     CpSettingFormEntryItemData *entryItem = new CpThemePluginEntryItemData(
    49     CpSettingFormEntryItemData *entryItem = new CpThemePluginEntryItemData(
    50         itemDataHelper,
    50         itemDataHelper,
    51         tr("Theme"),
    51         hbTrId("txt_cp_dblist_theme"),
    52         tr("Theme Name"),
    52         QString(),
    53         HbIcon());
    53         HbIcon());
    54         return QList<CpSettingFormItemData*>() << entryItem;
    54         return QList<CpSettingFormItemData*>() << entryItem;
    55 }
    55 }
    56 
    56 
    57 Q_EXPORT_PLUGIN2(cpthemeplugin, CpThemePlugin);
    57 Q_EXPORT_PLUGIN2(cpthemeplugin, CpThemePlugin);