OpenCoverage

qqmlconnections_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmlconnections_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5class QQmlBoundSignal;-
6class QQmlContext;-
7class QQmlConnectionsPrivate;-
8class __attribute__((visibility("default"))) QQmlConnections : public QObject, public QQmlParserStatus-
9{-
10 public:-
11#pragma GCC diagnostic push-
12 -
13#pragma GCC diagnostic ignored "-Wsuggest-override"-
14 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:-
15#pragma GCC diagnostic ignored "-Wattributes"-
16 __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **);-
17#pragma GCC diagnostic pop-
18 struct QPrivateSignal {};-
19 inline QQmlConnectionsPrivate* d_func() { return
executed 674 times by 10 tests: return reinterpret_cast<QQmlConnectionsPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlconnections
  • tst_qqmllistmodel
  • tst_qquickapplication
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qtqmlmodules
reinterpret_cast<QQmlConnectionsPrivate *>(qGetPtrHelper(d_ptr));
executed 674 times by 10 tests: return reinterpret_cast<QQmlConnectionsPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlconnections
  • tst_qqmllistmodel
  • tst_qquickapplication
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qtqmlmodules
} inline const QQmlConnectionsPrivate* d_func() const { return
executed 268 times by 9 tests: return reinterpret_cast<const QQmlConnectionsPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlconnections
  • tst_qqmllistmodel
  • tst_qquickapplication
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
reinterpret_cast<const QQmlConnectionsPrivate *>(qGetPtrHelper(d_ptr));
executed 268 times by 9 tests: return reinterpret_cast<const QQmlConnectionsPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlconnections
  • tst_qqmllistmodel
  • tst_qquickapplication
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
} friend class QQmlConnectionsPrivate;
268-674
20-
21 -
22 -
23 -
24 -
25-
26public:-
27 QQmlConnections(QObject *parent=nullptr);-
28 ~QQmlConnections();-
29-
30 QObject *target() const;-
31 void setTarget(QObject *);-
32-
33 bool isEnabled() const;-
34 void setEnabled(bool enabled);-
35-
36 bool ignoreUnknownSignals() const;-
37 void setIgnoreUnknownSignals(bool ignore);-
38-
39public :-
40 void targetChanged();-
41 void enabledChanged();-
42-
43private:-
44 void connectSignals();-
45 void classBegin() override;-
46 void componentComplete() override;-
47};-
48-
49class QQmlConnectionsParser : public QQmlCustomParser-
50{-
51public:-
52 void verifyBindings(const QV4::CompiledData::Unit *qmlUnit, const QList<const QV4::CompiledData::Binding *> &props) override;-
53 void applyBindings(QObject *object, QV4::CompiledData::CompilationUnit *compilationUnit, const QList<const QV4::CompiledData::Binding *> &bindings) override;-
54};-
55-
56-
57-
58-
59 template <> struct QMetaTypeId< QQmlConnections * > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQmlConnections * >("QQmlConnections *", reinterpret_cast< QQmlConnections * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQmlConnections> > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQmlListProperty<QQmlConnections> >("QQmlListProperty<QQmlConnections>", reinterpret_cast< QQmlListProperty<QQmlConnections> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } };-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0