예제 #1
0
void QQmlIncubatorPrivate::forceCompletion(QQmlInstantiationInterrupt &i)
{
    while (QQmlIncubator::Loading == status) {
        while (QQmlIncubator::Loading == status && !waitingFor.isEmpty())
            static_cast<QQmlIncubatorPrivate *>(waitingFor.first())->forceCompletion(i);
        if (QQmlIncubator::Loading == status)
            incubate(i);
    }
}
예제 #2
0
파일: main.cpp 프로젝트: mass10/cpp.note
	static void test() {
		ScopeMarker marker("test()");
		//標本の生成
		EggList list = incubate();
		//リストの参照を渡して何らかの処理を行う
		diagnose0(list);
		//リストの複製を渡して何らかの処理を行う
		diagnose1(list);
	}
예제 #3
0
void QtApplication::update()
{
	layoutManager_.update();
	auto qtFramework = this->get<IQtFramework>();
	if (qtFramework != nullptr)
	{
		qtFramework->incubate();
	}
	signalUpdate();
}