searchui/runtimeproviders/searchruntimeprovider/src/searchruntime.cpp
changeset 23 af30d8015c58
parent 17 7d8c8d8f5eab
--- a/searchui/runtimeproviders/searchruntimeprovider/src/searchruntime.cpp	Thu Sep 02 20:27:46 2010 +0300
+++ b/searchui/runtimeproviders/searchruntimeprovider/src/searchruntime.cpp	Fri Sep 17 08:29:53 2010 +0300
@@ -92,6 +92,7 @@
 
     QState* wizardProgressiveState = stateProvider.createState(
             wizardProgressiveStateUri);
+    connect(wizardProgressiveState,SIGNAL(applicationReady()),this,SLOT(sendMattiEvent()));
     // set state specific data
     wizardProgressiveState->setParent(searchRootState);
     wizardProgressiveState->setObjectName(wizardProgressiveStateUri);
@@ -103,6 +104,7 @@
 
     QState* wizardOnlineState = stateProvider.createState(
             wizardOnlineStateUri);
+    connect(wizardOnlineState,SIGNAL(applicationReady()),this,SLOT(sendMattiEvent()));
     wizardOnlineState->setParent(searchRootState);
     wizardOnlineState->setObjectName(wizardOnlineStateUri);
 
@@ -174,3 +176,7 @@
     connect(this, SIGNAL(stopped()), SLOT(handleStateMachineStopped()));
     connect(this, SIGNAL(finished()), SLOT(handleStateMachineStopped()));
     }
+void SearchRuntime::sendMattiEvent()
+    {
+    emit sentMattiEventSignal();
+    }