phoneapp/phoneuiqtviewadapter/inc/phoneuiqtviewadapter.h
changeset 78 baacf668fe89
parent 76 cfea66083b62
--- a/phoneapp/phoneuiqtviewadapter/inc/phoneuiqtviewadapter.h	Mon Oct 04 16:06:10 2010 +0300
+++ b/phoneapp/phoneuiqtviewadapter/inc/phoneuiqtviewadapter.h	Fri Oct 15 12:58:46 2010 +0300
@@ -28,7 +28,7 @@
 #include <QMap>
 #include <apgwgnam.h>
 #include "mphoneviewcommandhandle.h"
-#include "phoneaction.h"
+#include "rphonetoneclient.h"
 
 class PhoneUIQtViewIF;
 class PhoneBubbleWrapper;
@@ -45,6 +45,7 @@
 class PhoneAppLauncher;
 class MPEEngineInfo;
 class PhoneCallHeaderManager;
+class XQSystemToneService;
 
 class PHONEUIQTVIEWADAPTER_EXPORT PhoneUIQtViewAdapter : 
     public QObject, 
@@ -530,12 +531,18 @@
     */
     bool convertKey(TKeyCode symbianKey, Qt::Key &qtKey);
     
+    /*!
+        /fn void playHandsFreeActivatedTone()
+        This method play handfree activated tone.
+    */    
+    void playHandsFreeActivatedTone();
+    
 private:
 
     PhoneUIQtViewIF &m_view;
     int m_idleUid;
     PhoneBubbleWrapper *m_bubbleWrapper;
-    CPhoneRingingToneController *m_ringingtonecontroller;
+    RPhoneToneClient m_toneClient;  
     PhoneResourceAdapter *m_resourceAdapter;
     PhoneNoteController *m_noteController;
     TelephonyService *m_telephonyService;
@@ -544,13 +551,13 @@
     PhoneIndicatorController *m_indicatorController;
     PhoneCallHeaderManager *m_phoneCallHeaderManager;
     bool m_dialpadAboutToClose;
-    bool m_homeScreenToForeground;
-	PhoneVisibilityHandler *m_visibilityHandler;
+    PhoneVisibilityHandler *m_visibilityHandler;
 	PhoneAppLauncher *m_appLauncher;
 	bool m_clearDialpadOnClose;
 	bool m_speakerAsDefaultButton;
 	bool m_ringingTonePlaying;
-    MPEEngineInfo*  m_engineInfo;
+    MPEEngineInfo *m_engineInfo;
+    XQSystemToneService *m_toneService;
 };
 
 #endif // PHONEUIQTVIEWADAPTER_H