equal
deleted
inserted
replaced
107 |
107 |
108 void PhoneIndicatorController::setActiveCallData() |
108 void PhoneIndicatorController::setActiveCallData() |
109 { |
109 { |
110 PHONE_TRACE |
110 PHONE_TRACE |
111 m_cli = hbTrId("txt_phone_dblist_ongoing_call"); |
111 m_cli = hbTrId("txt_phone_dblist_ongoing_call"); |
112 m_callImage = "qtg_mono_call"; |
112 m_callImage = "qtg_large_active_call"; |
113 } |
113 } |
114 |
114 |
115 void PhoneIndicatorController::clearActiveCallData() |
115 void PhoneIndicatorController::clearActiveCallData() |
116 { |
116 { |
117 PHONE_TRACE |
117 PHONE_TRACE |
212 } |
212 } |
213 parameters.insert( |
213 parameters.insert( |
214 QVariant( HbIndicatorInterface::SecondaryTextRole ).toString(), |
214 QVariant( HbIndicatorInterface::SecondaryTextRole ).toString(), |
215 lastMissedCallFrom ); |
215 lastMissedCallFrom ); |
216 } |
216 } |
217 QString iconName = "qtg_mono_missed_call_unseen"; |
217 QString iconName; |
|
218 switch(event->eventType()){ |
|
219 case LogsEvent::TypeVoiceCall: |
|
220 iconName = "qtg_large_missed_voice_call_unseen"; |
|
221 break; |
|
222 case LogsEvent::TypeVoIPCall: |
|
223 iconName = "qtg_large_missed_voip_call_unseen"; |
|
224 break; |
|
225 case LogsEvent::TypeVideoCall: |
|
226 iconName = "qtg_large_missed_video_call_unseen"; |
|
227 break; |
|
228 } |
|
229 |
218 parameters.insert( |
230 parameters.insert( |
219 QVariant( HbIndicatorInterface::DecorationNameRole ).toString(), |
231 QVariant( HbIndicatorInterface::DecorationNameRole ).toString(), |
220 iconName ); |
232 iconName ); |
221 } |
233 } |
222 m_indicator.activate(indicatorType, parameters); |
234 m_indicator.activate(indicatorType, parameters); |