contacts_plat/predictivesearch_client_api/tsrc/PsClientTestSuite/src/pstestqueryhandler.cpp
branchRCL_3
changeset 6 e8e3147d53eb
parent 0 e686773b3f54
child 13 a6539d1e8e43
equal deleted inserted replaced
5:81f8547efd4f 6:e8e3147d53eb
   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]);