src/hbcore/utils/hbwidgetloadersyntax_p.cpp
changeset 28 b7da29130b0e
parent 23 e6ad4ef83b23
child 30 80e4d18b72f5
equal deleted inserted replaced
23:e6ad4ef83b23 28:b7da29130b0e
   250     for (int i = 0; retVal && i < layoutDef->anchorItems.count(); i++){
   250     for (int i = 0; retVal && i < layoutDef->anchorItems.count(); i++){
   251         const HbWidgetLoader::AnchorItem &item = layoutDef->anchorItems.at(i);
   251         const HbWidgetLoader::AnchorItem &item = layoutDef->anchorItems.at(i);
   252         HbXmlLengthValue minLength, prefLength, maxLength;
   252         HbXmlLengthValue minLength, prefLength, maxLength;
   253         minLength.mType = item.minType;
   253         minLength.mType = item.minType;
   254         minLength.mValue = item.minVal;
   254         minLength.mValue = item.minVal;
       
   255         minLength.mHashValue = item.minHashValue;
   255         minLength.mString = item.minText;
   256         minLength.mString = item.minText;
   256         prefLength.mType = item.prefType;
   257         prefLength.mType = item.prefType;
   257         prefLength.mValue = item.prefVal;
   258         prefLength.mValue = item.prefVal;
       
   259         prefLength.mHashValue = item.prefHashValue;
   258         prefLength.mString = item.prefText;
   260         prefLength.mString = item.prefText;
   259         maxLength.mType = item.maxType;
   261         maxLength.mType = item.maxType;
   260         maxLength.mValue = item.maxVal;
   262         maxLength.mValue = item.maxVal;
       
   263         maxLength.mHashValue = item.maxHashValue;
   261         maxLength.mString = item.maxText;
   264         maxLength.mString = item.maxText;
   262         QSizePolicy::Policy sizepolicy;
   265         QSizePolicy::Policy sizepolicy;
   263         QSizePolicy::Policy *sizepolicy_p = 0;
   266         QSizePolicy::Policy *sizepolicy_p = 0;
   264         if ( item.sizepolicy != -1 ) {
   267         if ( item.sizepolicy != -1 ) {
   265             sizepolicy = (QSizePolicy::Policy)item.sizepolicy;
   268             sizepolicy = (QSizePolicy::Policy)item.sizepolicy;