changeset 21 | c707676bf59f |
parent 18 | 7d11f9a6646f |
child 24 | 408f75ba5bc2 |
18:7d11f9a6646f | 21:c707676bf59f |
---|---|
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 } |