phoneapp/phoneuiview/src/cphonebubblewrapper.cpp
branchCompilerCompatibility
changeset 13 2411cd0e2ad6
parent 9 8871b09be73b
child 57 94dc1107e8b2
equal deleted inserted replaced
11:abbe9afab2af 13:2411cd0e2ad6
   893     TKeyResponse response = EKeyWasNotConsumed;
   893     TKeyResponse response = EKeyWasNotConsumed;
   894 
   894 
   895     CCoeControl* control(NULL);
   895     CCoeControl* control(NULL);
   896     if ( iUseDialer )
   896     if ( iUseDialer )
   897         {
   897         {
   898         control = iDialerNumberEntry->GetNumberEntry();
   898         // TODO: We should try to clarify the dialer control hierarchy.
       
   899         // Currently, we have three controls, each of which are somewhere
       
   900         // referred as "number entry": CDialer, CDialerNumberEntry, and CAknPhoneNumberEditor.
       
   901         // Each of these are present on the code line below.
       
   902         control = iDialerNumberEntry->GetNumberEntry()->Parent();
   899         }
   903         }
   900     else
   904     else
   901         {
   905         {
   902         control = iBubbleManager->GetNumberEntry();
   906         control = iBubbleManager->GetNumberEntry();
   903         if ( iPhoneCustomization && control )
   907         if ( iPhoneCustomization && control )