124
128
view->engine()->addImportPath(BUILT_PLUGINS_DIR);
125
129
view->setSource(QUrl::fromLocalFile(LISTVIEWWITHPAGEHEADER_FOLDER "/test_section.qml"));
126
130
lvwph = dynamic_cast<ListViewWithPageHeader*>(view->rootObject()->findChild<QQuickFlickable*>());
127
132
model = view->rootObject()->findChild<QQuickListModel*>();
128
136
otherDelegate = view->rootObject()->findChild<QQmlComponent*>();