contacts_plat/predictivesearch_client_api/tsrc/PsClientTestSuite/src/pstestqueryhandler.cpp
equal
deleted
inserted
replaced
206 item->SetCharacter(aBuf[i]); |
206 item->SetCharacter(aBuf[i]); |
207 if(aMode != EModeUndefined) |
207 if(aMode != EModeUndefined) |
208 { |
208 { |
209 item->SetMode(aMode); |
209 item->SetMode(aMode); |
210 } |
210 } |
211 /* |
|
212 else |
|
213 { |
|
214 _LIT(KCode,"i"); |
|
215 if( (iKeyboardModeString.Mid(i,1)).Compare(KCode) == 0) |
|
216 { |
|
217 item->SetMode(EItut); |
|
218 } |
|
219 else |
|
220 { |
|
221 item->SetMode(EQwerty); |
|
222 } |
|
223 } |
|
224 */ |
|
225 iPsQuery->AppendL(*item); |
211 iPsQuery->AppendL(*item); |
226 } |
212 } |
227 |
213 |
228 CPsQueryItem* item1 = CPsQueryItem::NewL(); |
214 CPsQueryItem* item1 = CPsQueryItem::NewL(); |
229 item1->SetCharacter(aBuf[0]); |
215 item1->SetCharacter(aBuf[0]); |