diff -r 459da34cdb45 -r 83cc6bae1de8 emailuis/nmsettingui/src/nmsettingsformcustomitems.cpp --- a/emailuis/nmsettingui/src/nmsettingsformcustomitems.cpp Fri Sep 03 17:52:02 2010 +0300 +++ b/emailuis/nmsettingui/src/nmsettingsformcustomitems.cpp Wed Sep 15 12:09:55 2010 +0300 @@ -58,14 +58,14 @@ HbAbstractViewItem *NmSettingsFormCustomItems::createItem() { NM_FUNCTION; - + return new NmSettingsFormCustomItems(*this); } bool NmSettingsFormCustomItems::canSetModelIndex(const QModelIndex &index) const { NM_FUNCTION; - + int type(index.data(HbDataFormModelItem::ItemTypeRole).toInt()); return type==NmButtonItem; } @@ -76,7 +76,7 @@ void NmSettingsFormCustomItems::restore() { NM_FUNCTION; - + HbDataFormModelItem::DataItemType itemType = static_cast( modelIndex().data(HbDataFormModelItem::ItemTypeRole).toInt()); if (itemType==NmButtonItem) { @@ -102,12 +102,12 @@ HbWidget *NmSettingsFormCustomItems::createCustomWidget() { NM_FUNCTION; - + HbDataFormModelItem::DataItemType itemType = static_cast( modelIndex().data(HbDataFormModelItem::ItemTypeRole).toInt()); - HbWidget *widget = 0; + HbWidget *widget = NULL; switch (itemType) { case NmButtonItem: {