connectionmonitoring/cellularindicatorplugin/src/cellularindicatorplugin.cpp
changeset 27 489cf6208544
parent 20 9c97ad6591ae
child 41 bbb64eb3bdee
equal deleted inserted replaced
23:7ec726f93df1 27:489cf6208544
   207                 ret = str.arg(indicatorInfo[0].toInt());
   207                 ret = str.arg(indicatorInfo[0].toInt());
   208             }
   208             }
   209             else if ( indicatorInfo[0].toInt() && (indicatorInfo.count() >= 2)) {
   209             else if ( indicatorInfo[0].toInt() && (indicatorInfo.count() >= 2)) {
   210                 
   210                 
   211                 // Only one connection -> show name of the iap
   211                 // Only one connection -> show name of the iap
   212                 QString iapName;
   212                 ret = indicatorInfo[1].toString();
   213                 iapName = indicatorInfo[1].toString();
       
   214                 QString str = QString(hbTrId("txt_occ_dblist_cellular_data_val_1_connected"));
       
   215                 ret = str.arg(iapName);
       
   216             }
   213             }
   217         }
   214         }
   218         break;
   215         break;
   219 
   216 
   220     case DecorationNameRole:
   217     case DecorationNameRole:
   221         // Return the icon
   218         // Return the icon
   222         ret = HbIcon("qtg_small_gprs");
   219         ret = QString("qtg_small_gprs");
   223         break;
   220         break;
   224     
   221     
   225     default:
   222     default:
   226         // Do nothing
   223         // Do nothing
   227         break;
   224         break;