equal
deleted
inserted
replaced
36 /// Unnamed namespace for local definitions |
36 /// Unnamed namespace for local definitions |
37 namespace |
37 namespace |
38 { |
38 { |
39 // LOCAL CONSTANTS AND MACROS |
39 // LOCAL CONSTANTS AND MACROS |
40 _LIT( KSeparator, "\t" ); |
40 _LIT( KSeparator, "\t" ); |
|
41 _LIT( KSpace, " " ); |
41 } |
42 } |
42 |
43 |
43 |
44 |
44 // ================= MEMBER FUNCTIONS ======================= |
45 // ================= MEMBER FUNCTIONS ======================= |
45 |
46 |
161 |
162 |
162 for (TInt i = 0; i < count; ++i) |
163 for (TInt i = 0; i < count; ++i) |
163 { |
164 { |
164 MPbk2StoreInfoUiItem& uiItem = *iInfoItems->At(i); |
165 MPbk2StoreInfoUiItem& uiItem = *iInfoItems->At(i); |
165 HBufC* itemBuf = HBufC::NewLC(uiItem.HeadingText().Length() + |
166 HBufC* itemBuf = HBufC::NewLC(uiItem.HeadingText().Length() + |
166 uiItem.ItemText().Length() + KSeparator().Length()); |
167 uiItem.ItemText().Length() + KSeparator().Length() + KSpace().Length()); |
167 TPtr ptr(itemBuf->Des()); |
168 TPtr ptr(itemBuf->Des()); |
168 ptr.Append(uiItem.ItemText()); |
|
169 ptr.Append(KSeparator); |
169 ptr.Append(KSeparator); |
170 ptr.Append(uiItem.HeadingText()); |
170 ptr.Append(uiItem.HeadingText()); |
|
171 ptr.Append(KSpace); |
|
172 ptr.Append(uiItem.ItemText()); |
171 // Convert digits |
173 // Convert digits |
172 AknTextUtils::DisplayTextLanguageSpecificNumberConversion(ptr); |
174 AknTextUtils::DisplayTextLanguageSpecificNumberConversion(ptr); |
173 array->AppendL(*itemBuf); |
175 array->AppendL(*itemBuf); |
174 CleanupStack::PopAndDestroy(itemBuf); |
176 CleanupStack::PopAndDestroy(itemBuf); |
175 } |
177 } |