OpenCoverage

qqmlmodelsmodule.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmlmodelsmodule.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8void QQmlModelsModule::defineModule()-
9{-
10 const char uri[] = "QtQml.Models";-
11-
12-
13 qmlRegisterType<QQmlListElement>(uri, 2, 1, "ListElement");-
14 qmlRegisterCustomType<QQmlListModel>(uri, 2, 1, "ListModel", new QQmlListModelParser);-
15-
16-
17 qmlRegisterType<QQmlDelegateModel>(uri, 2, 1, "DelegateModel");-
18 qmlRegisterType<QQmlDelegateModel,12>(uri, 2, 9, "DelegateModel");-
19 qmlRegisterType<QQmlDelegateModelGroup>(uri, 2, 1, "DelegateModelGroup");-
20-
21 qmlRegisterType<QQmlObjectModel>(uri, 2, 1, "ObjectModel");-
22 qmlRegisterType<QQmlObjectModel,3>(uri, 2, 3, "ObjectModel");-
23-
24 qmlRegisterType<QItemSelectionModel>(uri, 2, 2, "ItemSelectionModel");-
25}
executed 12 times by 6 tests: end of block
Executed by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qtqmlmodules
12
26-
27-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0