equal
deleted
inserted
replaced
18 |
18 |
19 // System includes |
19 // System includes |
20 #include <QDir> |
20 #include <QDir> |
21 #include <QPluginLoader> |
21 #include <QPluginLoader> |
22 #include <QStringList> |
22 #include <QStringList> |
23 #include <HbDataform> |
23 #include <HbDataForm> |
24 #include <HbDataFormModel> |
24 #include <HbDataFormModel> |
25 #include <HbDataFormViewItem> |
25 #include <HbDataFormViewItem> |
26 #include <HbParameterLengthLimiter> |
26 #include <HbParameterLengthLimiter> |
27 #include <cpbasesettingview.h> |
27 #include <cpbasesettingview.h> |
28 #include <cpitemdatahelper.h> |
28 #include <cpitemdatahelper.h> |
324 QString CpDestinationGroup::getDestinationAdditionalText(int iapCount) |
324 QString CpDestinationGroup::getDestinationAdditionalText(int iapCount) |
325 { |
325 { |
326 OstTraceFunctionEntry0(CPDESTINATIONGROUP_GETDESTINATIONADDITIONALTEXT_ENTRY); |
326 OstTraceFunctionEntry0(CPDESTINATIONGROUP_GETDESTINATIONADDITIONALTEXT_ENTRY); |
327 QString result = ""; |
327 QString result = ""; |
328 if (iapCount > 0) { |
328 if (iapCount > 0) { |
329 //result = hbTrId("txt_occ_dblist_internet_val_ln_access_points", iapCount); |
329 result = hbTrId("txt_occ_dblist_internet_val_ln_access_points", iapCount); |
330 result = HbParameterLengthLimiter("txt_occ_dblist_internet_val_ln_access_points").arg(iapCount); |
|
331 } else { |
330 } else { |
332 result = hbTrId("txt_occ_dblist_internet_val_no_access_points"); |
331 result = hbTrId("txt_occ_dblist_internet_val_no_access_points"); |
333 } |
332 } |
334 OstTrace0(TRACE_FLOW, CPDESTINATIONGROUP_GETDESTINATIONADDITIONALTEXT_EXIT, "Exit"); |
333 OstTrace0(TRACE_FLOW, CPDESTINATIONGROUP_GETDESTINATIONADDITIONALTEXT_EXIT, "Exit"); |
335 return result; |
334 return result; |