equal
deleted
inserted
replaced
192 frameState->setObjectName(QString::fromLatin1("frame %0").arg(i)); |
192 frameState->setObjectName(QString::fromLatin1("frame %0").arg(i)); |
193 if (previousState == 0) |
193 if (previousState == 0) |
194 topLevel->setInitialState(frameState); |
194 topLevel->setInitialState(frameState); |
195 else |
195 else |
196 //! [2] |
196 //! [2] |
197 previousState->addTransition(previousState, SIGNAL(polished()), frameState); |
197 previousState->addTransition(previousState, SIGNAL(propertiesAssigned()), frameState); |
198 //! [2] |
198 //! [2] |
199 |
199 |
200 previousState = frameState; |
200 previousState = frameState; |
201 } |
201 } |
202 |
202 |
203 // Loop |
203 // Loop |
204 previousState->addTransition(previousState, SIGNAL(polished()), topLevel->initialState()); |
204 previousState->addTransition(previousState, SIGNAL(propertiesAssigned()), topLevel->initialState()); |
205 |
205 |
206 return topLevel; |
206 return topLevel; |
207 |
207 |
208 } |
208 } |
209 |
209 |