phonebookui/Phonebook2/ccapplication/ccacommlauncherplugin/src/ccappcommlauncherlpadmodel.cpp
equal
deleted
inserted
replaced
256 tempText.AppendNum( MapCommMethodToIcon( |
256 tempText.AppendNum( MapCommMethodToIcon( |
257 iButtonDataArray[ aIndex ].iContactAction )); |
257 iButtonDataArray[ aIndex ].iContactAction )); |
258 tempText.Append( KColumnListSeparator ); |
258 tempText.Append( KColumnListSeparator ); |
259 tempText.Append( iButtonDataArray[ aIndex ].iText ); |
259 tempText.Append( iButtonDataArray[ aIndex ].iText ); |
260 tempText.Append( KColumnListSeparator ); |
260 tempText.Append( KColumnListSeparator ); |
261 tempText.Append( textPtr ); |
261 if( textPtr.Length() + tempText.Length() >= |
262 tempText.Append( KColumnListSeparator ); |
262 KCCAppCommLauncherMaxButtonDataTextLength ) |
263 |
263 { |
|
264 tempText.Append( textPtr.Left( |
|
265 KCCAppCommLauncherMaxButtonDataTextLength - tempText.Length() - 1 ) ); |
|
266 } |
|
267 else |
|
268 { |
|
269 tempText.Append( textPtr ); |
|
270 } |
264 // TODO: Check presence icon |
271 // TODO: Check presence icon |
265 tempText.Append( KColumnListSeparator ); |
272 tempText.Append( KColumnListSeparator ); |
266 |
273 |
267 // Check if show multi icon at the right end of second row |
274 // Check if show multi icon at the right end of second row |
268 if ( IfShowMultiIcon( aIndex ) ) |
275 if ( IfShowMultiIcon( aIndex ) ) |