OpenCoverage

moc_qquicktimeline_p_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquicktimeline_p_p.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3#pragma GCC diagnostic push-
4-
5-
6#pragma GCC diagnostic ignored "-Wdeprecated-declarations"-
7-
8struct qt_meta_stringdata_QQuickTimeLine_t {-
9 QByteArrayData data[4];-
10 char stringdata0[34];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQuickTimeLine_t qt_meta_stringdata_QQuickTimeLine = {-
18 {-
19{ { { -1 } }, 14, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQuickTimeLine_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 7, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQuickTimeLine_t-
29, -
30stringdata0-
31) -
32+ 15 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQuickTimeLine_t-
36, -
37stringdata0-
38) -
39+ 23 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 9, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQuickTimeLine_t-
43, -
44stringdata0-
45) -
46+ 24 - 3 * sizeof(QByteArrayData)) }-
47-
48 },-
49 "QQuickTimeLine\0updated\0\0completed"-
50};-
51-
52-
53static const uint qt_meta_data_QQuickTimeLine[] = {-
54-
55-
56 7,-
57 0,-
58 0, 0,-
59 2, 14,-
60 0, 0,-
61 0, 0,-
62 0, 0,-
63 0,-
64 2,-
65-
66-
67 1, 0, 24, 2, 0x06 ,-
68 3, 0, 25, 2, 0x06 ,-
69-
70-
71 QMetaType::Void,-
72 QMetaType::Void,-
73-
74 0-
75};-
76-
77void QQuickTimeLine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
78{-
79 if (_c == QMetaObject::InvokeMetaMethod) {-
80 QQuickTimeLine *_t = static_cast<QQuickTimeLine *>(_o);-
81 (void)_t;-
82 switch (_id) {-
83 case 0: _t->updated(); break;-
84 case 1: _t->completed(); break;-
85 default: ;-
86 }-
87 } else if (_c == QMetaObject::IndexOfMethod) {-
88 int *result = reinterpret_cast<int *>(_a[0]);-
89 {-
90 using _t = void (QQuickTimeLine::*)();-
91 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTimeLine::updated)) {-
92 *result = 0;-
93 return;-
94 }-
95 }-
96 {-
97 using _t = void (QQuickTimeLine::*)();-
98 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTimeLine::completed)) {-
99 *result = 1;-
100 return;-
101 }-
102 }-
103 }-
104 (void)_a;;-
105}-
106-
107 const QMetaObject QQuickTimeLine::staticMetaObject = {-
108 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickTimeLine.data,-
109 qt_meta_data_QQuickTimeLine, qt_static_metacall, nullptr, nullptr}-
110};-
111-
112-
113const QMetaObject *QQuickTimeLine::metaObject() const-
114{-
115 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
116}-
117-
118void *QQuickTimeLine::qt_metacast(const char *_clname)-
119{-
120 if (!_clname) return nullptr;-
121 if (!strcmp(_clname, qt_meta_stringdata_QQuickTimeLine.stringdata0))-
122 return static_cast<void*>(this);-
123 if (!strcmp(_clname, "QAbstractAnimationJob"))-
124 return static_cast< QAbstractAnimationJob*>(this);-
125 return QObject::qt_metacast(_clname);-
126}-
127-
128int QQuickTimeLine::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
129{-
130 _id = QObject::qt_metacall(_c, _id, _a);-
131 if (_id < 0)-
132 return _id;-
133 if (_c == QMetaObject::InvokeMetaMethod) {-
134 if (_id < 2)-
135 qt_static_metacall(this, _c, _id, _a);-
136 _id -= 2;-
137 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
138 if (_id < 2)-
139 *reinterpret_cast<int*>(_a[0]) = -1;-
140 _id -= 2;-
141 }-
142 return _id;-
143}-
144-
145-
146void QQuickTimeLine::updated()-
147{-
148 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
149}
executed 31465 times by 9 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickvisualdatamodel
31465
150-
151-
152void QQuickTimeLine::completed()-
153{-
154 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
155}
executed 5691 times by 9 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickvisualdatamodel
5691
156-
157#pragma GCC diagnostic pop-
158-
159-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0