equal
deleted
inserted
replaced
90 |
90 |
91 QState* searchRootState = new QState(guiRootState); |
91 QState* searchRootState = new QState(guiRootState); |
92 |
92 |
93 QState* wizardProgressiveState = stateProvider.createState( |
93 QState* wizardProgressiveState = stateProvider.createState( |
94 wizardProgressiveStateUri); |
94 wizardProgressiveStateUri); |
|
95 connect(wizardProgressiveState,SIGNAL(applicationReady()),this,SLOT(sendMattiEvent())); |
95 // set state specific data |
96 // set state specific data |
96 wizardProgressiveState->setParent(searchRootState); |
97 wizardProgressiveState->setParent(searchRootState); |
97 wizardProgressiveState->setObjectName(wizardProgressiveStateUri); |
98 wizardProgressiveState->setObjectName(wizardProgressiveStateUri); |
98 |
99 |
99 QState* wizardSettingState = stateProvider.createState( |
100 QState* wizardSettingState = stateProvider.createState( |
101 wizardSettingState->setParent(searchRootState); |
102 wizardSettingState->setParent(searchRootState); |
102 wizardSettingState->setObjectName(wizardSettingStateUri); |
103 wizardSettingState->setObjectName(wizardSettingStateUri); |
103 |
104 |
104 QState* wizardOnlineState = stateProvider.createState( |
105 QState* wizardOnlineState = stateProvider.createState( |
105 wizardOnlineStateUri); |
106 wizardOnlineStateUri); |
|
107 connect(wizardOnlineState,SIGNAL(applicationReady()),this,SLOT(sendMattiEvent())); |
106 wizardOnlineState->setParent(searchRootState); |
108 wizardOnlineState->setParent(searchRootState); |
107 wizardOnlineState->setObjectName(wizardOnlineStateUri); |
109 wizardOnlineState->setObjectName(wizardOnlineStateUri); |
108 |
110 |
109 // progressive to settings |
111 // progressive to settings |
110 wizardProgressiveState->addTransition(wizardProgressiveState, |
112 wizardProgressiveState->addTransition(wizardProgressiveState, |
172 |
174 |
173 connect(this, SIGNAL(started()), SLOT(handleStateMachineStarted())); |
175 connect(this, SIGNAL(started()), SLOT(handleStateMachineStarted())); |
174 connect(this, SIGNAL(stopped()), SLOT(handleStateMachineStopped())); |
176 connect(this, SIGNAL(stopped()), SLOT(handleStateMachineStopped())); |
175 connect(this, SIGNAL(finished()), SLOT(handleStateMachineStopped())); |
177 connect(this, SIGNAL(finished()), SLOT(handleStateMachineStopped())); |
176 } |
178 } |
|
179 void SearchRuntime::sendMattiEvent() |
|
180 { |
|
181 emit sentMattiEventSignal(); |
|
182 } |