src/hbwidgets/dataform/hbdataformmodelitem.cpp
changeset 34 ed14f46c0e55
parent 6 c3690ec91ef8
equal deleted inserted replaced
31:7516d6d86cf5 34:ed14f46c0e55
   753     if \a enabled is false, the user cannot interact with the item.
   753     if \a enabled is false, the user cannot interact with the item.
   754 */
   754 */
   755 void HbDataFormModelItem::setEnabled(bool enabled)
   755 void HbDataFormModelItem::setEnabled(bool enabled)
   756 {
   756 {
   757     Q_D(HbDataFormModelItem);
   757     Q_D(HbDataFormModelItem);
       
   758     d->mDirtyProperty = "enabled";
   758 
   759 
   759     if (enabled != (bool)(d->mFlags & Qt::ItemIsEnabled)) {
   760     if (enabled != (bool)(d->mFlags & Qt::ItemIsEnabled)) {
   760         if (enabled) {
   761         if (enabled) {
   761             d->mFlags |= Qt::ItemIsEnabled;
   762             d->mFlags |= Qt::ItemIsEnabled;
   762         } else {
   763         } else {