1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'IRestApi.h' |
3 | ** |
4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.7) |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost! |
7 | *****************************************************************************/ |
8 | |
9 | #include <memory> |
10 | #include "../../../../../3rdparty/unioncode-GitQlient/src/git_server/IRestApi.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #include <QtCore/QVector> |
14 | #if !defined(Q_MOC_OUTPUT_REVISION) |
15 | #error "The header file 'IRestApi.h' doesn't include <QObject>." |
16 | #elif Q_MOC_OUTPUT_REVISION != 67 |
17 | #error "This file was generated using the moc from 5.15.7. It" |
18 | #error "cannot be used with the include files from this version of Qt." |
19 | #error "(The moc has changed too much.)" |
20 | #endif |
21 | |
22 | QT_BEGIN_MOC_NAMESPACE |
23 | QT_WARNING_PUSH |
24 | QT_WARNING_DISABLE_DEPRECATED |
25 | struct qt_meta_stringdata_GitServer__IRestApi_t { |
26 | QByteArrayData data[44]; |
27 | char stringdata0[686]; |
28 | }; |
29 | #define QT_MOC_LITERAL(idx, ofs, len) \ |
30 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ |
31 | qptrdiff(offsetof(qt_meta_stringdata_GitServer__IRestApi_t, stringdata0) + ofs \ |
32 | - idx * sizeof(QByteArrayData)) \ |
33 | ) |
34 | static const qt_meta_stringdata_GitServer__IRestApi_t qt_meta_stringdata_GitServer__IRestApi = { |
35 | { |
36 | QT_MOC_LITERAL(0, 0, 19), // "GitServer::IRestApi" |
37 | QT_MOC_LITERAL(1, 20, 16), // "connectionTested" |
38 | QT_MOC_LITERAL(2, 37, 0), // "" |
39 | QT_MOC_LITERAL(3, 38, 14), // "labelsReceived" |
40 | QT_MOC_LITERAL(4, 53, 25), // "QVector<GitServer::Label>" |
41 | QT_MOC_LITERAL(5, 79, 6), // "labels" |
42 | QT_MOC_LITERAL(6, 86, 18), // "milestonesReceived" |
43 | QT_MOC_LITERAL(7, 105, 29), // "QVector<GitServer::Milestone>" |
44 | QT_MOC_LITERAL(8, 135, 10), // "milestones" |
45 | QT_MOC_LITERAL(9, 146, 14), // "issuesReceived" |
46 | QT_MOC_LITERAL(10, 161, 25), // "QVector<GitServer::Issue>" |
47 | QT_MOC_LITERAL(11, 187, 6), // "issues" |
48 | QT_MOC_LITERAL(12, 194, 20), // "pullRequestsReceived" |
49 | QT_MOC_LITERAL(13, 215, 31), // "QVector<GitServer::PullRequest>" |
50 | QT_MOC_LITERAL(14, 247, 3), // "prs" |
51 | QT_MOC_LITERAL(15, 251, 17), // "pullRequestMerged" |
52 | QT_MOC_LITERAL(16, 269, 13), // "errorOccurred" |
53 | QT_MOC_LITERAL(17, 283, 8), // "errorStr" |
54 | QT_MOC_LITERAL(18, 292, 17), // "paginationPresent" |
55 | QT_MOC_LITERAL(19, 310, 7), // "current" |
56 | QT_MOC_LITERAL(20, 318, 4), // "next" |
57 | QT_MOC_LITERAL(21, 323, 5), // "total" |
58 | QT_MOC_LITERAL(22, 329, 12), // "issueUpdated" |
59 | QT_MOC_LITERAL(23, 342, 16), // "GitServer::Issue" |
60 | QT_MOC_LITERAL(24, 359, 5), // "issue" |
61 | QT_MOC_LITERAL(25, 365, 16), // "commentsReceived" |
62 | QT_MOC_LITERAL(26, 382, 11), // "issueNumber" |
63 | QT_MOC_LITERAL(27, 394, 27), // "QVector<GitServer::Comment>" |
64 | QT_MOC_LITERAL(28, 422, 8), // "comments" |
65 | QT_MOC_LITERAL(29, 431, 19), // "codeReviewsReceived" |
66 | QT_MOC_LITERAL(30, 451, 8), // "prNumber" |
67 | QT_MOC_LITERAL(31, 460, 30), // "QVector<GitServer::CodeReview>" |
68 | QT_MOC_LITERAL(32, 491, 11), // "codeReviews" |
69 | QT_MOC_LITERAL(33, 503, 22), // "commentReviewsReceived" |
70 | QT_MOC_LITERAL(34, 526, 27), // "QMap<int,GitServer::Review>" |
71 | QT_MOC_LITERAL(35, 554, 14), // "commentReviews" |
72 | QT_MOC_LITERAL(36, 569, 15), // "commitsReceived" |
73 | QT_MOC_LITERAL(37, 585, 26), // "QVector<GitServer::Commit>" |
74 | QT_MOC_LITERAL(38, 612, 7), // "commits" |
75 | QT_MOC_LITERAL(39, 620, 11), // "currentPage" |
76 | QT_MOC_LITERAL(40, 632, 8), // "lastPage" |
77 | QT_MOC_LITERAL(41, 641, 18), // "pullRequestUpdated" |
78 | QT_MOC_LITERAL(42, 660, 22), // "GitServer::PullRequest" |
79 | QT_MOC_LITERAL(43, 683, 2) // "pr" |
80 | |
81 | }, |
82 | "GitServer::IRestApi\0connectionTested\0" |
83 | "\0labelsReceived\0QVector<GitServer::Label>\0" |
84 | "labels\0milestonesReceived\0" |
85 | "QVector<GitServer::Milestone>\0milestones\0" |
86 | "issuesReceived\0QVector<GitServer::Issue>\0" |
87 | "issues\0pullRequestsReceived\0" |
88 | "QVector<GitServer::PullRequest>\0prs\0" |
89 | "pullRequestMerged\0errorOccurred\0" |
90 | "errorStr\0paginationPresent\0current\0" |
91 | "next\0total\0issueUpdated\0GitServer::Issue\0" |
92 | "issue\0commentsReceived\0issueNumber\0" |
93 | "QVector<GitServer::Comment>\0comments\0" |
94 | "codeReviewsReceived\0prNumber\0" |
95 | "QVector<GitServer::CodeReview>\0" |
96 | "codeReviews\0commentReviewsReceived\0" |
97 | "QMap<int,GitServer::Review>\0commentReviews\0" |
98 | "commitsReceived\0QVector<GitServer::Commit>\0" |
99 | "commits\0currentPage\0lastPage\0" |
100 | "pullRequestUpdated\0GitServer::PullRequest\0" |
101 | "pr" |
102 | }; |
103 | #undef QT_MOC_LITERAL |
104 | |
105 | static const uint qt_meta_data_GitServer__IRestApi[] = { |
106 | |
107 | // content: |
108 | 8, // revision |
109 | 0, // classname |
110 | 0, 0, // classinfo |
111 | 14, 14, // methods |
112 | 0, 0, // properties |
113 | 0, 0, // enums/sets |
114 | 0, 0, // constructors |
115 | 0, // flags |
116 | 14, // signalCount |
117 | |
118 | // signals: name, argc, parameters, tag, flags |
119 | 1, 0, 84, 2, 0x06 /* Public */, |
120 | 3, 1, 85, 2, 0x06 /* Public */, |
121 | 6, 1, 88, 2, 0x06 /* Public */, |
122 | 9, 1, 91, 2, 0x06 /* Public */, |
123 | 12, 1, 94, 2, 0x06 /* Public */, |
124 | 15, 0, 97, 2, 0x06 /* Public */, |
125 | 16, 1, 98, 2, 0x06 /* Public */, |
126 | 18, 3, 101, 2, 0x06 /* Public */, |
127 | 22, 1, 108, 2, 0x06 /* Public */, |
128 | 25, 2, 111, 2, 0x06 /* Public */, |
129 | 29, 2, 116, 2, 0x06 /* Public */, |
130 | 33, 2, 121, 2, 0x06 /* Public */, |
131 | 36, 4, 126, 2, 0x06 /* Public */, |
132 | 41, 1, 135, 2, 0x06 /* Public */, |
133 | |
134 | // signals: parameters |
135 | QMetaType::Void, |
136 | QMetaType::Void, 0x80000000 | 4, 5, |
137 | QMetaType::Void, 0x80000000 | 7, 8, |
138 | QMetaType::Void, 0x80000000 | 10, 11, |
139 | QMetaType::Void, 0x80000000 | 13, 14, |
140 | QMetaType::Void, |
141 | QMetaType::Void, QMetaType::QString, 17, |
142 | QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 19, 20, 21, |
143 | QMetaType::Void, 0x80000000 | 23, 24, |
144 | QMetaType::Void, QMetaType::Int, 0x80000000 | 27, 26, 28, |
145 | QMetaType::Void, QMetaType::Int, 0x80000000 | 31, 30, 32, |
146 | QMetaType::Void, QMetaType::Int, 0x80000000 | 34, 30, 35, |
147 | QMetaType::Void, QMetaType::Int, 0x80000000 | 37, QMetaType::Int, QMetaType::Int, 30, 38, 39, 40, |
148 | QMetaType::Void, 0x80000000 | 42, 43, |
149 | |
150 | 0 // eod |
151 | }; |
152 | |
153 | void GitServer::IRestApi::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
154 | { |
155 | if (_c == QMetaObject::InvokeMetaMethod) { |
156 | auto *_t = static_cast<IRestApi *>(_o); |
157 | (void)_t; |
158 | switch (_id) { |
159 | case 0: _t->connectionTested(); break; |
160 | case 1: _t->labelsReceived((*reinterpret_cast< const QVector<GitServer::Label>(*)>(_a[1]))); break; |
161 | case 2: _t->milestonesReceived((*reinterpret_cast< const QVector<GitServer::Milestone>(*)>(_a[1]))); break; |
162 | case 3: _t->issuesReceived((*reinterpret_cast< const QVector<GitServer::Issue>(*)>(_a[1]))); break; |
163 | case 4: _t->pullRequestsReceived((*reinterpret_cast< const QVector<GitServer::PullRequest>(*)>(_a[1]))); break; |
164 | case 5: _t->pullRequestMerged(); break; |
165 | case 6: _t->errorOccurred((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
166 | case 7: _t->paginationPresent((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; |
167 | case 8: _t->issueUpdated((*reinterpret_cast< const GitServer::Issue(*)>(_a[1]))); break; |
168 | case 9: _t->commentsReceived((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QVector<GitServer::Comment>(*)>(_a[2]))); break; |
169 | case 10: _t->codeReviewsReceived((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QVector<GitServer::CodeReview>(*)>(_a[2]))); break; |
170 | case 11: _t->commentReviewsReceived((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QMap<int,GitServer::Review>(*)>(_a[2]))); break; |
171 | case 12: _t->commitsReceived((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QVector<GitServer::Commit>(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break; |
172 | case 13: _t->pullRequestUpdated((*reinterpret_cast< const GitServer::PullRequest(*)>(_a[1]))); break; |
173 | default: ; |
174 | } |
175 | } else if (_c == QMetaObject::IndexOfMethod) { |
176 | int *result = reinterpret_cast<int *>(_a[0]); |
177 | { |
178 | using _t = void (IRestApi::*)(); |
179 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&IRestApi::connectionTested)) { |
180 | *result = 0; |
181 | return; |
182 | } |
183 | } |
184 | { |
185 | using _t = void (IRestApi::*)(const QVector<GitServer::Label> & ); |
186 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&IRestApi::labelsReceived)) { |
187 | *result = 1; |
188 | return; |
189 | } |
190 | } |
191 | { |
192 | using _t = void (IRestApi::*)(const QVector<GitServer::Milestone> & ); |
193 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&IRestApi::milestonesReceived)) { |
194 | *result = 2; |
195 | return; |
196 | } |
197 | } |
198 | { |
199 | using _t = void (IRestApi::*)(const QVector<GitServer::Issue> & ); |
200 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&IRestApi::issuesReceived)) { |
201 | *result = 3; |
202 | return; |
203 | } |
204 | } |
205 | { |
206 | using _t = void (IRestApi::*)(const QVector<GitServer::PullRequest> & ); |
207 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&IRestApi::pullRequestsReceived)) { |
208 | *result = 4; |
209 | return; |
210 | } |
211 | } |
212 | { |
213 | using _t = void (IRestApi::*)(); |
214 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&IRestApi::pullRequestMerged)) { |
215 | *result = 5; |
216 | return; |
217 | } |
218 | } |
219 | { |
220 | using _t = void (IRestApi::*)(const QString & ); |
221 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&IRestApi::errorOccurred)) { |
222 | *result = 6; |
223 | return; |
224 | } |
225 | } |
226 | { |
227 | using _t = void (IRestApi::*)(int , int , int ); |
228 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&IRestApi::paginationPresent)) { |
229 | *result = 7; |
230 | return; |
231 | } |
232 | } |
233 | { |
234 | using _t = void (IRestApi::*)(const GitServer::Issue & ); |
235 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&IRestApi::issueUpdated)) { |
236 | *result = 8; |
237 | return; |
238 | } |
239 | } |
240 | { |
241 | using _t = void (IRestApi::*)(int , const QVector<GitServer::Comment> & ); |
242 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&IRestApi::commentsReceived)) { |
243 | *result = 9; |
244 | return; |
245 | } |
246 | } |
247 | { |
248 | using _t = void (IRestApi::*)(int , const QVector<GitServer::CodeReview> & ); |
249 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&IRestApi::codeReviewsReceived)) { |
250 | *result = 10; |
251 | return; |
252 | } |
253 | } |
254 | { |
255 | using _t = void (IRestApi::*)(int , const QMap<int,GitServer::Review> & ); |
256 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&IRestApi::commentReviewsReceived)) { |
257 | *result = 11; |
258 | return; |
259 | } |
260 | } |
261 | { |
262 | using _t = void (IRestApi::*)(int , const QVector<GitServer::Commit> & , int , int ); |
263 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&IRestApi::commitsReceived)) { |
264 | *result = 12; |
265 | return; |
266 | } |
267 | } |
268 | { |
269 | using _t = void (IRestApi::*)(const GitServer::PullRequest & ); |
270 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&IRestApi::pullRequestUpdated)) { |
271 | *result = 13; |
272 | return; |
273 | } |
274 | } |
275 | } |
276 | } |
277 | |
278 | QT_INIT_METAOBJECT const QMetaObject GitServer::IRestApi::staticMetaObject = { { |
279 | QMetaObject::SuperData::link<QObject::staticMetaObject>(), |
280 | qt_meta_stringdata_GitServer__IRestApi.data, |
281 | qt_meta_data_GitServer__IRestApi, |
282 | qt_static_metacall, |
283 | nullptr, |
284 | nullptr |
285 | } }; |
286 | |
287 | |
288 | const QMetaObject *GitServer::IRestApi::metaObject() const |
289 | { |
290 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
291 | } |
292 | |
293 | void *GitServer::IRestApi::qt_metacast(const char *_clname) |
294 | { |
295 | if (!_clname) return nullptr; |
296 | if (!strcmp(_clname, qt_meta_stringdata_GitServer__IRestApi.stringdata0)) |
297 | return static_cast<void*>(this); |
298 | return QObject::qt_metacast(_clname); |
299 | } |
300 | |
301 | int GitServer::IRestApi::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
302 | { |
303 | _id = QObject::qt_metacall(_c, _id, _a); |
304 | if (_id < 0) |
305 | return _id; |
306 | if (_c == QMetaObject::InvokeMetaMethod) { |
307 | if (_id < 14) |
308 | qt_static_metacall(this, _c, _id, _a); |
309 | _id -= 14; |
310 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
311 | if (_id < 14) |
312 | *reinterpret_cast<int*>(_a[0]) = -1; |
313 | _id -= 14; |
314 | } |
315 | return _id; |
316 | } |
317 | |
318 | // SIGNAL 0 |
319 | void GitServer::IRestApi::connectionTested() |
320 | { |
321 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); |
322 | } |
323 | |
324 | // SIGNAL 1 |
325 | void GitServer::IRestApi::labelsReceived(const QVector<GitServer::Label> & _t1) |
326 | { |
327 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
328 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
329 | } |
330 | |
331 | // SIGNAL 2 |
332 | void GitServer::IRestApi::milestonesReceived(const QVector<GitServer::Milestone> & _t1) |
333 | { |
334 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
335 | QMetaObject::activate(this, &staticMetaObject, 2, _a); |
336 | } |
337 | |
338 | // SIGNAL 3 |
339 | void GitServer::IRestApi::issuesReceived(const QVector<GitServer::Issue> & _t1) |
340 | { |
341 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
342 | QMetaObject::activate(this, &staticMetaObject, 3, _a); |
343 | } |
344 | |
345 | // SIGNAL 4 |
346 | void GitServer::IRestApi::pullRequestsReceived(const QVector<GitServer::PullRequest> & _t1) |
347 | { |
348 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
349 | QMetaObject::activate(this, &staticMetaObject, 4, _a); |
350 | } |
351 | |
352 | // SIGNAL 5 |
353 | void GitServer::IRestApi::pullRequestMerged() |
354 | { |
355 | QMetaObject::activate(this, &staticMetaObject, 5, nullptr); |
356 | } |
357 | |
358 | // SIGNAL 6 |
359 | void GitServer::IRestApi::errorOccurred(const QString & _t1) |
360 | { |
361 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
362 | QMetaObject::activate(this, &staticMetaObject, 6, _a); |
363 | } |
364 | |
365 | // SIGNAL 7 |
366 | void GitServer::IRestApi::(int _t1, int _t2, int _t3) |
367 | { |
368 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) }; |
369 | QMetaObject::activate(this, &staticMetaObject, 7, _a); |
370 | } |
371 | |
372 | // SIGNAL 8 |
373 | void GitServer::IRestApi::issueUpdated(const GitServer::Issue & _t1) |
374 | { |
375 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
376 | QMetaObject::activate(this, &staticMetaObject, 8, _a); |
377 | } |
378 | |
379 | // SIGNAL 9 |
380 | void GitServer::IRestApi::(int _t1, const QVector<GitServer::Comment> & _t2) |
381 | { |
382 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
383 | QMetaObject::activate(this, &staticMetaObject, 9, _a); |
384 | } |
385 | |
386 | // SIGNAL 10 |
387 | void GitServer::IRestApi::codeReviewsReceived(int _t1, const QVector<GitServer::CodeReview> & _t2) |
388 | { |
389 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
390 | QMetaObject::activate(this, &staticMetaObject, 10, _a); |
391 | } |
392 | |
393 | // SIGNAL 11 |
394 | void GitServer::IRestApi::(int _t1, const QMap<int,GitServer::Review> & _t2) |
395 | { |
396 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
397 | QMetaObject::activate(this, &staticMetaObject, 11, _a); |
398 | } |
399 | |
400 | // SIGNAL 12 |
401 | void GitServer::IRestApi::commitsReceived(int _t1, const QVector<GitServer::Commit> & _t2, int _t3, int _t4) |
402 | { |
403 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t4))) }; |
404 | QMetaObject::activate(this, &staticMetaObject, 12, _a); |
405 | } |
406 | |
407 | // SIGNAL 13 |
408 | void GitServer::IRestApi::pullRequestUpdated(const GitServer::PullRequest & _t1) |
409 | { |
410 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
411 | QMetaObject::activate(this, &staticMetaObject, 13, _a); |
412 | } |
413 | QT_WARNING_POP |
414 | QT_END_MOC_NAMESPACE |
415 | |