--- a/searchui/runtimeproviders/searchruntimeprovider/src/searchruntime.cpp Tue Aug 31 17:25:42 2010 +0530
+++ b/searchui/runtimeproviders/searchruntimeprovider/src/searchruntime.cpp Mon Sep 06 09:21:19 2010 +0530
@@ -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();
+ }