equal
deleted
inserted
replaced
350 void SampleSearch::doLaunchDoc(DocLaunchInfo& info) |
350 void SampleSearch::doLaunchDoc(DocLaunchInfo& info) |
351 { |
351 { |
352 //Instead of having these traps all over the place, we'll have it just here. |
352 //Instead of having these traps all over the place, we'll have it just here. |
353 QT_TRAP_THROWING(/* Call all the symbian APIs here */); |
353 QT_TRAP_THROWING(/* Call all the symbian APIs here */); |
354 if( info.type == "root calendar" ){ |
354 if( info.type == "root calendar" ){ |
355 XQServiceRequest *snd = new XQServiceRequest("com.nokia.services.phonebookservices.Fetch", "open(int)",false); |
355 XQServiceRequest *snd = new XQServiceRequest("com.nokia.symbian.IContactsFetch", "open(int)",false); |
356 *snd << info.docId.toInt(); |
356 *snd << info.docId.toInt(); |
357 snd->send(); |
357 snd->send(); |
358 } |
358 } |
359 else mBox.show(); |
359 else mBox.show(); |
360 } |
360 } |