OpenCoverage

qqmlinstantiator_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmlinstantiator_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4class QQmlInstantiatorPrivate;-
5class __attribute__((visibility("default"))) QQmlInstantiator : public QObject, public QQmlParserStatus-
6{-
7 public:-
8#pragma GCC diagnostic push-
9 -
10#pragma GCC diagnostic ignored "-Wsuggest-override"-
11 static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private:-
12#pragma GCC diagnostic ignored "-Wattributes"-
13 __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **);-
14#pragma GCC diagnostic pop-
15 struct QPrivateSignal {};-
16 -
17-
18 -
19 -
20 -
21 -
22 -
23 -
24 -
25-
26public:-
27 QQmlInstantiator(QObject *parent = nullptr);-
28 ~QQmlInstantiator();-
29-
30 bool isActive() const;-
31 void setActive(bool newVal);-
32-
33 bool isAsync() const;-
34 void setAsync(bool newVal);-
35-
36 int count() const;-
37-
38 QQmlComponent* delegate();-
39 void setDelegate(QQmlComponent* c);-
40-
41 QVariant model() const;-
42 void setModel(const QVariant &v);-
43-
44 QObject *object() const;-
45-
46 QObject *objectAt(int index) const;-
47-
48 void classBegin() override;-
49 void componentComplete() override;-
50-
51public :-
52 void modelChanged();-
53 void delegateChanged();-
54 void countChanged();-
55 void objectChanged();-
56 void activeChanged();-
57 void asynchronousChanged();-
58-
59 void objectAdded(int index, QObject* object);-
60 void objectRemoved(int index, QObject* object);-
61-
62private:-
63 QQmlInstantiator(const QQmlInstantiator &) = delete; QQmlInstantiator &operator=(const QQmlInstantiator &) = delete;-
64 inline QQmlInstantiatorPrivate* d_func() { return
executed 218 times by 1 test: return reinterpret_cast<QQmlInstantiatorPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qqmlinstantiator
reinterpret_cast<QQmlInstantiatorPrivate *>(qGetPtrHelper(d_ptr));
executed 218 times by 1 test: return reinterpret_cast<QQmlInstantiatorPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qqmlinstantiator
} inline const QQmlInstantiatorPrivate* d_func() const { return
executed 154 times by 1 test: return reinterpret_cast<const QQmlInstantiatorPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qqmlinstantiator
reinterpret_cast<const QQmlInstantiatorPrivate *>(qGetPtrHelper(d_ptr));
executed 154 times by 1 test: return reinterpret_cast<const QQmlInstantiatorPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qqmlinstantiator
} friend class QQmlInstantiatorPrivate;
154-218
65 -
66 -
67};-
68-
69-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0