connectionutilities/ConnectionDialogs/ConnectionUiUtilities/src/connectionstatuspopup.cpp
changeset 32 5c4486441ae6
parent 30 8dde790cab74
child 40 c5b848e6c7d1
equal deleted inserted replaced
31:c16e04725da3 32:5c4486441ae6
    46 const TInt KErrDndNameNotFound          = -5120;
    46 const TInt KErrDndNameNotFound          = -5120;
    47 const TInt KErrGeneralConnection        = -50000;
    47 const TInt KErrGeneralConnection        = -50000;
    48 const TInt KErrGenConnNoGPRSNetwork     = -3609;
    48 const TInt KErrGenConnNoGPRSNetwork     = -3609;
    49 
    49 
    50 // Icons representing bearer
    50 // Icons representing bearer
    51 _LIT( KIconCellular, "qtg_small_wlan.svg" );
    51 _LIT( KIconCellular, "qtg_small_gprs.svg" );
    52 _LIT( KIconWlan,     "qtg_small_gprs.svg" );
    52 _LIT( KIconWlan,     "qtg_small_wlan.svg" );
    53 _LIT( KIconVpn,      "qtg_small_vpn.svg" ); 
    53 _LIT( KIconVpn,      "qtg_small_vpn.svg" ); 
    54 _LIT( KIconNone,     "" );
    54 _LIT( KIconNone,     "" );
    55 
    55 
    56 // Empty text
    56 // Empty text
    57 _LIT( KTextNone,     "" );
    57 _LIT( KTextNone,     "" );
   524         case KErrGsmMMServiceOptionNotSubscribed:
   524         case KErrGsmMMServiceOptionNotSubscribed:
   525         case KErrGsmMMServiceOptionTemporaryOutOfOrder:
   525         case KErrGsmMMServiceOptionTemporaryOutOfOrder:
   526         case KErrGprsNSAPIAlreadyUsed:
   526         case KErrGprsNSAPIAlreadyUsed:
   527         case KErrGprsQoSNotAccepted:
   527         case KErrGprsQoSNotAccepted:
   528         case KErrGprsReactivationRequested:
   528         case KErrGprsReactivationRequested:
   529             icon = EIconCellular;
   529         case KErrGprsOfflineMode:
       
   530             icon = EIconCellular;           
       
   531         case KErrWlanOff:
       
   532         case KErrWlanForceOff:
   530             textPtr.Set( Ktxt_occ_dpopinfo_connection_unavailable );
   533             textPtr.Set( Ktxt_occ_dpopinfo_connection_unavailable );
   531             break;
   534             break;
   532 
   535 
   533         // Group 13
   536         // Group 13
   534         case KErrWlanProtectedSetupDevicePasswordAuthFailure:
   537         case KErrWlanProtectedSetupDevicePasswordAuthFailure: