phonesettings/cpphonesettingsplugins/divertplugin/src/cpdivertplugingroup.cpp
changeset 76 cfea66083b62
parent 74 d1c62c765e48
equal deleted inserted replaced
74:d1c62c765e48 76:cfea66083b62
   147 
   147 
   148     m_DataItemVoiceAllCalls = createDivertItem(
   148     m_DataItemVoiceAllCalls = createDivertItem(
   149             DivertConditionUnconditional,
   149             DivertConditionUnconditional,
   150             ServiceGroupVoice,
   150             ServiceGroupVoice,
   151             hbTrId("txt_phone_setlabel_all_calls"),
   151             hbTrId("txt_phone_setlabel_all_calls"),
   152             hbTrId("txt_phone_setlabel_all_calls"), false,
   152             hbTrId("txt_phone_title_all_calls"), false,
   153             page);
   153             page);
   154     m_DataItemVoiceAllCalls->setObjectName("voiceAllCallsDataItem");
   154     m_DataItemVoiceAllCalls->setObjectName("voiceAllCallsDataItem");
   155 
   155 
   156     m_DataItemVoiceIfBusy = createDivertItem(
   156     m_DataItemVoiceIfBusy = createDivertItem(
   157             DivertConditionBusy,
   157             DivertConditionBusy,
   158             ServiceGroupVoice,
   158             ServiceGroupVoice,
   159             hbTrId("txt_phone_setlabel_if_busy"),
   159             hbTrId("txt_phone_setlabel_if_busy"),
   160             hbTrId("txt_phone_setlabel_if_busy"), false,
   160             hbTrId("txt_phone_title_if_busy"), false,
   161             page);
   161             page);
   162     m_DataItemVoiceIfBusy->setObjectName("voiceIfBusyDataItem"); 
   162     m_DataItemVoiceIfBusy->setObjectName("voiceIfBusyDataItem"); 
   163 
   163 
   164     m_DataItemVoiceIfNotAnswered = createDivertItem(
   164     m_DataItemVoiceIfNotAnswered = createDivertItem(
   165             DivertConditionNoReply,
   165             DivertConditionNoReply,
   166             ServiceGroupVoice,
   166             ServiceGroupVoice,
   167             hbTrId("txt_phone_setlabel_if_not_answered"),
   167             hbTrId("txt_phone_setlabel_if_not_answered"),
   168             hbTrId("txt_phone_setlabel_if_not_answered"), true,
   168             hbTrId("txt_phone_title_if_not_answered"), true,
   169             page);
   169             page);
   170     m_DataItemVoiceIfNotAnswered->setObjectName("voiceIfNotAnsweredDataItem");
   170     m_DataItemVoiceIfNotAnswered->setObjectName("voiceIfNotAnsweredDataItem");
   171     
   171     
   172     m_DataItemVoiceIfOutOfReach = createDivertItem(
   172     m_DataItemVoiceIfOutOfReach = createDivertItem(
   173             DivertConditionNotReachable,
   173             DivertConditionNotReachable,
   174             ServiceGroupVoice,
   174             ServiceGroupVoice,
   175             hbTrId("txt_phone_setlabel_if_out_of_reach"),
   175             hbTrId("txt_phone_setlabel_if_out_of_reach"),
   176             hbTrId("txt_phone_setlabel_if_out_of_reach"), false,
   176             hbTrId("txt_phone_title_if_out_of_reach"), false,
   177             page);
   177             page);
   178     m_DataItemVoiceIfOutOfReach->setObjectName("voiceIfOutOfReachDataItem");
   178     m_DataItemVoiceIfOutOfReach->setObjectName("voiceIfOutOfReachDataItem");
   179     
   179     
   180     m_DataItemVoiceIfNotAvailable = createDivertItem(
   180     m_DataItemVoiceIfNotAvailable = createDivertItem(
   181             DivertConditionAllConditionalCases,
   181             DivertConditionAllConditionalCases,
   182             ServiceGroupVoice,
   182             ServiceGroupVoice,
   183             hbTrId("txt_phone_setlabel_if_not_available"),
   183             hbTrId("txt_phone_setlabel_if_not_available"),
   184             hbTrId("txt_phone_setlabel_if_not_available"), true,
   184             hbTrId("txt_phone_title_if_not_available"), true,
   185             page);
   185             page);
   186     
   186     
   187     m_DataItemVoiceIfNotAvailable->setObjectName("voiceIfNotAvailableDataItem");
   187     m_DataItemVoiceIfNotAvailable->setObjectName("voiceIfNotAvailableDataItem");
   188 
   188 
   189     DPRINT << ": OUT";
   189     DPRINT << ": OUT";
   204     
   204     
   205     m_DataItemVideoAllCalls = createDivertItem(
   205     m_DataItemVideoAllCalls = createDivertItem(
   206             DivertConditionUnconditional,
   206             DivertConditionUnconditional,
   207             ServiceGroupData,
   207             ServiceGroupData,
   208             hbTrId("txt_phone_setlabel_all_calls"),
   208             hbTrId("txt_phone_setlabel_all_calls"),
   209             hbTrId("txt_phone_setlabel_all_calls"), false,
   209             hbTrId("txt_phone_title_all_calls"), false,
   210             page);
   210             page);
   211     m_DataItemVideoAllCalls->setObjectName("videoAllCallsDataItem");
   211     m_DataItemVideoAllCalls->setObjectName("videoAllCallsDataItem");
   212 
   212 
   213     m_DataItemVideoIfBusy = createDivertItem(
   213     m_DataItemVideoIfBusy = createDivertItem(
   214             DivertConditionBusy,
   214             DivertConditionBusy,
   215             ServiceGroupData,
   215             ServiceGroupData,
   216             hbTrId("txt_phone_setlabel_if_busy"),
   216             hbTrId("txt_phone_setlabel_if_busy"),
   217             hbTrId("txt_phone_setlabel_if_busy"), false,
   217             hbTrId("txt_phone_title_if_busy"), false,
   218             page);
   218             page);
   219     m_DataItemVideoIfBusy->setObjectName("videoIfBusyDataItem");
   219     m_DataItemVideoIfBusy->setObjectName("videoIfBusyDataItem");
   220     
   220     
   221     m_DataItemVideoIfNotAnswered = createDivertItem(
   221     m_DataItemVideoIfNotAnswered = createDivertItem(
   222             DivertConditionNoReply,
   222             DivertConditionNoReply,
   223             ServiceGroupData,
   223             ServiceGroupData,
   224             hbTrId("txt_phone_setlabel_if_not_answered"),
   224             hbTrId("txt_phone_setlabel_if_not_answered"),
   225             hbTrId("txt_phone_setlabel_if_not_answered"), true,
   225             hbTrId("txt_phone_title_if_not_answered"), true,
   226             page);
   226             page);
   227     m_DataItemVideoIfNotAnswered->setObjectName("videoIfNotAnsweredDataItem");
   227     m_DataItemVideoIfNotAnswered->setObjectName("videoIfNotAnsweredDataItem");
   228     
   228     
   229     m_DataItemVideoIfOutOfReach = createDivertItem(
   229     m_DataItemVideoIfOutOfReach = createDivertItem(
   230             DivertConditionNotReachable,
   230             DivertConditionNotReachable,
   231             ServiceGroupData,
   231             ServiceGroupData,
   232             hbTrId("txt_phone_setlabel_if_out_of_reach"),
   232             hbTrId("txt_phone_setlabel_if_out_of_reach"),
   233             hbTrId("txt_phone_setlabel_if_out_of_reach"), false,
   233             hbTrId("txt_phone_title_if_out_of_reach"), false,
   234             page);
   234             page);
   235     m_DataItemVideoIfOutOfReach->setObjectName("videoIfOutOfReachDataItem");
   235     m_DataItemVideoIfOutOfReach->setObjectName("videoIfOutOfReachDataItem");
   236     
   236     
   237     m_DataItemVideoIfNotAvailable = createDivertItem(
   237     m_DataItemVideoIfNotAvailable = createDivertItem(
   238             DivertConditionAllConditionalCases,
   238             DivertConditionAllConditionalCases,
   239             ServiceGroupData,
   239             ServiceGroupData,
   240             hbTrId("txt_phone_setlabel_if_not_available"),
   240             hbTrId("txt_phone_setlabel_if_not_available"),
   241             hbTrId("txt_phone_setlabel_if_not_available"), true,
   241             hbTrId("txt_phone_title_if_not_available"), true,
   242             page);
   242             page);
   243     
   243     
   244     m_DataItemVideoIfNotAvailable->setObjectName("videoIfNotAvailableDataItem");
   244     m_DataItemVideoIfNotAvailable->setObjectName("videoIfNotAvailableDataItem");
   245     
   245     
   246     DPRINT << ": OUT";
   246     DPRINT << ": OUT";