qcpix/tsrc/samplesearch/samplesearch.cpp
changeset 23 d4d56f5e7c55
parent 13 fcb2a58c181b
equal deleted inserted replaced
20:556534771396 23:d4d56f5e7c55
   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     }