controlpanelui/src/cpprofilewrapper/src/cpprofilemodel_p.cpp
changeset 24 f5dfdd5e4a1b
parent 15 cc79acdc26cb
child 25 19394c261aa5
equal deleted inserted replaced
17:4a9568303383 24:f5dfdd5e4a1b
   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 /*