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
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qquicktimeline_p_p.h'-
3**-
4** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.0)-
5**-
6** WARNING! All changes made in this file will be lost!-
7*****************************************************************************/-
8-
9#include "../util/qquicktimeline_p_p.h"-
10#include <QtCore/qbytearray.h>-
11#include <QtCore/qmetatype.h>-
12#if !defined(Q_MOC_OUTPUT_REVISION)-
13#error "The header file 'qquicktimeline_p_p.h' doesn't include <QObject>."-
14#elif Q_MOC_OUTPUT_REVISION != 67-
15#error "This file was generated using the moc from 5.12.0. It"-
16#error "cannot be used with the include files from this version of Qt."-
17#error "(The moc has changed too much.)"-
18#endif-
19-
20QT_BEGIN_MOC_NAMESPACE-
21QT_WARNING_PUSH-
22QT_WARNING_DISABLE_DEPRECATED-
23struct qt_meta_stringdata_QQuickTimeLine_t {-
24 QByteArrayData data[4];-
25 char stringdata0[34];-
26};-
27#define QT_MOC_LITERAL(idx, ofs, len) \-
28 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
29 qptrdiff(offsetof(qt_meta_stringdata_QQuickTimeLine_t, stringdata0) + ofs \-
30 - idx * sizeof(QByteArrayData)) \-
31 )-
32static const qt_meta_stringdata_QQuickTimeLine_t qt_meta_stringdata_QQuickTimeLine = {-
33 {-
34QT_MOC_LITERAL(0, 0, 14), // "QQuickTimeLine"-
35QT_MOC_LITERAL(1, 15, 7), // "updated"-
36QT_MOC_LITERAL(2, 23, 0), // ""-
37QT_MOC_LITERAL(3, 24, 9) // "completed"-
38-
39 },-
40 "QQuickTimeLine\0updated\0\0completed"-
41};-
42#undef QT_MOC_LITERAL-
43-
44static const uint qt_meta_data_QQuickTimeLine[] = {-
45-
46 // content:-
47 7, // revision-
48 0, // classname-
49 0, 0, // classinfo-
50 2, 14, // methods-
51 0, 0, // properties-
52 0, 0, // enums/sets-
53 0, 0, // constructors-
54 0, // flags-
55 2, // signalCount-
56-
57 // signals: name, argc, parameters, tag, flags-
58 1, 0, 24, 2, 0x06 /* Public */,-
59 3, 0, 25, 2, 0x06 /* Public */,-
60-
61 // signals: parameters-
62 QMetaType::Void,-
63 QMetaType::Void,-
64-
65 0 // eod-
66};-
67-
68void QQuickTimeLine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
69{-
70 if (_c == QMetaObject::InvokeMetaMethod) {-
71 QQuickTimeLine *_t = static_cast<QQuickTimeLine *>(_o);-
72 Q_UNUSED(_t)-
73 switch (_id) {-
74 case 0: _t->updated(); break;-
75 case 1: _t->completed(); break;-
76 default: ;-
77 }-
78 } else if (_c == QMetaObject::IndexOfMethod) {-
79 int *result = reinterpret_cast<int *>(_a[0]);-
80 {-
81 using _t = void (QQuickTimeLine::*)();-
82 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTimeLine::updated)) {-
83 *result = 0;-
84 return;-
85 }-
86 }-
87 {-
88 using _t = void (QQuickTimeLine::*)();-
89 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTimeLine::completed)) {-
90 *result = 1;-
91 return;-
92 }-
93 }-
94 }-
95 Q_UNUSED(_a);-
96}-
97-
98QT_INIT_METAOBJECT const QMetaObject QQuickTimeLine::staticMetaObject = {-
99 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickTimeLine.data,-
100 qt_meta_data_QQuickTimeLine, qt_static_metacall, nullptr, nullptr}-
101};-
102-
103-
104const QMetaObject *QQuickTimeLine::metaObject() const-
105{-
106 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
107}-
108-
109void *QQuickTimeLine::qt_metacast(const char *_clname)-
110{-
111 if (!_clname) return nullptr;-
112 if (!strcmp(_clname, qt_meta_stringdata_QQuickTimeLine.stringdata0))-
113 return static_cast<void*>(this);-
114 if (!strcmp(_clname, "QAbstractAnimationJob"))-
115 return static_cast< QAbstractAnimationJob*>(this);-
116 return QObject::qt_metacast(_clname);-
117}-
118-
119int QQuickTimeLine::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
120{-
121 _id = QObject::qt_metacall(_c, _id, _a);-
122 if (_id < 0)-
123 return _id;-
124 if (_c == QMetaObject::InvokeMetaMethod) {-
125 if (_id < 2)-
126 qt_static_metacall(this, _c, _id, _a);-
127 _id -= 2;-
128 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
129 if (_id < 2)-
130 *reinterpret_cast<int*>(_a[0]) = -1;-
131 _id -= 2;-
132 }-
133 return _id;-
134}-
135-
136// SIGNAL 0-
137void QQuickTimeLine::updated()-
138{-
139 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
140}
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
141-
142// SIGNAL 1-
143void QQuickTimeLine::completed()-
144{-
145 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
146}
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
147QT_WARNING_POP-
148QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0