Line | Source | Count |
1 | | - |
2 | | - |
3 | #pragma GCC diagnostic push | - |
4 | | - |
5 | | - |
6 | #pragma GCC diagnostic ignored "-Wdeprecated-declarations" | - |
7 | | - |
8 | struct qt_meta_stringdata_QQmlExpression_t { | - |
9 | QByteArrayData data[3]; | - |
10 | char stringdata0[29]; | - |
11 | }; | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | static const qt_meta_stringdata_QQmlExpression_t qt_meta_stringdata_QQmlExpression = { | - |
18 | { | - |
19 | { { { -1 } }, 14, 0, 0, qptrdiff( | - |
20 | __builtin_offsetof ( | - |
21 | qt_meta_stringdata_QQmlExpression_t | - |
22 | , | - |
23 | stringdata0 | - |
24 | ) | - |
25 | + 0 - 0 * sizeof(QByteArrayData)) }, | - |
26 | { { { -1 } }, 12, 0, 0, qptrdiff( | - |
27 | __builtin_offsetof ( | - |
28 | qt_meta_stringdata_QQmlExpression_t | - |
29 | , | - |
30 | stringdata0 | - |
31 | ) | - |
32 | + 15 - 1 * sizeof(QByteArrayData)) }, | - |
33 | { { { -1 } }, 0, 0, 0, qptrdiff( | - |
34 | __builtin_offsetof ( | - |
35 | qt_meta_stringdata_QQmlExpression_t | - |
36 | , | - |
37 | stringdata0 | - |
38 | ) | - |
39 | + 28 - 2 * sizeof(QByteArrayData)) } | - |
40 | | - |
41 | }, | - |
42 | "QQmlExpression\0valueChanged\0" | - |
43 | }; | - |
44 | | - |
45 | | - |
46 | static const uint qt_meta_data_QQmlExpression[] = { | - |
47 | | - |
48 | | - |
49 | 7, | - |
50 | 0, | - |
51 | 0, 0, | - |
52 | 1, 14, | - |
53 | 0, 0, | - |
54 | 0, 0, | - |
55 | 0, 0, | - |
56 | 0, | - |
57 | 1, | - |
58 | | - |
59 | | - |
60 | 1, 0, 19, 2, 0x06 , | - |
61 | | - |
62 | | - |
63 | QMetaType::Void, | - |
64 | | - |
65 | 0 | - |
66 | }; | - |
67 | | - |
68 | void QQmlExpression::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
69 | { | - |
70 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
71 | QQmlExpression *_t = static_cast<QQmlExpression *>(_o); | - |
72 | (void)_t; | - |
73 | switch (_id) { | - |
74 | case 0: _t->valueChanged(); break; | - |
75 | default: ; | - |
76 | } | - |
77 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
78 | int *result = reinterpret_cast<int *>(_a[0]); | - |
79 | { | - |
80 | using _t = void (QQmlExpression::*)(); | - |
81 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlExpression::valueChanged)) { | - |
82 | *result = 0; | - |
83 | return; | - |
84 | } | - |
85 | } | - |
86 | } | - |
87 | (void)_a;; | - |
88 | } | - |
89 | | - |
90 | const QMetaObject QQmlExpression::staticMetaObject = { | - |
91 | { &QObject::staticMetaObject, qt_meta_stringdata_QQmlExpression.data, | - |
92 | qt_meta_data_QQmlExpression, qt_static_metacall, nullptr, nullptr} | - |
93 | }; | - |
94 | | - |
95 | | - |
96 | const QMetaObject *QQmlExpression::metaObject() const | - |
97 | { | - |
98 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
99 | } | - |
100 | | - |
101 | void *QQmlExpression::qt_metacast(const char *_clname) | - |
102 | { | - |
103 | if (!_clname) return nullptr; | - |
104 | if (!strcmp(_clname, qt_meta_stringdata_QQmlExpression.stringdata0)) | - |
105 | return static_cast<void*>(this); | - |
106 | return QObject::qt_metacast(_clname); | - |
107 | } | - |
108 | | - |
109 | int QQmlExpression::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
110 | { | - |
111 | _id = QObject::qt_metacall(_c, _id, _a); | - |
112 | if (_id < 0) | - |
113 | return _id; | - |
114 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
115 | if (_id < 1) | - |
116 | qt_static_metacall(this, _c, _id, _a); | - |
117 | _id -= 1; | - |
118 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
119 | if (_id < 1) | - |
120 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
121 | _id -= 1; | - |
122 | } | - |
123 | return _id; | - |
124 | } | - |
125 | | - |
126 | | - |
127 | void QQmlExpression::valueChanged() | - |
128 | { | - |
129 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
130 | }executed 34 times by 2 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
| 34 |
131 | | - |
132 | #pragma GCC diagnostic pop | - |
133 | | - |
134 | | - |
| | |