deviceupdatesui/deviceupdates/src/settingsdataformcustomitem.cpp
changeset 37 1cab1a4490f8
parent 36 9eefb50e711a
child 38 2d078e09a2f4
equal deleted inserted replaced
36:9eefb50e711a 37:1cab1a4490f8
    55             }                
    55             }                
    56         default:
    56         default:
    57             return 0;
    57             return 0;
    58     }
    58     }
    59 }
    59 }
       
    60 
       
    61  bool SettingsDataFormCustomItem::canSetModelIndex( const QModelIndex& aIndex ) const
       
    62  {
       
    63      int itemType = aIndex.data(HbDataFormModelItem::ItemTypeRole).toInt();
       
    64      return itemType == HbDataFormModelItem::CustomItemBase;
       
    65  }