Ensure that chained incubation works from componentCompleted.
authorMartin Jones <martin.jones@nokia.com>
Tue, 1 Nov 2011 00:05:47 +0000 (10:05 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 1 Nov 2011 12:09:31 +0000 (13:09 +0100)
commitf75bd7eb78759a2b708771517b5fc64fd7a75e8a
tree3e71ed39482f9272afbc6feea2d6cf94b5555e48
parentc29b3c0974383dfe5e2b4890b5d6377d5aa4264e
Ensure that chained incubation works from componentCompleted.

Make chained AsynchronousIfNested initiated from componentComplete
work correctly, i.e. asynchronous incubator is not Ready until
all chained creation is Ready.

Change-Id: I286cc10e2f09e36dcc6034f3f23681e833d7e6e8
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
src/declarative/qml/qdeclarativecontext.cpp
src/declarative/qml/qdeclarativecontext_p.h
src/declarative/qml/qdeclarativeengine.cpp
src/declarative/qml/qdeclarativeincubator.cpp
src/declarative/qml/qdeclarativeincubator_p.h
src/declarative/qml/qdeclarativevme.cpp
src/declarative/qml/qdeclarativevme_p.h
tests/auto/declarative/qdeclarativeincubator/data/chainInCompletion.qml [new file with mode: 0644]
tests/auto/declarative/qdeclarativeincubator/testtypes.cpp
tests/auto/declarative/qdeclarativeincubator/testtypes.h
tests/auto/declarative/qdeclarativeincubator/tst_qdeclarativeincubator.cpp