140 // should return qt localized profile name |
140 // should return qt localized profile name |
141 // engine return symbian localized name, that is a wrong way to got it |
141 // engine return symbian localized name, that is a wrong way to got it |
142 // so hard code here, wait for engine's correcting. |
142 // so hard code here, wait for engine's correcting. |
143 switch (profileId) { |
143 switch (profileId) { |
144 case EProfileWrapperGeneralId: |
144 case EProfileWrapperGeneralId: |
145 return hbTrId("txt_cp_setlabel_active_profile_val_general"); |
145 return hbTrId("txt_cp_list_general"); |
146 case EProfileWrapperMeetingId: |
146 case EProfileWrapperMeetingId: |
147 return hbTrId("txt_cp_setlabel_active_profile_val_meeting"); |
147 return hbTrId("txt_cp_list_meeting"); |
148 default: |
148 default: |
149 return QString(""); |
149 return QString(""); |
150 } |
150 } |
151 } |
151 } |
152 QStringList CpProfileModelPrivate::profileNames() const |
152 QStringList CpProfileModelPrivate::profileNames() const |
153 { |
153 { |
154 //hard code, until engine part support qt localized name |
154 //hard code, until engine part support qt localized name |
155 QStringList nameList; |
155 QStringList nameList; |
156 nameList<<hbTrId("txt_cp_setlabel_active_profile_val_general") |
156 nameList<<hbTrId("txt_cp_list_general") |
157 <<hbTrId("txt_cp_setlabel_active_profile_val_meeting"); |
157 <<hbTrId("txt_cp_list_meeting"); |
158 return nameList; |
158 return nameList; |
159 } |
159 } |
160 |
160 |
161 |
161 |
162 /* |
162 /* |