| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | | - |
| 10 | | - |
| 11 | | - |
| 12 | | - |
| 13 | | - |
| 14 | | - |
| 15 | | - |
| 16 | | - |
| 17 | | - |
| 18 | | - |
| 19 | | - |
| 20 | | - |
| 21 | | - |
| 22 | | - |
| 23 | | - |
| 24 | | - |
| 25 | | - |
| 26 | | - |
| 27 | | - |
| 28 | | - |
| 29 | | - |
| 30 | | - |
| 31 | | - |
| 32 | | - |
| 33 | | - |
| 34 | | - |
| 35 | | - |
| 36 | | - |
| 37 | | - |
| 38 | | - |
| 39 | | - |
| 40 | #include "qquickrepeater_p.h" | - |
| 41 | #include "qquickrepeater_p_p.h" | - |
| 42 | | - |
| 43 | #include <private/qqmlglobal_p.h> | - |
| 44 | #include <private/qqmllistaccessor_p.h> | - |
| 45 | #include <private/qqmlchangeset_p.h> | - |
| 46 | #include <private/qqmldelegatemodel_p.h> | - |
| 47 | | - |
| 48 | #include <QtQml/QQmlInfo> | - |
| 49 | | - |
| 50 | QT_BEGIN_NAMESPACE | - |
| 51 | | - |
| 52 | QQuickRepeaterPrivate::QQuickRepeaterPrivate() | - |
| 53 | : model(nullptr) | - |
| 54 | , ownModel(false) | - |
| 55 | , dataSourceIsObject(false) | - |
| 56 | , delegateValidated(false) | - |
| 57 | , itemCount(0) | - |
| 58 | { | - |
| 59 | setTransparentForPositioner(true); | - |
| 60 | }executed 1512 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 1512 |
| 61 | | - |
| 62 | QQuickRepeaterPrivate::~QQuickRepeaterPrivate() | - |
| 63 | { | - |
| 64 | if (ownModel)| TRUE | evaluated 1486 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 8 times by 1 test |
| 8-1486 |
| 65 | delete model;executed 1486 times by 16 tests: delete model;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 1486 |
| 66 | }executed 1494 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 1494 |
| 67 | | - |
| 68 | | - |
| 69 | | - |
| 70 | | - |
| 71 | | - |
| 72 | | - |
| 73 | | - |
| 74 | | - |
| 75 | | - |
| 76 | | - |
| 77 | | - |
| 78 | | - |
| 79 | | - |
| 80 | | - |
| 81 | | - |
| 82 | | - |
| 83 | | - |
| 84 | | - |
| 85 | | - |
| 86 | | - |
| 87 | | - |
| 88 | | - |
| 89 | | - |
| 90 | | - |
| 91 | | - |
| 92 | | - |
| 93 | | - |
| 94 | | - |
| 95 | | - |
| 96 | | - |
| 97 | | - |
| 98 | | - |
| 99 | | - |
| 100 | | - |
| 101 | | - |
| 102 | | - |
| 103 | | - |
| 104 | | - |
| 105 | | - |
| 106 | | - |
| 107 | | - |
| 108 | | - |
| 109 | | - |
| 110 | | - |
| 111 | | - |
| 112 | | - |
| 113 | | - |
| 114 | | - |
| 115 | | - |
| 116 | | - |
| 117 | | - |
| 118 | | - |
| 119 | | - |
| 120 | | - |
| 121 | | - |
| 122 | | - |
| 123 | | - |
| 124 | | - |
| 125 | | - |
| 126 | | - |
| 127 | | - |
| 128 | | - |
| 129 | | - |
| 130 | | - |
| 131 | | - |
| 132 | | - |
| 133 | | - |
| 134 | | - |
| 135 | | - |
| 136 | | - |
| 137 | | - |
| 138 | | - |
| 139 | | - |
| 140 | | - |
| 141 | | - |
| 142 | | - |
| 143 | | - |
| 144 | | - |
| 145 | | - |
| 146 | | - |
| 147 | | - |
| 148 | | - |
| 149 | | - |
| 150 | | - |
| 151 | | - |
| 152 | | - |
| 153 | | - |
| 154 | | - |
| 155 | | - |
| 156 | | - |
| 157 | | - |
| 158 | QQuickRepeater::QQuickRepeater(QQuickItem *parent) | - |
| 159 | : QQuickItem(*(new QQuickRepeaterPrivate), parent) | - |
| 160 | { | - |
| 161 | }executed 1512 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 1512 |
| 162 | | - |
| 163 | QQuickRepeater::~QQuickRepeater() | - |
| 164 | { | - |
| 165 | } | - |
| 166 | | - |
| 167 | | - |
| 168 | | - |
| 169 | | - |
| 170 | | - |
| 171 | | - |
| 172 | | - |
| 173 | | - |
| 174 | | - |
| 175 | | - |
| 176 | | - |
| 177 | | - |
| 178 | | - |
| 179 | | - |
| 180 | | - |
| 181 | | - |
| 182 | | - |
| 183 | | - |
| 184 | | - |
| 185 | QVariant QQuickRepeater::model() const | - |
| 186 | { | - |
| 187 | Q_D(const QQuickRepeater); | - |
| 188 | | - |
| 189 | if (d->dataSourceIsObject) {| TRUE | evaluated 10 times by 1 test | | FALSE | evaluated 424 times by 2 testsEvaluated by:- tst_examples
- tst_qquicklistview
|
| 10-424 |
| 190 | QObject *o = d->dataSourceAsObject; | - |
| 191 | return QVariant::fromValue(o);executed 10 times by 1 test: return QVariant::fromValue(o); | 10 |
| 192 | } | - |
| 193 | | - |
| 194 | return d->dataSource;executed 424 times by 2 tests: return d->dataSource;Executed by:- tst_examples
- tst_qquicklistview
| 424 |
| 195 | } | - |
| 196 | | - |
| 197 | void QQuickRepeater::setModel(const QVariant &m) | - |
| 198 | { | - |
| 199 | Q_D(QQuickRepeater); | - |
| 200 | QVariant model = m; | - |
| 201 | if (model.userType() == qMetaTypeId<QJSValue>())| TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_examples
- tst_qquickrepeater
| | FALSE | evaluated 1706 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| 8-1706 |
| 202 | model = model.value<QJSValue>().toVariant();executed 8 times by 2 tests: model = model.value<QJSValue>().toVariant();Executed by:- tst_examples
- tst_qquickrepeater
| 8 |
| 203 | | - |
| 204 | if (d->dataSource == model)| TRUE | evaluated 964 times by 2 testsEvaluated by:- tst_qquickpositioners
- tst_qquickrepeater
| | FALSE | evaluated 750 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| 750-964 |
| 205 | return;executed 964 times by 2 tests: return;Executed by:- tst_qquickpositioners
- tst_qquickrepeater
| 964 |
| 206 | | - |
| 207 | clear(); | - |
| 208 | if (d->model) {| TRUE | evaluated 522 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | evaluated 228 times by 15 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| 228-522 |
| 209 | qmlobject_disconnect(d->model, QQmlInstanceModel, SIGNAL(modelUpdated(QQmlChangeSet,bool)),executed 20 times by 10 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
executed 20 times by 10 tests: methodIdx = QQuickRepeater::staticMetaObject.indexOfSlot(method+1);Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
never executed: methodIdx = QQuickRepeater::staticMetaObject.indexOfSignal(method+1); | TRUE | evaluated 20 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | evaluated 502 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
|
| TRUE | evaluated 20 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | evaluated 502 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
|
| TRUE | evaluated 20 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | never evaluated |
| 0-502 |
| 210 | this, QQuickRepeater, SLOT(modelUpdated(QQmlChangeSet,bool))); | - |
| 211 | qmlobject_disconnect(d->model, QQmlInstanceModel, SIGNAL(createdItem(int,QObject*)),executed 20 times by 10 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
executed 20 times by 10 tests: methodIdx = QQuickRepeater::staticMetaObject.indexOfSlot(method+1);Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
never executed: methodIdx = QQuickRepeater::staticMetaObject.indexOfSignal(method+1); | TRUE | evaluated 20 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | evaluated 502 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
|
| TRUE | evaluated 20 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | evaluated 502 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
|
| TRUE | evaluated 20 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | never evaluated |
| 0-502 |
| 212 | this, QQuickRepeater, SLOT(createdItem(int,QObject*))); | - |
| 213 | qmlobject_disconnect(d->model, QQmlInstanceModel, SIGNAL(initItem(int,QObject*)),executed 20 times by 10 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
executed 20 times by 10 tests: methodIdx = QQuickRepeater::staticMetaObject.indexOfSlot(method+1);Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
never executed: methodIdx = QQuickRepeater::staticMetaObject.indexOfSignal(method+1); | TRUE | evaluated 20 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | evaluated 502 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
|
| TRUE | evaluated 20 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | evaluated 502 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
|
| TRUE | evaluated 20 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | never evaluated |
| 0-502 |
| 214 | this, QQuickRepeater, SLOT(initItem(int,QObject*))); | - |
| 215 | }executed 522 times by 10 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| 522 |
| 216 | d->dataSource = model; | - |
| 217 | QObject *object = qvariant_cast<QObject*>(model); | - |
| 218 | d->dataSourceAsObject = object; | - |
| 219 | d->dataSourceIsObject = object != nullptr; | - |
| 220 | QQmlInstanceModel *vim = nullptr; | - |
| 221 | if (object && (vim = qobject_cast<QQmlInstanceModel *>(object))) {| TRUE | evaluated 314 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 436 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| TRUE | evaluated 12 times by 1 test | | FALSE | evaluated 302 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
| 12-436 |
| 222 | if (d->ownModel) {| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 10 times by 1 test |
| 2-10 |
| 223 | delete d->model; | - |
| 224 | d->ownModel = false; | - |
| 225 | }executed 2 times by 1 test: end of block | 2 |
| 226 | d->model = vim; | - |
| 227 | } else {executed 12 times by 1 test: end of block | 12 |
| 228 | if (!d->ownModel) {| TRUE | evaluated 222 times by 15 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 516 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
|
| 222-516 |
| 229 | d->model = new QQmlDelegateModel(qmlContext(this)); | - |
| 230 | d->ownModel = true; | - |
| 231 | if (isComponentComplete())| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 214 times by 15 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| 8-214 |
| 232 | static_cast<QQmlDelegateModel *>(d->model.data())->componentComplete();executed 8 times by 1 test: static_cast<QQmlDelegateModel *>(d->model.data())->componentComplete(); | 8 |
| 233 | }executed 222 times by 15 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
| 222 |
| 234 | if (QQmlDelegateModel *dataModel = qobject_cast<QQmlDelegateModel*>(d->model))| TRUE | evaluated 738 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | never evaluated |
| 0-738 |
| 235 | dataModel->setModel(model);executed 738 times by 16 tests: dataModel->setModel(model);Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 738 |
| 236 | }executed 738 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 738 |
| 237 | if (d->model) {| TRUE | evaluated 750 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | never evaluated |
| 0-750 |
| 238 | qmlobject_connect(d->model, QQmlInstanceModel, SIGNAL(modelUpdated(QQmlChangeSet,bool)),executed 32 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
executed 32 times by 16 tests: methodIdx = QQuickRepeater::staticMetaObject.indexOfSlot(method+1);Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
never executed: methodIdx = QQuickRepeater::staticMetaObject.indexOfSignal(method+1); | TRUE | evaluated 32 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 718 times by 14 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| TRUE | evaluated 32 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 718 times by 14 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| TRUE | evaluated 32 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | never evaluated |
| 0-718 |
| 239 | this, QQuickRepeater, SLOT(modelUpdated(QQmlChangeSet,bool))); | - |
| 240 | qmlobject_connect(d->model, QQmlInstanceModel, SIGNAL(createdItem(int,QObject*)),executed 32 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
executed 32 times by 16 tests: methodIdx = QQuickRepeater::staticMetaObject.indexOfSlot(method+1);Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
never executed: methodIdx = QQuickRepeater::staticMetaObject.indexOfSignal(method+1); | TRUE | evaluated 32 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 718 times by 14 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| TRUE | evaluated 32 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 718 times by 14 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| TRUE | evaluated 32 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | never evaluated |
| 0-718 |
| 241 | this, QQuickRepeater, SLOT(createdItem(int,QObject*))); | - |
| 242 | qmlobject_connect(d->model, QQmlInstanceModel, SIGNAL(initItem(int,QObject*)),executed 32 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
executed 32 times by 16 tests: methodIdx = QQuickRepeater::staticMetaObject.indexOfSlot(method+1);Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
never executed: methodIdx = QQuickRepeater::staticMetaObject.indexOfSignal(method+1); | TRUE | evaluated 32 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 718 times by 14 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| TRUE | evaluated 32 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 718 times by 14 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| TRUE | evaluated 32 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | never evaluated |
| 0-718 |
| 243 | this, QQuickRepeater, SLOT(initItem(int,QObject*))); | - |
| 244 | regenerate(); | - |
| 245 | }executed 750 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 750 |
| 246 | emit modelChanged(); | - |
| 247 | emit countChanged(); | - |
| 248 | }executed 750 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 750 |
| 249 | | - |
| 250 | | - |
| 251 | | - |
| 252 | | - |
| 253 | | - |
| 254 | | - |
| 255 | | - |
| 256 | | - |
| 257 | | - |
| 258 | | - |
| 259 | | - |
| 260 | | - |
| 261 | | - |
| 262 | | - |
| 263 | | - |
| 264 | | - |
| 265 | | - |
| 266 | | - |
| 267 | | - |
| 268 | | - |
| 269 | | - |
| 270 | | - |
| 271 | | - |
| 272 | | - |
| 273 | | - |
| 274 | | - |
| 275 | | - |
| 276 | | - |
| 277 | | - |
| 278 | | - |
| 279 | | - |
| 280 | | - |
| 281 | | - |
| 282 | | - |
| 283 | QQmlComponent *QQuickRepeater::delegate() const | - |
| 284 | { | - |
| 285 | Q_D(const QQuickRepeater); | - |
| 286 | if (d->model) {| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
| 0-2 |
| 287 | if (QQmlDelegateModel *dataModel = qobject_cast<QQmlDelegateModel*>(d->model))| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
| 0-2 |
| 288 | return dataModel->delegate();executed 2 times by 1 test: return dataModel->delegate(); | 2 |
| 289 | } never executed: end of block | 0 |
| 290 | | - |
| 291 | return nullptr; never executed: return nullptr; | 0 |
| 292 | } | - |
| 293 | | - |
| 294 | void QQuickRepeater::setDelegate(QQmlComponent *delegate) | - |
| 295 | { | - |
| 296 | Q_D(QQuickRepeater); | - |
| 297 | if (QQmlDelegateModel *dataModel = qobject_cast<QQmlDelegateModel*>(d->model))| TRUE | evaluated 220 times by 15 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 1284 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
|
| 220-1284 |
| 298 | if (delegate == dataModel->delegate())| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 218 times by 15 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| 2-218 |
| 299 | return;executed 2 times by 1 test: return; | 2 |
| 300 | | - |
| 301 | if (!d->ownModel) {| TRUE | evaluated 1284 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | evaluated 218 times by 15 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| 218-1284 |
| 302 | d->model = new QQmlDelegateModel(qmlContext(this)); | - |
| 303 | d->ownModel = true; | - |
| 304 | }executed 1284 times by 8 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| 1284 |
| 305 | | - |
| 306 | if (QQmlDelegateModel *dataModel = qobject_cast<QQmlDelegateModel*>(d->model)) {| TRUE | evaluated 1502 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | never evaluated |
| 0-1502 |
| 307 | dataModel->setDelegate(delegate); | - |
| 308 | regenerate(); | - |
| 309 | emit delegateChanged(); | - |
| 310 | d->delegateValidated = false; | - |
| 311 | }executed 1502 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 1502 |
| 312 | }executed 1502 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 1502 |
| 313 | | - |
| 314 | | - |
| 315 | | - |
| 316 | | - |
| 317 | | - |
| 318 | | - |
| 319 | | - |
| 320 | | - |
| 321 | | - |
| 322 | | - |
| 323 | int QQuickRepeater::count() const | - |
| 324 | { | - |
| 325 | Q_D(const QQuickRepeater); | - |
| 326 | if (d->model)| TRUE | evaluated 742 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | never evaluated |
| 0-742 |
| 327 | return d->model->count();executed 742 times by 16 tests: return d->model->count();Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 742 |
| 328 | return 0; never executed: return 0; | 0 |
| 329 | } | - |
| 330 | | - |
| 331 | | - |
| 332 | | - |
| 333 | | - |
| 334 | | - |
| 335 | | - |
| 336 | | - |
| 337 | QQuickItem *QQuickRepeater::itemAt(int index) const | - |
| 338 | { | - |
| 339 | Q_D(const QQuickRepeater); | - |
| 340 | if (index >= 0 && index < d->deletables.count())| TRUE | evaluated 454 times by 2 testsEvaluated by:- tst_qquickdraghandler
- tst_qquickrepeater
| | FALSE | evaluated 4 times by 1 test |
| TRUE | evaluated 444 times by 2 testsEvaluated by:- tst_qquickdraghandler
- tst_qquickrepeater
| | FALSE | evaluated 10 times by 1 test |
| 4-454 |
| 341 | return d->deletables[index];executed 444 times by 2 tests: return d->deletables[index];Executed by:- tst_qquickdraghandler
- tst_qquickrepeater
| 444 |
| 342 | return nullptr;executed 14 times by 1 test: return nullptr; | 14 |
| 343 | } | - |
| 344 | | - |
| 345 | void QQuickRepeater::componentComplete() | - |
| 346 | { | - |
| 347 | Q_D(QQuickRepeater); | - |
| 348 | if (d->model && d->ownModel)| TRUE | evaluated 1498 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 8 times by 1 test |
| 8-1498 |
| 349 | static_cast<QQmlDelegateModel *>(d->model.data())->componentComplete();executed 1498 times by 16 tests: static_cast<QQmlDelegateModel *>(d->model.data())->componentComplete();Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 1498 |
| 350 | QQuickItem::componentComplete(); | - |
| 351 | regenerate(); | - |
| 352 | if (d->model && d->model->count())| TRUE | evaluated 308 times by 15 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 1198 times by 4 testsEvaluated by:- tst_qquickitem2
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
|
| 308-1198 |
| 353 | emit countChanged();executed 308 times by 15 tests: countChanged();Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
| 308 |
| 354 | }executed 1512 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 1512 |
| 355 | | - |
| 356 | void QQuickRepeater::itemChange(ItemChange change, const ItemChangeData &value) | - |
| 357 | { | - |
| 358 | QQuickItem::itemChange(change, value); | - |
| 359 | if (change == ItemParentHasChanged) {| TRUE | evaluated 2998 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 2918 times by 14 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| 2918-2998 |
| 360 | regenerate(); | - |
| 361 | }executed 2998 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 2998 |
| 362 | }executed 5916 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 5916 |
| 363 | | - |
| 364 | void QQuickRepeater::clear() | - |
| 365 | { | - |
| 366 | Q_D(QQuickRepeater); | - |
| 367 | bool complete = isComponentComplete(); | - |
| 368 | | - |
| 369 | if (d->model) {| TRUE | evaluated 3928 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 236 times by 15 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| 236-3928 |
| 370 | | - |
| 371 | | - |
| 372 | for (int i = d->deletables.count() - 1; i >= 0; --i) {| TRUE | evaluated 8984 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 3928 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| 3928-8984 |
| 373 | if (QQuickItem *item = d->deletables.at(i)) {| TRUE | evaluated 8984 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | never evaluated |
| 0-8984 |
| 374 | if (complete)| TRUE | evaluated 8984 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | never evaluated |
| 0-8984 |
| 375 | emit itemRemoved(i, item);executed 8984 times by 16 tests: itemRemoved(i, item);Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 8984 |
| 376 | d->model->release(item); | - |
| 377 | }executed 8984 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 8984 |
| 378 | }executed 8984 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 8984 |
| 379 | for (QQuickItem *item : qAsConst(d->deletables)) { | - |
| 380 | if (item)| TRUE | evaluated 8984 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | never evaluated |
| 0-8984 |
| 381 | item->setParentItem(nullptr);executed 8984 times by 16 tests: item->setParentItem(nullptr);Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 8984 |
| 382 | }executed 8984 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 8984 |
| 383 | }executed 3928 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 3928 |
| 384 | d->deletables.clear(); | - |
| 385 | d->itemCount = 0; | - |
| 386 | }executed 4164 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 4164 |
| 387 | | - |
| 388 | void QQuickRepeater::regenerate() | - |
| 389 | { | - |
| 390 | Q_D(QQuickRepeater); | - |
| 391 | if (!isComponentComplete())| TRUE | evaluated 3358 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 3414 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| 3358-3414 |
| 392 | return;executed 3358 times by 16 tests: return;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 3358 |
| 393 | | - |
| 394 | clear(); | - |
| 395 | | - |
| 396 | if (!d->model || !d->model->count() || !d->model->isValid() || !parentItem() || !isComponentComplete())| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 3406 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| TRUE | evaluated 2180 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
| | FALSE | evaluated 1226 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| TRUE | never evaluated | | FALSE | evaluated 1226 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| TRUE | evaluated 632 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 594 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| TRUE | never evaluated | | FALSE | evaluated 594 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| 0-3406 |
| 397 | return;executed 2820 times by 16 tests: return;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 2820 |
| 398 | | - |
| 399 | d->itemCount = count(); | - |
| 400 | d->deletables.resize(d->itemCount); | - |
| 401 | d->requestItems(); | - |
| 402 | }executed 594 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 594 |
| 403 | | - |
| 404 | void QQuickRepeaterPrivate::requestItems() | - |
| 405 | { | - |
| 406 | for (int i = 0; i < itemCount; i++) {| TRUE | evaluated 7052 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 594 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| 594-7052 |
| 407 | QObject *object = model->object(i, QQmlIncubator::AsynchronousIfNested); | - |
| 408 | if (object)| TRUE | evaluated 6992 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 60 times by 1 test |
| 60-6992 |
| 409 | model->release(object);executed 6992 times by 16 tests: model->release(object);Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 6992 |
| 410 | }executed 7052 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 7052 |
| 411 | }executed 594 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 594 |
| 412 | | - |
| 413 | void QQuickRepeater::createdItem(int index, QObject *) | - |
| 414 | { | - |
| 415 | Q_D(QQuickRepeater); | - |
| 416 | QObject *object = d->model->object(index, QQmlIncubator::AsynchronousIfNested); | - |
| 417 | QQuickItem *item = qmlobject_cast<QQuickItem*>(object); | - |
| 418 | emit itemAdded(index, item); | - |
| 419 | }executed 9258 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 9258 |
| 420 | | - |
| 421 | void QQuickRepeater::initItem(int index, QObject *object) | - |
| 422 | { | - |
| 423 | Q_D(QQuickRepeater); | - |
| 424 | QQuickItem *item = qmlobject_cast<QQuickItem*>(object); | - |
| 425 | | - |
| 426 | if (!d->deletables.at(index)) {| TRUE | evaluated 9258 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | never evaluated |
| 0-9258 |
| 427 | if (!item) {| TRUE | never evaluated | | FALSE | evaluated 9258 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| 0-9258 |
| 428 | if (object) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 429 | d->model->release(object); | - |
| 430 | if (!d->delegateValidated) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 431 | d->delegateValidated = true; | - |
| 432 | QObject* delegate = this->delegate(); | - |
| 433 | qmlWarning(delegate ? delegate : this) << QQuickRepeater::tr("Delegate must be of Item type"); | - |
| 434 | } never executed: end of block | 0 |
| 435 | } never executed: end of block | 0 |
| 436 | return; never executed: return; | 0 |
| 437 | } | - |
| 438 | d->deletables[index] = item; | - |
| 439 | item->setParentItem(parentItem()); | - |
| 440 | if (index > 0 && d->deletables.at(index-1)) {| TRUE | evaluated 8428 times by 15 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 830 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| 830-8428 |
| 441 | item->stackAfter(d->deletables.at(index-1)); | - |
| 442 | } else {executed 8382 times by 15 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 8382 |
| 443 | QQuickItem *after = this; | - |
| 444 | for (int si = index+1; si < d->itemCount; ++si) {| TRUE | evaluated 6556 times by 15 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 730 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| 730-6556 |
| 445 | if (d->deletables.at(si)) {| TRUE | evaluated 146 times by 2 testsEvaluated by:- tst_qquickpositioners
- tst_qquickrepeater
| | FALSE | evaluated 6410 times by 15 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| 146-6410 |
| 446 | after = d->deletables.at(si); | - |
| 447 | break;executed 146 times by 2 tests: break;Executed by:- tst_qquickpositioners
- tst_qquickrepeater
| 146 |
| 448 | } | - |
| 449 | }executed 6410 times by 15 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 6410 |
| 450 | item->stackBefore(after); | - |
| 451 | }executed 876 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 876 |
| 452 | } | - |
| 453 | }executed 9258 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 9258 |
| 454 | | - |
| 455 | void QQuickRepeater::modelUpdated(const QQmlChangeSet &changeSet, bool reset) | - |
| 456 | { | - |
| 457 | Q_D(QQuickRepeater); | - |
| 458 | | - |
| 459 | if (!isComponentComplete())| TRUE | evaluated 692 times by 15 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 2238 times by 2 testsEvaluated by:- tst_qquickpositioners
- tst_qquickrepeater
|
| 692-2238 |
| 460 | return;executed 692 times by 15 tests: return;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
| 692 |
| 461 | | - |
| 462 | if (reset) {| TRUE | evaluated 10 times by 1 test | | FALSE | evaluated 2228 times by 2 testsEvaluated by:- tst_qquickpositioners
- tst_qquickrepeater
|
| 10-2228 |
| 463 | regenerate(); | - |
| 464 | if (changeSet.difference() != 0)| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 2 times by 1 test |
| 2-8 |
| 465 | emit countChanged();executed 8 times by 1 test: countChanged(); | 8 |
| 466 | return;executed 10 times by 1 test: return; | 10 |
| 467 | } | - |
| 468 | | - |
| 469 | int difference = 0; | - |
| 470 | QHash<int, QVector<QPointer<QQuickItem> > > moved; | - |
| 471 | for (const QQmlChangeSet::Change &remove : changeSet.removes()) { | - |
| 472 | int index = qMin(remove.index, d->deletables.count()); | - |
| 473 | int count = qMin(remove.index + remove.count, d->deletables.count()) - index; | - |
| 474 | if (remove.isMove()) {| TRUE | evaluated 14 times by 1 test | | FALSE | evaluated 110 times by 2 testsEvaluated by:- tst_qquickpositioners
- tst_qquickrepeater
|
| 14-110 |
| 475 | moved.insert(remove.moveId, d->deletables.mid(index, count)); | - |
| 476 | d->deletables.erase( | - |
| 477 | d->deletables.begin() + index, | - |
| 478 | d->deletables.begin() + index + count); | - |
| 479 | } else while (count--) {executed 14 times by 1 test: end of block | TRUE | evaluated 216 times by 2 testsEvaluated by:- tst_qquickpositioners
- tst_qquickrepeater
| | FALSE | evaluated 110 times by 2 testsEvaluated by:- tst_qquickpositioners
- tst_qquickrepeater
|
| 14-216 |
| 480 | QQuickItem *item = d->deletables.at(index); | - |
| 481 | d->deletables.remove(index); | - |
| 482 | emit itemRemoved(index, item); | - |
| 483 | if (item) {| TRUE | evaluated 216 times by 2 testsEvaluated by:- tst_qquickpositioners
- tst_qquickrepeater
| | FALSE | never evaluated |
| 0-216 |
| 484 | d->model->release(item); | - |
| 485 | item->setParentItem(nullptr); | - |
| 486 | }executed 216 times by 2 tests: end of blockExecuted by:- tst_qquickpositioners
- tst_qquickrepeater
| 216 |
| 487 | --d->itemCount; | - |
| 488 | }executed 216 times by 2 tests: end of blockExecuted by:- tst_qquickpositioners
- tst_qquickrepeater
| 216 |
| 489 | | - |
| 490 | difference -= remove.count; | - |
| 491 | }executed 124 times by 2 tests: end of blockExecuted by:- tst_qquickpositioners
- tst_qquickrepeater
| 124 |
| 492 | | - |
| 493 | for (const QQmlChangeSet::Change &insert : changeSet.inserts()) { | - |
| 494 | int index = qMin(insert.index, d->deletables.count()); | - |
| 495 | if (insert.isMove()) {| TRUE | evaluated 14 times by 1 test | | FALSE | evaluated 2102 times by 2 testsEvaluated by:- tst_qquickpositioners
- tst_qquickrepeater
|
| 14-2102 |
| 496 | QVector<QPointer<QQuickItem> > items = moved.value(insert.moveId); | - |
| 497 | d->deletables = d->deletables.mid(0, index) + items + d->deletables.mid(index); | - |
| 498 | QQuickItem *stackBefore = index + items.count() < d->deletables.count()| TRUE | evaluated 12 times by 1 test | | FALSE | evaluated 2 times by 1 test |
| 2-12 |
| 499 | ? d->deletables.at(index + items.count()) | - |
| 500 | : this; | - |
| 501 | if (stackBefore) {| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 6 times by 1 test |
| 6-8 |
| 502 | for (int i = index; i < index + items.count(); ++i) {| TRUE | evaluated 12 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 8-12 |
| 503 | if (i < d->deletables.count()) {| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 504 | QPointer<QQuickItem> item = d->deletables.at(i); | - |
| 505 | if (item)| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 506 | item->stackBefore(stackBefore);executed 8 times by 1 test: item->stackBefore(stackBefore); | 8 |
| 507 | }executed 12 times by 1 test: end of block | 12 |
| 508 | }executed 12 times by 1 test: end of block | 12 |
| 509 | }executed 8 times by 1 test: end of block | 8 |
| 510 | } else for (int i = 0; i < insert.count; ++i) {executed 14 times by 1 test: end of block | TRUE | evaluated 2206 times by 2 testsEvaluated by:- tst_qquickpositioners
- tst_qquickrepeater
| | FALSE | evaluated 2102 times by 2 testsEvaluated by:- tst_qquickpositioners
- tst_qquickrepeater
|
| 14-2206 |
| 511 | int modelIndex = index + i; | - |
| 512 | ++d->itemCount; | - |
| 513 | d->deletables.insert(modelIndex, nullptr); | - |
| 514 | QObject *object = d->model->object(modelIndex, QQmlIncubator::AsynchronousIfNested); | - |
| 515 | if (object)| TRUE | evaluated 2206 times by 2 testsEvaluated by:- tst_qquickpositioners
- tst_qquickrepeater
| | FALSE | never evaluated |
| 0-2206 |
| 516 | d->model->release(object);executed 2206 times by 2 tests: d->model->release(object);Executed by:- tst_qquickpositioners
- tst_qquickrepeater
| 2206 |
| 517 | }executed 2206 times by 2 tests: end of blockExecuted by:- tst_qquickpositioners
- tst_qquickrepeater
| 2206 |
| 518 | difference += insert.count; | - |
| 519 | }executed 2116 times by 2 tests: end of blockExecuted by:- tst_qquickpositioners
- tst_qquickrepeater
| 2116 |
| 520 | | - |
| 521 | if (difference != 0)| TRUE | evaluated 2208 times by 2 testsEvaluated by:- tst_qquickpositioners
- tst_qquickrepeater
| | FALSE | evaluated 20 times by 1 test |
| 20-2208 |
| 522 | emit countChanged();executed 2208 times by 2 tests: countChanged();Executed by:- tst_qquickpositioners
- tst_qquickrepeater
| 2208 |
| 523 | }executed 2228 times by 2 tests: end of blockExecuted by:- tst_qquickpositioners
- tst_qquickrepeater
| 2228 |
| 524 | | - |
| 525 | QT_END_NAMESPACE | - |
| 526 | | - |
| 527 | #include "moc_qquickrepeater_p.cpp" | - |
| | |