OpenCoverage

qqmllistaccessor_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/util/qqmllistaccessor_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4class QQmlEngine;-
5class __attribute__((visibility("default"))) QQmlListAccessor-
6{-
7public:-
8 QQmlListAccessor();-
9 ~QQmlListAccessor();-
10-
11 QVariant list() const;-
12 void setList(const QVariant &, QQmlEngine * = nullptr);-
13-
14 bool isValid() const;-
15-
16 int count() const;-
17 QVariant at(int) const;-
18-
19 enum Type { Invalid, StringList, VariantList, ListProperty, Instance, Integer };-
20 Type type() const { return
executed 102242 times by 25 tests: return m_type;
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshortcut
  • tst_qquickspringanimation
  • tst_qquickvisualdatamodel
  • tst_scenegraph
m_type;
executed 102242 times by 25 tests: return m_type;
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshortcut
  • tst_qquickspringanimation
  • tst_qquickvisualdatamodel
  • tst_scenegraph
}
102242
21-
22private:-
23 Type m_type;-
24 QVariant d;-
25};-
26-
27-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0