OpenCoverage

moc_qqmlpropertymap.cpp

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

Generated by Squish Coco 4.2.0