OpenCoverage

qquickbehavior_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickbehavior_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5class QQuickAbstractAnimation;-
6class QQuickBehaviorPrivate;-
7class __attribute__((visibility("default"))) QQuickBehavior : public QObject, public QQmlPropertyValueInterceptor-
8{-
9 public:-
10#pragma GCC diagnostic push-
11 -
12#pragma GCC diagnostic ignored "-Wsuggest-override"-
13 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:-
14#pragma GCC diagnostic ignored "-Wattributes"-
15 __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **);-
16#pragma GCC diagnostic pop-
17 struct QPrivateSignal {};-
18 inline QQuickBehaviorPrivate* d_func() { return
executed 2244 times by 7 tests: return reinterpret_cast<QQuickBehaviorPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquicksmoothedanimation
reinterpret_cast<QQuickBehaviorPrivate *>(qGetPtrHelper(d_ptr));
executed 2244 times by 7 tests: return reinterpret_cast<QQuickBehaviorPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquicksmoothedanimation
} inline const QQuickBehaviorPrivate* d_func() const { return
executed 6 times by 1 test: return reinterpret_cast<const QQuickBehaviorPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qquickbehaviors
reinterpret_cast<const QQuickBehaviorPrivate *>(qGetPtrHelper(d_ptr));
executed 6 times by 1 test: return reinterpret_cast<const QQuickBehaviorPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qquickbehaviors
} friend class QQuickBehaviorPrivate;
6-2244
19-
20 -
21 -
22 -
23 -
24 -
25-
26public:-
27 QQuickBehavior(QObject *parent=nullptr);-
28 ~QQuickBehavior();-
29-
30 void setTarget(const QQmlProperty &) override;-
31 void write(const QVariant &value) override;-
32-
33 QQuickAbstractAnimation *animation();-
34 void setAnimation(QQuickAbstractAnimation *);-
35-
36 bool enabled() const;-
37 void setEnabled(bool enabled);-
38-
39public :-
40 void enabledChanged();-
41-
42private :-
43 void componentFinalized();-
44};-
45-
46-
47-
48 template <> struct QMetaTypeId< QQuickBehavior * > { 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< QQuickBehavior * >("QQuickBehavior *", reinterpret_cast< QQuickBehavior * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickBehavior> > { 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<QQuickBehavior> >("QQmlListProperty<QQuickBehavior>", reinterpret_cast< QQmlListProperty<QQuickBehavior> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } };-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0