diff -r 74c9f037fd5d -r 99ad1390cd33 ui/views/detailsview/src/glxdetailscustomwidgets.cpp --- a/ui/views/detailsview/src/glxdetailscustomwidgets.cpp Fri Mar 19 09:28:59 2010 +0200 +++ b/ui/views/detailsview/src/glxdetailscustomwidgets.cpp Fri Apr 16 14:58:46 2010 +0300 @@ -98,11 +98,18 @@ } } +bool GlxDetailsCustomWidgets::canSetModelIndex(const QModelIndex &index) const +{ + HbDataFormModelItem::DataItemType itemType = + static_cast( + index.data(HbDataFormModelItem::ItemTypeRole).toInt()); -void GlxDetailsCustomWidgets::SetImageName(const QString &label) - { - qDebug("GlxDetailsCustomWidgets::SetImageName:mLabel "); - mLabel->setPlainText(label); - } + if(itemType >= ImageNameItem && + itemType <= CommentsItem ) + { + return true; + } + return false; +} //EOF