controlpanelui/src/tonefetcher/tonefetcherengine/tonefetcherengine.cpp
changeset 21 2883a5458389
parent 19 36aa4756ee82
child 22 a5692c68d772
--- a/controlpanelui/src/tonefetcher/tonefetcherengine/tonefetcherengine.cpp	Tue May 25 04:10:19 2010 +0800
+++ b/controlpanelui/src/tonefetcher/tonefetcherengine/tonefetcherengine.cpp	Thu Jun 10 16:07:41 2010 +0800
@@ -35,6 +35,10 @@
             this, SIGNAL(queryError(int)));
     connect(d, SIGNAL(notifyObjectChanged()),
             this, SIGNAL(notifyObjectChanged()));
+    connect(d, SIGNAL(notifyRefreshStart()),
+            this, SIGNAL(notifyRefreshStart()));
+    connect(d, SIGNAL(notifyRefreshFinish()),
+            this, SIGNAL(notifyRefreshFinish()));
     connect(mAudioPlayer, SIGNAL(notifyPreviewEvent(ToneServiceEngine::TPreviewEvent, int)),
             this, SIGNAL(notifyPreviewEvent(ToneServiceEngine::TPreviewEvent, int)));
 }
@@ -59,4 +63,10 @@
 {
     mAudioPlayer->IsPlaying();
 }
+
+void ToneFetcherEngine::stop()
+{
+    mAudioPlayer->Stop();
+}
+
 //End of File