| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickbehavior_p.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | - | |
| 5 | class QQuickAbstractAnimation; | - |
| 6 | class QQuickBehaviorPrivate; | - |
| 7 | class __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: reinterpret_cast<QQuickBehaviorPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickBehaviorPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 2244 times by 7 tests: } inline const QQuickBehaviorPrivate* d_func() const { returnreturn reinterpret_cast<QQuickBehaviorPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 6 times by 1 test: reinterpret_cast<const QQuickBehaviorPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickBehaviorPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 6 times by 1 test: } friend class QQuickBehaviorPrivate;return reinterpret_cast<const QQuickBehaviorPrivate *>(qGetPtrHelper(d_ptr));Executed by:
| 6-2244 |
| 19 | - | |
| 20 | - | |
| 21 | - | |
| 22 | - | |
| 23 | - | |
| 24 | - | |
| 25 | - | |
| 26 | public: | - |
| 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 | - | |
| 39 | public : | - |
| 40 | void enabledChanged(); | - |
| 41 | - | |
| 42 | private : | - |
| 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 code | Preprocessed file |