Ubuntu Download Manager: /build/ubuntu-download-manager-git/src/ubuntu-download-manager/src/downloads/client/ubuntu-download-manager-client_autogen/KVAQPNROTY/moc_download_interface.cpp Source File

Ubuntu Download Manager 1.2.0 A session-wide downloading service |

moc_download_interface.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'download_interface.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8
9 #include <memory>
10 #include "../../ubuntu/download_manager/download_interface.h"
11 #include <QtCore/qbytearray.h>
12 #include <QtCore/qmetatype.h>
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'download_interface.h' doesn't include <QObject>."
15 #elif Q_MOC_OUTPUT_REVISION != 67
16 #error "This file was generated using the moc from 5.15.2. It"
17 #error "cannot be used with the include files from this version of Qt."
18 #error "(The moc has changed too much.)"
19 #endif
20
21 QT_BEGIN_MOC_NAMESPACE
22 QT_WARNING_PUSH
23 QT_WARNING_DISABLE_DEPRECATED
24 struct qt_meta_stringdata_DownloadInterface_t {
25 QByteArrayData data[56];
26 char stringdata0[697];
27 };
28 #define QT_MOC_LITERAL(idx, ofs, len) \
29 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
30 qptrdiff(offsetof(qt_meta_stringdata_DownloadInterface_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
33 static const qt_meta_stringdata_DownloadInterface_t qt_meta_stringdata_DownloadInterface = {
34 {
35 QT_MOC_LITERAL(0, 0, 17), // "DownloadInterface"
36 QT_MOC_LITERAL(1, 18, 9), // "authError"
37 QT_MOC_LITERAL(2, 28, 0), // ""
38 QT_MOC_LITERAL(3, 29, 15), // "AuthErrorStruct"
39 QT_MOC_LITERAL(4, 45, 5), // "error"
40 QT_MOC_LITERAL(5, 51, 8), // "canceled"
41 QT_MOC_LITERAL(6, 60, 7), // "success"
42 QT_MOC_LITERAL(7, 68, 8), // "finished"
43 QT_MOC_LITERAL(8, 77, 4), // "path"
44 QT_MOC_LITERAL(9, 82, 9), // "hashError"
45 QT_MOC_LITERAL(10, 92, 15), // "HashErrorStruct"
46 QT_MOC_LITERAL(11, 108, 9), // "httpError"
47 QT_MOC_LITERAL(12, 118, 15), // "HttpErrorStruct"
48 QT_MOC_LITERAL(13, 134, 12), // "networkError"
49 QT_MOC_LITERAL(14, 147, 18), // "NetworkErrorStruct"
50 QT_MOC_LITERAL(15, 166, 6), // "paused"
51 QT_MOC_LITERAL(16, 173, 12), // "processError"
52 QT_MOC_LITERAL(17, 186, 18), // "ProcessErrorStruct"
53 QT_MOC_LITERAL(18, 205, 10), // "processing"
54 QT_MOC_LITERAL(19, 216, 8), // "progress"
55 QT_MOC_LITERAL(20, 225, 8), // "received"
56 QT_MOC_LITERAL(21, 234, 5), // "total"
57 QT_MOC_LITERAL(22, 240, 7), // "resumed"
58 QT_MOC_LITERAL(23, 248, 7), // "started"
59 QT_MOC_LITERAL(24, 256, 16), // "allowGSMDownload"
60 QT_MOC_LITERAL(25, 273, 19), // "QDBusPendingReply<>"
61 QT_MOC_LITERAL(26, 293, 7), // "allowed"
62 QT_MOC_LITERAL(27, 301, 6), // "cancel"
63 QT_MOC_LITERAL(28, 308, 9), // "collected"
64 QT_MOC_LITERAL(29, 318, 8), // "filePath"
65 QT_MOC_LITERAL(30, 327, 26), // "QDBusPendingReply<QString>"
66 QT_MOC_LITERAL(31, 354, 7), // "headers"
67 QT_MOC_LITERAL(32, 362, 28), // "QDBusPendingReply<StringMap>"
68 QT_MOC_LITERAL(33, 391, 20), // "isGSMDownloadAllowed"
69 QT_MOC_LITERAL(34, 412, 23), // "QDBusPendingReply<bool>"
70 QT_MOC_LITERAL(35, 436, 8), // "metadata"
71 QT_MOC_LITERAL(36, 445, 30), // "QDBusPendingReply<QVariantMap>"
72 QT_MOC_LITERAL(37, 476, 5), // "pause"
73 QT_MOC_LITERAL(38, 482, 29), // "QDBusPendingReply<qulonglong>"
74 QT_MOC_LITERAL(39, 512, 6), // "resume"
75 QT_MOC_LITERAL(40, 519, 17), // "setDestinationDir"
76 QT_MOC_LITERAL(41, 537, 10), // "setHeaders"
77 QT_MOC_LITERAL(42, 548, 9), // "StringMap"
78 QT_MOC_LITERAL(43, 558, 11), // "setMetadata"
79 QT_MOC_LITERAL(44, 570, 4), // "data"
80 QT_MOC_LITERAL(45, 575, 11), // "setThrottle"
81 QT_MOC_LITERAL(46, 587, 5), // "speed"
82 QT_MOC_LITERAL(47, 593, 5), // "start"
83 QT_MOC_LITERAL(48, 599, 5), // "state"
84 QT_MOC_LITERAL(49, 605, 22), // "QDBusPendingReply<int>"
85 QT_MOC_LITERAL(50, 628, 8), // "throttle"
86 QT_MOC_LITERAL(51, 637, 9), // "totalSize"
87 QT_MOC_LITERAL(52, 647, 12), // "ClickPackage"
88 QT_MOC_LITERAL(53, 660, 14), // "DestinationApp"
89 QT_MOC_LITERAL(54, 675, 15), // "ShowInIndicator"
90 QT_MOC_LITERAL(55, 691, 5) // "Title"
91
92 },
93 "DownloadInterface\0authError\0\0"
94 "AuthErrorStruct\0error\0canceled\0success\0"
95 "finished\0path\0hashError\0HashErrorStruct\0"
96 "httpError\0HttpErrorStruct\0networkError\0"
97 "NetworkErrorStruct\0paused\0processError\0"
98 "ProcessErrorStruct\0processing\0progress\0"
99 "received\0total\0resumed\0started\0"
100 "allowGSMDownload\0QDBusPendingReply<>\0"
101 "allowed\0cancel\0collected\0filePath\0"
102 "QDBusPendingReply<QString>\0headers\0"
103 "QDBusPendingReply<StringMap>\0"
104 "isGSMDownloadAllowed\0QDBusPendingReply<bool>\0"
105 "metadata\0QDBusPendingReply<QVariantMap>\0"
106 "pause\0QDBusPendingReply<qulonglong>\0"
107 "resume\0setDestinationDir\0setHeaders\0"
108 "StringMap\0setMetadata\0data\0setThrottle\0"
109 "speed\0start\0state\0QDBusPendingReply<int>\0"
110 "throttle\0totalSize\0ClickPackage\0"
111 "DestinationApp\0ShowInIndicator\0Title"
112 };
113 #undef QT_MOC_LITERAL
114
115 static const uint qt_meta_data_DownloadInterface[] = {
116
117 // content:
118 8, // revision
119 0, // classname
120 0, 0, // classinfo
121 31, 14, // methods
122 4, 238, // properties
123 0, 0, // enums/sets
124 0, 0, // constructors
125 0, // flags
126 13, // signalCount
127
128 // signals: name, argc, parameters, tag, flags
129 1, 1, 169, 2, 0x06 /* Public */,
130 5, 1, 172, 2, 0x06 /* Public */,
131 4, 1, 175, 2, 0x06 /* Public */,
132 7, 1, 178, 2, 0x06 /* Public */,
133 9, 1, 181, 2, 0x06 /* Public */,
134 11, 1, 184, 2, 0x06 /* Public */,
135 13, 1, 187, 2, 0x06 /* Public */,
136 15, 1, 190, 2, 0x06 /* Public */,
137 16, 1, 193, 2, 0x06 /* Public */,
138 18, 1, 196, 2, 0x06 /* Public */,
139 19, 2, 199, 2, 0x06 /* Public */,
140 22, 1, 204, 2, 0x06 /* Public */,
141 23, 1, 207, 2, 0x06 /* Public */,
142
143 // slots: name, argc, parameters, tag, flags
144 24, 1, 210, 2, 0x0a /* Public */,
145 27, 0, 213, 2, 0x0a /* Public */,
146 28, 0, 214, 2, 0x0a /* Public */,
147 29, 0, 215, 2, 0x0a /* Public */,
148 31, 0, 216, 2, 0x0a /* Public */,
149 33, 0, 217, 2, 0x0a /* Public */,
150 35, 0, 218, 2, 0x0a /* Public */,
151 37, 0, 219, 2, 0x0a /* Public */,
152 19, 0, 220, 2, 0x0a /* Public */,
153 39, 0, 221, 2, 0x0a /* Public */,
154 40, 1, 222, 2, 0x0a /* Public */,
155 41, 1, 225, 2, 0x0a /* Public */,
156 43, 1, 228, 2, 0x0a /* Public */,
157 45, 1, 231, 2, 0x0a /* Public */,
158 47, 0, 234, 2, 0x0a /* Public */,
159 48, 0, 235, 2, 0x0a /* Public */,
160 50, 0, 236, 2, 0x0a /* Public */,
161 51, 0, 237, 2, 0x0a /* Public */,
162
163 // signals: parameters
164 QMetaType::Void, 0x80000000 | 3, 4,
165 QMetaType::Void, QMetaType::Bool, 6,
166 QMetaType::Void, QMetaType::QString, 4,
167 QMetaType::Void, QMetaType::QString, 8,
168 QMetaType::Void, 0x80000000 | 10, 4,
169 QMetaType::Void, 0x80000000 | 12, 4,
170 QMetaType::Void, 0x80000000 | 14, 4,
171 QMetaType::Void, QMetaType::Bool, 6,
172 QMetaType::Void, 0x80000000 | 17, 4,
173 QMetaType::Void, QMetaType::QString, 8,
174 QMetaType::Void, QMetaType::ULongLong, QMetaType::ULongLong, 20, 21,
175 QMetaType::Void, QMetaType::Bool, 6,
176 QMetaType::Void, QMetaType::Bool, 6,
177
178 // slots: parameters
179 0x80000000 | 25, QMetaType::Bool, 26,
180 0x80000000 | 25,
181 0x80000000 | 25,
182 0x80000000 | 30,
183 0x80000000 | 32,
184 0x80000000 | 34,
185 0x80000000 | 36,
186 0x80000000 | 25,
187 0x80000000 | 38,
188 0x80000000 | 25,
189 0x80000000 | 25, QMetaType::QString, 8,
190 0x80000000 | 25, 0x80000000 | 42, 31,
191 0x80000000 | 25, QMetaType::QVariantMap, 44,
192 0x80000000 | 25, QMetaType::ULongLong, 46,
193 0x80000000 | 25,
194 0x80000000 | 49,
195 0x80000000 | 38,
196 0x80000000 | 38,
197
198 // properties: name, type, flags
199 52, QMetaType::QString, 0x00095001,
200 53, QMetaType::QString, 0x00095001,
201 54, QMetaType::Bool, 0x00095001,
202 55, QMetaType::QString, 0x00095001,
203
204 0 // eod
205 };
206
207 void DownloadInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
208 {
209 if (_c == QMetaObject::InvokeMetaMethod) {
210 auto *_t = static_cast<DownloadInterface *>(_o);
211 Q_UNUSED(_t)
212 switch (_id) {
213 case 0: _t->authError((*reinterpret_cast< AuthErrorStruct(*)>(_a[1]))); break;
214 case 1: _t->canceled((*reinterpret_cast< bool(*)>(_a[1]))); break;
215 case 2: _t->error((*reinterpret_cast< const QString(*)>(_a[1]))); break;
216 case 3: _t->finished((*reinterpret_cast< const QString(*)>(_a[1]))); break;
217 case 4: _t->hashError((*reinterpret_cast< HashErrorStruct(*)>(_a[1]))); break;
218 case 5: _t->httpError((*reinterpret_cast< HttpErrorStruct(*)>(_a[1]))); break;
219 case 6: _t->networkError((*reinterpret_cast< NetworkErrorStruct(*)>(_a[1]))); break;
220 case 7: _t->paused((*reinterpret_cast< bool(*)>(_a[1]))); break;
221 case 8: _t->processError((*reinterpret_cast< ProcessErrorStruct(*)>(_a[1]))); break;
222 case 9: _t->processing((*reinterpret_cast< const QString(*)>(_a[1]))); break;
223 case 10: _t->progress((*reinterpret_cast< qulonglong(*)>(_a[1])),(*reinterpret_cast< qulonglong(*)>(_a[2]))); break;
224 case 11: _t->resumed((*reinterpret_cast< bool(*)>(_a[1]))); break;
225 case 12: _t->started((*reinterpret_cast< bool(*)>(_a[1]))); break;
226 case 13: { QDBusPendingReply<> _r = _t->allowGSMDownload((*reinterpret_cast< bool(*)>(_a[1])));
227 if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); } break;
228 case 14: { QDBusPendingReply<> _r = _t->cancel();
229 if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); } break;
230 case 15: { QDBusPendingReply<> _r = _t->collected();
231 if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); } break;
232 case 16: { QDBusPendingReply<QString> _r = _t->filePath();
233 if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); } break;
234 case 17: { QDBusPendingReply<StringMap> _r = _t->headers();
235 if (_a[0]) *reinterpret_cast< QDBusPendingReply<StringMap>*>(_a[0]) = std::move(_r); } break;
236 case 18: { QDBusPendingReply<bool> _r = _t->isGSMDownloadAllowed();
237 if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); } break;
238 case 19: { QDBusPendingReply<QVariantMap> _r = _t->metadata();
239 if (_a[0]) *reinterpret_cast< QDBusPendingReply<QVariantMap>*>(_a[0]) = std::move(_r); } break;
240 case 20: { QDBusPendingReply<> _r = _t->pause();
241 if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); } break;
242 case 21: { QDBusPendingReply<qulonglong> _r = _t->progress();
243 if (_a[0]) *reinterpret_cast< QDBusPendingReply<qulonglong>*>(_a[0]) = std::move(_r); } break;
244 case 22: { QDBusPendingReply<> _r = _t->resume();
245 if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); } break;
246 case 23: { QDBusPendingReply<> _r = _t->setDestinationDir((*reinterpret_cast< const QString(*)>(_a[1])));
247 if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); } break;
248 case 24: { QDBusPendingReply<> _r = _t->setHeaders((*reinterpret_cast< StringMap(*)>(_a[1])));
249 if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); } break;
250 case 25: { QDBusPendingReply<> _r = _t->setMetadata((*reinterpret_cast< const QVariantMap(*)>(_a[1])));
251 if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); } break;
252 case 26: { QDBusPendingReply<> _r = _t->setThrottle((*reinterpret_cast< qulonglong(*)>(_a[1])));
253 if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); } break;
254 case 27: { QDBusPendingReply<> _r = _t->start();
255 if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); } break;
256 case 28: { QDBusPendingReply<int> _r = _t->state();
257 if (_a[0]) *reinterpret_cast< QDBusPendingReply<int>*>(_a[0]) = std::move(_r); } break;
258 case 29: { QDBusPendingReply<qulonglong> _r = _t->throttle();
259 if (_a[0]) *reinterpret_cast< QDBusPendingReply<qulonglong>*>(_a[0]) = std::move(_r); } break;
260 case 30: { QDBusPendingReply<qulonglong> _r = _t->totalSize();
261 if (_a[0]) *reinterpret_cast< QDBusPendingReply<qulonglong>*>(_a[0]) = std::move(_r); } break;
262 default: ;
263 }
264 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
265 switch (_id) {
266 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
267 case 0:
268 switch (*reinterpret_cast<int*>(_a[1])) {
269 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
270 case 0:
271 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< AuthErrorStruct >(); break;
272 }
273 break;
274 case 4:
275 switch (*reinterpret_cast<int*>(_a[1])) {
276 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
277 case 0:
278 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< HashErrorStruct >(); break;
279 }
280 break;
281 case 5:
282 switch (*reinterpret_cast<int*>(_a[1])) {
283 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
284 case 0:
285 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< HttpErrorStruct >(); break;
286 }
287 break;
288 case 6:
289 switch (*reinterpret_cast<int*>(_a[1])) {
290 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
291 case 0:
292 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< NetworkErrorStruct >(); break;
293 }
294 break;
295 case 8:
296 switch (*reinterpret_cast<int*>(_a[1])) {
297 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
298 case 0:
299 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ProcessErrorStruct >(); break;
300 }
301 break;
302 case 24:
303 switch (*reinterpret_cast<int*>(_a[1])) {
304 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
305 case 0:
306 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< StringMap >(); break;
307 }
308 break;
309 }
310 } else if (_c == QMetaObject::IndexOfMethod) {
311 int *result = reinterpret_cast<int *>(_a[0]);
312 {
313 using _t = void (DownloadInterface::*)(AuthErrorStruct );
314 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DownloadInterface::authError)) {
315 *result = 0;
316 return;
317 }
318 }
319 {
320 using _t = void (DownloadInterface::*)(bool );
321 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DownloadInterface::canceled)) {
322 *result = 1;
323 return;
324 }
325 }
326 {
327 using _t = void (DownloadInterface::*)(const QString & );
328 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DownloadInterface::error)) {
329 *result = 2;
330 return;
331 }
332 }
333 {
334 using _t = void (DownloadInterface::*)(const QString & );
335 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DownloadInterface::finished)) {
336 *result = 3;
337 return;
338 }
339 }
340 {
341 using _t = void (DownloadInterface::*)(HashErrorStruct );
342 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DownloadInterface::hashError)) {
343 *result = 4;
344 return;
345 }
346 }
347 {
348 using _t = void (DownloadInterface::*)(HttpErrorStruct );
349 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DownloadInterface::httpError)) {
350 *result = 5;
351 return;
352 }
353 }
354 {
355 using _t = void (DownloadInterface::*)(NetworkErrorStruct );
356 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DownloadInterface::networkError)) {
357 *result = 6;
358 return;
359 }
360 }
361 {
362 using _t = void (DownloadInterface::*)(bool );
363 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DownloadInterface::paused)) {
364 *result = 7;
365 return;
366 }
367 }
368 {
369 using _t = void (DownloadInterface::*)(ProcessErrorStruct );
370 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DownloadInterface::processError)) {
371 *result = 8;
372 return;
373 }
374 }
375 {
376 using _t = void (DownloadInterface::*)(const QString & );
377 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DownloadInterface::processing)) {
378 *result = 9;
379 return;
380 }
381 }
382 {
383 using _t = void (DownloadInterface::*)(qulonglong , qulonglong );
384 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DownloadInterface::progress)) {
385 *result = 10;
386 return;
387 }
388 }
389 {
390 using _t = void (DownloadInterface::*)(bool );
391 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DownloadInterface::resumed)) {
392 *result = 11;
393 return;
394 }
395 }
396 {
397 using _t = void (DownloadInterface::*)(bool );
398 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DownloadInterface::started)) {
399 *result = 12;
400 return;
401 }
402 }
403 }
404 #ifndef QT_NO_PROPERTIES
405 else if (_c == QMetaObject::ReadProperty) {
406 auto *_t = static_cast<DownloadInterface *>(_o);
407 Q_UNUSED(_t)
408 void *_v = _a[0];
409 switch (_id) {
410 case 0: *reinterpret_cast< QString*>(_v) = _t->clickPackage(); break;
411 case 1: *reinterpret_cast< QString*>(_v) = _t->destinationApp(); break;
412 case 2: *reinterpret_cast< bool*>(_v) = _t->showInIndicator(); break;
413 case 3: *reinterpret_cast< QString*>(_v) = _t->title(); break;
414 default: break;
415 }
416 } else if (_c == QMetaObject::WriteProperty) {
417 } else if (_c == QMetaObject::ResetProperty) {
418 }
419 #endif // QT_NO_PROPERTIES
420 }
421
422 QT_INIT_METAOBJECT const QMetaObject DownloadInterface::staticMetaObject = { {
423 QMetaObject::SuperData::link<QDBusAbstractInterface::staticMetaObject>(),
424 qt_meta_stringdata_DownloadInterface.data,
425 qt_meta_data_DownloadInterface,
426 qt_static_metacall,
427 nullptr,
428 nullptr
429 } };
430
431
432 const QMetaObject *DownloadInterface::metaObject() const
433 {
434 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
435 }
436
437 void *DownloadInterface::qt_metacast(const char *_clname)
438 {
439 if (!_clname) return nullptr;
440 if (!strcmp(_clname, qt_meta_stringdata_DownloadInterface.stringdata0))
441 return static_cast<void*>(this);
442 return QDBusAbstractInterface::qt_metacast(_clname);
443 }
444
445 int DownloadInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
446 {
447 _id = QDBusAbstractInterface::qt_metacall(_c, _id, _a);
448 if (_id < 0)
449 return _id;
450 if (_c == QMetaObject::InvokeMetaMethod) {
451 if (_id < 31)
452 qt_static_metacall(this, _c, _id, _a);
453 _id -= 31;
454 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
455 if (_id < 31)
456 qt_static_metacall(this, _c, _id, _a);
457 _id -= 31;
458 }
459 #ifndef QT_NO_PROPERTIES
460 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
461 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
462 qt_static_metacall(this, _c, _id, _a);
463 _id -= 4;
464 } else if (_c == QMetaObject::QueryPropertyDesignable) {
465 _id -= 4;
466 } else if (_c == QMetaObject::QueryPropertyScriptable) {
467 _id -= 4;
468 } else if (_c == QMetaObject::QueryPropertyStored) {
469 _id -= 4;
470 } else if (_c == QMetaObject::QueryPropertyEditable) {
471 _id -= 4;
472 } else if (_c == QMetaObject::QueryPropertyUser) {
473 _id -= 4;
474 }
475 #endif // QT_NO_PROPERTIES
476 return _id;
477 }
478
479 // SIGNAL 0
480 void DownloadInterface::authError(AuthErrorStruct _t1)
481 {
482 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
483 QMetaObject::activate(this, &staticMetaObject, 0, _a);
484 }
485
486 // SIGNAL 1
487 void DownloadInterface::canceled(bool _t1)
488 {
489 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
490 QMetaObject::activate(this, &staticMetaObject, 1, _a);
491 }
492
493 // SIGNAL 2
494 void DownloadInterface::error(const QString & _t1)
495 {
496 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
497 QMetaObject::activate(this, &staticMetaObject, 2, _a);
498 }
499
500 // SIGNAL 3
501 void DownloadInterface::finished(const QString & _t1)
502 {
503 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
504 QMetaObject::activate(this, &staticMetaObject, 3, _a);
505 }
506
507 // SIGNAL 4
508 void DownloadInterface::hashError(HashErrorStruct _t1)
509 {
510 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
511 QMetaObject::activate(this, &staticMetaObject, 4, _a);
512 }
513
514 // SIGNAL 5
515 void DownloadInterface::httpError(HttpErrorStruct _t1)
516 {
517 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
518 QMetaObject::activate(this, &staticMetaObject, 5, _a);
519 }
520
521 // SIGNAL 6
522 void DownloadInterface::networkError(NetworkErrorStruct _t1)
523 {
524 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
525 QMetaObject::activate(this, &staticMetaObject, 6, _a);
526 }
527
528 // SIGNAL 7
529 void DownloadInterface::paused(bool _t1)
530 {
531 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
532 QMetaObject::activate(this, &staticMetaObject, 7, _a);
533 }
534
535 // SIGNAL 8
536 void DownloadInterface::processError(ProcessErrorStruct _t1)
537 {
538 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
539 QMetaObject::activate(this, &staticMetaObject, 8, _a);
540 }
541
542 // SIGNAL 9
543 void DownloadInterface::processing(const QString & _t1)
544 {
545 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
546 QMetaObject::activate(this, &staticMetaObject, 9, _a);
547 }
548
549 // SIGNAL 10
550 void DownloadInterface::progress(qulonglong _t1, qulonglong _t2)
551 {
552 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
553 QMetaObject::activate(this, &staticMetaObject, 10, _a);
554 }
555
556 // SIGNAL 11
557 void DownloadInterface::resumed(bool _t1)
558 {
559 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
560 QMetaObject::activate(this, &staticMetaObject, 11, _a);
561 }
562
563 // SIGNAL 12
564 void DownloadInterface::started(bool _t1)
565 {
566 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
567 QMetaObject::activate(this, &staticMetaObject, 12, _a);
568 }
569 QT_WARNING_POP
570 QT_END_MOC_NAMESPACE
QObject
qt_meta_stringdata_DownloadInterface_t
Definition: moc_download_interface.cpp:24
qt_meta_stringdata_DownloadInterface_t::data
QByteArrayData data[56]
Definition: moc_download_interface.cpp:25
qt_meta_stringdata_DownloadInterface_t::stringdata0
char stringdata0[697]
Definition: moc_download_interface.cpp:26
QT_MOC_LITERAL
#define QT_MOC_LITERAL(idx, ofs, len)
Definition: moc_download_interface.cpp:28