Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmlbind_p.h |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | - | |
4 | - | |
5 | class QQmlBindPrivate; | - |
6 | class __attribute__((visibility("default"))) QQmlBind : public QObject, public QQmlPropertyValueSource, public QQmlParserStatus | - |
7 | { | - |
8 | public: | - |
9 | #pragma GCC diagnostic push | - |
10 | - | |
11 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
12 | 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: | - |
13 | #pragma GCC diagnostic ignored "-Wattributes" | - |
14 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
15 | #pragma GCC diagnostic pop | - |
16 | struct QPrivateSignal {}; | - |
17 | inline QQmlBindPrivate* d_func() { return executed 522 times by 4 tests: reinterpret_cast<QQmlBindPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQmlBindPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 522 times by 4 tests: } inline const QQmlBindPrivate* d_func() const { returnreturn reinterpret_cast<QQmlBindPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 8 times by 1 test: reinterpret_cast<const QQmlBindPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQmlBindPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 8 times by 1 test: } friend class QQmlBindPrivate;return reinterpret_cast<const QQmlBindPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
| 8-522 |
18 | - | |
19 | - | |
20 | - | |
21 | - | |
22 | - | |
23 | - | |
24 | - | |
25 | - | |
26 | public: | - |
27 | QQmlBind(QObject *parent=nullptr); | - |
28 | ~QQmlBind(); | - |
29 | - | |
30 | bool when() const; | - |
31 | void setWhen(bool); | - |
32 | - | |
33 | QObject *object(); | - |
34 | void setObject(QObject *); | - |
35 | - | |
36 | QString property() const; | - |
37 | void setProperty(const QString &); | - |
38 | - | |
39 | QVariant value() const; | - |
40 | void setValue(const QVariant &); | - |
41 | - | |
42 | bool delayed() const; | - |
43 | void setDelayed(bool); | - |
44 | - | |
45 | protected: | - |
46 | void setTarget(const QQmlProperty &) override; | - |
47 | void classBegin() override; | - |
48 | void componentComplete() override; | - |
49 | - | |
50 | private: | - |
51 | void prepareEval(); | - |
52 | void eval(); | - |
53 | }; | - |
54 | - | |
55 | - | |
56 | - | |
57 | template <> struct QMetaTypeId< QQmlBind * > { 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< QQmlBind * >("QQmlBind *", reinterpret_cast< QQmlBind * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQmlBind> > { 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<QQmlBind> >("QQmlListProperty<QQmlBind>", reinterpret_cast< QQmlListProperty<QQmlBind> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
Switch to Source code | Preprocessed file |