emailuis/nmsettingui/src/nmsettingsformcustomitems.cpp
changeset 75 47d84de1c893
parent 30 759dc5235cdb
--- a/emailuis/nmsettingui/src/nmsettingsformcustomitems.cpp	Fri Sep 17 08:27:21 2010 +0300
+++ b/emailuis/nmsettingui/src/nmsettingsformcustomitems.cpp	Mon Oct 04 00:05:37 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<HbDataFormModelItem::DataItemType>(
         modelIndex().data(HbDataFormModelItem::ItemTypeRole).toInt());
      if (itemType==NmButtonItem) {
@@ -102,12 +102,12 @@
 HbWidget *NmSettingsFormCustomItems::createCustomWidget()
 {
     NM_FUNCTION;
-    
+
     HbDataFormModelItem::DataItemType itemType =
         static_cast<HbDataFormModelItem::DataItemType>(
             modelIndex().data(HbDataFormModelItem::ItemTypeRole).toInt());
 
-    HbWidget *widget = 0;
+    HbWidget *widget = NULL;
 
     switch (itemType) {
       case NmButtonItem: {