phoneapp/phoneuiqtviewadapter/src/phonenotecontroller.cpp
changeset 78 baacf668fe89
parent 76 cfea66083b62
--- a/phoneapp/phoneuiqtviewadapter/src/phonenotecontroller.cpp	Mon Oct 04 16:06:10 2010 +0300
+++ b/phoneapp/phoneuiqtviewadapter/src/phonenotecontroller.cpp	Fri Oct 15 12:58:46 2010 +0300
@@ -27,8 +27,10 @@
 #include <hbaction.h>
 #include <phoneappcommands.hrh>
 #include <hbstringutil.h>
+#include <xqsystemtoneservice.h>
 
-PhoneNoteController::PhoneNoteController(QObject *parent) : 
+PhoneNoteController::PhoneNoteController(XQSystemToneService& toneservice,
+                                         QObject *parent ) : 
     QObject(parent), 
     m_dtmfNote(0),
     m_queryNote(0)
@@ -36,7 +38,7 @@
     PHONE_TRACE
     m_signalMapper = new QSignalMapper(this);
     connect(m_signalMapper, SIGNAL(mapped(int)), this, SIGNAL(command (int)));
-    m_globalNotes = new PhoneGlobalNotes(this);
+    m_globalNotes = new PhoneGlobalNotes(toneservice, this);
     connect(m_globalNotes, SIGNAL(command(int)), this, SIGNAL(command(int)));
 }