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; |