diff -r bab96b7ed1a4 -r f39ed5e045e0 phoneengine/phoneservices/inc/dtmfservice.h --- a/phoneengine/phoneservices/inc/dtmfservice.h Tue Jun 15 14:14:38 2010 +0100 +++ b/phoneengine/phoneservices/inc/dtmfservice.h Thu Jul 22 16:33:21 2010 +0100 @@ -13,6 +13,24 @@ * * Description: DTMF API to be used through Qt Highway. * +* +* +* Example usage: +* QString service("phoneui"); +* QString interface(""com.nokia.symbian.ICallDial"); +* QString operation("playDTMFTone(QString)"); // or stopDTMFPlay() +* XQApplicationManager appManager; +* QScopedPointer request(appManager.create(service, interface, operation, false)); +* if (request == NULL) { +* //Service not found +* } +* QList args; +* args << QChar('0'); +* request->setArguments(args); +* if (request->send()) { +* //error +* } +* */ #ifndef DTMFSERVICE_H @@ -41,10 +59,6 @@ This method plays DTMF tone matching given character. If character doesn't match any supported DTMF tone it is ignored. - - Usage example: - XQServiceRequest snd("com.nokia.symbian.IDtmfPlay","playDTMFTone(QChar)"); - snd << "5"; */ void playDTMFTone(const QChar& keyToPlay);