9 #include "../../ubuntu/download_manager/download_interface.h" 10 #include <QtCore/qbytearray.h> 11 #include <QtCore/qmetatype.h> 12 #if !defined(Q_MOC_OUTPUT_REVISION) 13 #error "The header file 'download_interface.h' doesn't include <QObject>." 14 #elif Q_MOC_OUTPUT_REVISION != 67 15 #error "This file was generated using the moc from 5.10.1. It" 16 #error "cannot be used with the include files from this version of Qt." 17 #error "(The moc has changed too much.)" 20 QT_BEGIN_MOC_NAMESPACE
22 QT_WARNING_DISABLE_DEPRECATED
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_DownloadInterface_t, stringdata0) + ofs \ 30 - idx * sizeof(QByteArrayData)) \ 92 "DownloadInterface\0authError\0\0" 93 "AuthErrorStruct\0error\0canceled\0success\0" 94 "finished\0path\0hashError\0HashErrorStruct\0" 95 "httpError\0HttpErrorStruct\0networkError\0" 96 "NetworkErrorStruct\0paused\0processError\0" 97 "ProcessErrorStruct\0processing\0progress\0" 98 "received\0total\0resumed\0started\0" 99 "allowGSMDownload\0QDBusPendingReply<>\0" 100 "allowed\0cancel\0collected\0filePath\0" 101 "QDBusPendingReply<QString>\0headers\0" 102 "QDBusPendingReply<StringMap>\0" 103 "isGSMDownloadAllowed\0QDBusPendingReply<bool>\0" 104 "metadata\0QDBusPendingReply<QVariantMap>\0" 105 "pause\0QDBusPendingReply<qulonglong>\0" 106 "resume\0setDestinationDir\0setHeaders\0" 107 "StringMap\0setMetadata\0data\0setThrottle\0" 108 "speed\0start\0state\0QDBusPendingReply<int>\0" 109 "throttle\0totalSize\0ClickPackage\0" 110 "DestinationApp\0ShowInIndicator\0Title" 112 #undef QT_MOC_LITERAL 114 static const uint qt_meta_data_DownloadInterface[] = {
133 11, 1, 184, 2, 0x06 ,
134 13, 1, 187, 2, 0x06 ,
135 15, 1, 190, 2, 0x06 ,
136 16, 1, 193, 2, 0x06 ,
137 18, 1, 196, 2, 0x06 ,
138 19, 2, 199, 2, 0x06 ,
139 22, 1, 204, 2, 0x06 ,
140 23, 1, 207, 2, 0x06 ,
143 24, 1, 210, 2, 0x0a ,
144 27, 0, 213, 2, 0x0a ,
145 28, 0, 214, 2, 0x0a ,
146 29, 0, 215, 2, 0x0a ,
147 31, 0, 216, 2, 0x0a ,
148 33, 0, 217, 2, 0x0a ,
149 35, 0, 218, 2, 0x0a ,
150 37, 0, 219, 2, 0x0a ,
151 19, 0, 220, 2, 0x0a ,
152 39, 0, 221, 2, 0x0a ,
153 40, 1, 222, 2, 0x0a ,
154 41, 1, 225, 2, 0x0a ,
155 43, 1, 228, 2, 0x0a ,
156 45, 1, 231, 2, 0x0a ,
157 47, 0, 234, 2, 0x0a ,
158 48, 0, 235, 2, 0x0a ,
159 50, 0, 236, 2, 0x0a ,
160 51, 0, 237, 2, 0x0a ,
163 QMetaType::Void, 0x80000000 | 3, 4,
164 QMetaType::Void, QMetaType::Bool, 6,
165 QMetaType::Void, QMetaType::QString, 4,
166 QMetaType::Void, QMetaType::QString, 8,
167 QMetaType::Void, 0x80000000 | 10, 4,
168 QMetaType::Void, 0x80000000 | 12, 4,
169 QMetaType::Void, 0x80000000 | 14, 4,
170 QMetaType::Void, QMetaType::Bool, 6,
171 QMetaType::Void, 0x80000000 | 17, 4,
172 QMetaType::Void, QMetaType::QString, 8,
173 QMetaType::Void, QMetaType::ULongLong, QMetaType::ULongLong, 20, 21,
174 QMetaType::Void, QMetaType::Bool, 6,
175 QMetaType::Void, QMetaType::Bool, 6,
178 0x80000000 | 25, QMetaType::Bool, 26,
188 0x80000000 | 25, QMetaType::QString, 8,
189 0x80000000 | 25, 0x80000000 | 42, 31,
190 0x80000000 | 25, QMetaType::QVariantMap, 44,
191 0x80000000 | 25, QMetaType::ULongLong, 46,
198 52, QMetaType::QString, 0x00095001,
199 53, QMetaType::QString, 0x00095001,
200 54, QMetaType::Bool, 0x00095001,
201 55, QMetaType::QString, 0x00095001,
206 void DownloadInterface::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
208 if (_c == QMetaObject::InvokeMetaMethod) {
209 DownloadInterface *_t =
static_cast<DownloadInterface *
>(_o);
212 case 0: _t->authError((*
reinterpret_cast< AuthErrorStruct(*)
>(_a[1])));
break;
213 case 1: _t->canceled((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
214 case 2: _t->error((*
reinterpret_cast< const QString(*)
>(_a[1])));
break;
215 case 3: _t->finished((*
reinterpret_cast< const QString(*)
>(_a[1])));
break;
216 case 4: _t->hashError((*
reinterpret_cast< HashErrorStruct(*)
>(_a[1])));
break;
217 case 5: _t->httpError((*
reinterpret_cast< HttpErrorStruct(*)
>(_a[1])));
break;
218 case 6: _t->networkError((*
reinterpret_cast< NetworkErrorStruct(*)
>(_a[1])));
break;
219 case 7: _t->paused((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
220 case 8: _t->processError((*
reinterpret_cast< ProcessErrorStruct(*)
>(_a[1])));
break;
221 case 9: _t->processing((*
reinterpret_cast< const QString(*)
>(_a[1])));
break;
222 case 10: _t->progress((*
reinterpret_cast< qulonglong(*)
>(_a[1])),(*
reinterpret_cast< qulonglong(*)
>(_a[2])));
break;
223 case 11: _t->resumed((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
224 case 12: _t->started((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
225 case 13: { QDBusPendingReply<> _r = _t->allowGSMDownload((*
reinterpret_cast< bool(*)
>(_a[1])));
226 if (_a[0]) *
reinterpret_cast< QDBusPendingReply<>*
>(_a[0]) = std::move(_r); }
break;
227 case 14: { QDBusPendingReply<> _r = _t->cancel();
228 if (_a[0]) *
reinterpret_cast< QDBusPendingReply<>*
>(_a[0]) = std::move(_r); }
break;
229 case 15: { QDBusPendingReply<> _r = _t->collected();
230 if (_a[0]) *
reinterpret_cast< QDBusPendingReply<>*
>(_a[0]) = std::move(_r); }
break;
231 case 16: { QDBusPendingReply<QString> _r = _t->filePath();
232 if (_a[0]) *
reinterpret_cast< QDBusPendingReply<QString>*
>(_a[0]) = std::move(_r); }
break;
233 case 17: { QDBusPendingReply<StringMap> _r = _t->headers();
234 if (_a[0]) *
reinterpret_cast< QDBusPendingReply<StringMap>*
>(_a[0]) = std::move(_r); }
break;
235 case 18: { QDBusPendingReply<bool> _r = _t->isGSMDownloadAllowed();
236 if (_a[0]) *
reinterpret_cast< QDBusPendingReply<bool>*
>(_a[0]) = std::move(_r); }
break;
237 case 19: { QDBusPendingReply<QVariantMap> _r = _t->metadata();
238 if (_a[0]) *
reinterpret_cast< QDBusPendingReply<QVariantMap>*
>(_a[0]) = std::move(_r); }
break;
239 case 20: { QDBusPendingReply<> _r = _t->pause();
240 if (_a[0]) *
reinterpret_cast< QDBusPendingReply<>*
>(_a[0]) = std::move(_r); }
break;
241 case 21: { QDBusPendingReply<qulonglong> _r = _t->progress();
242 if (_a[0]) *
reinterpret_cast< QDBusPendingReply<qulonglong>*
>(_a[0]) = std::move(_r); }
break;
243 case 22: { QDBusPendingReply<> _r = _t->resume();
244 if (_a[0]) *
reinterpret_cast< QDBusPendingReply<>*
>(_a[0]) = std::move(_r); }
break;
245 case 23: { QDBusPendingReply<> _r = _t->setDestinationDir((*
reinterpret_cast< const QString(*)
>(_a[1])));
246 if (_a[0]) *
reinterpret_cast< QDBusPendingReply<>*
>(_a[0]) = std::move(_r); }
break;
247 case 24: { QDBusPendingReply<> _r = _t->setHeaders((*
reinterpret_cast< StringMap(*)
>(_a[1])));
248 if (_a[0]) *
reinterpret_cast< QDBusPendingReply<>*
>(_a[0]) = std::move(_r); }
break;
249 case 25: { QDBusPendingReply<> _r = _t->setMetadata((*
reinterpret_cast< const QVariantMap(*)
>(_a[1])));
250 if (_a[0]) *
reinterpret_cast< QDBusPendingReply<>*
>(_a[0]) = std::move(_r); }
break;
251 case 26: { QDBusPendingReply<> _r = _t->setThrottle((*
reinterpret_cast< qulonglong(*)
>(_a[1])));
252 if (_a[0]) *
reinterpret_cast< QDBusPendingReply<>*
>(_a[0]) = std::move(_r); }
break;
253 case 27: { QDBusPendingReply<> _r = _t->start();
254 if (_a[0]) *
reinterpret_cast< QDBusPendingReply<>*
>(_a[0]) = std::move(_r); }
break;
255 case 28: { QDBusPendingReply<int> _r = _t->state();
256 if (_a[0]) *
reinterpret_cast< QDBusPendingReply<int>*
>(_a[0]) = std::move(_r); }
break;
257 case 29: { QDBusPendingReply<qulonglong> _r = _t->throttle();
258 if (_a[0]) *
reinterpret_cast< QDBusPendingReply<qulonglong>*
>(_a[0]) = std::move(_r); }
break;
259 case 30: { QDBusPendingReply<qulonglong> _r = _t->totalSize();
260 if (_a[0]) *
reinterpret_cast< QDBusPendingReply<qulonglong>*
>(_a[0]) = std::move(_r); }
break;
263 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
265 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
267 switch (*reinterpret_cast<int*>(_a[1])) {
268 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
270 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< AuthErrorStruct >();
break;
274 switch (*reinterpret_cast<int*>(_a[1])) {
275 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
277 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< HashErrorStruct >();
break;
281 switch (*reinterpret_cast<int*>(_a[1])) {
282 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
284 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< HttpErrorStruct >();
break;
288 switch (*reinterpret_cast<int*>(_a[1])) {
289 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
291 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< NetworkErrorStruct >();
break;
295 switch (*reinterpret_cast<int*>(_a[1])) {
296 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
298 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< ProcessErrorStruct >();
break;
302 switch (*reinterpret_cast<int*>(_a[1])) {
303 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
305 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< StringMap >();
break;
309 }
else if (_c == QMetaObject::IndexOfMethod) {
310 int *result =
reinterpret_cast<int *
>(_a[0]);
312 typedef void (DownloadInterface::*_t)(AuthErrorStruct );
313 if (*reinterpret_cast<_t *>(_a[1]) ==
static_cast<_t
>(&DownloadInterface::authError)) {
319 typedef void (DownloadInterface::*_t)(bool );
320 if (*reinterpret_cast<_t *>(_a[1]) ==
static_cast<_t
>(&DownloadInterface::canceled)) {
326 typedef void (DownloadInterface::*_t)(
const QString & );
327 if (*reinterpret_cast<_t *>(_a[1]) ==
static_cast<_t
>(&DownloadInterface::error)) {
333 typedef void (DownloadInterface::*_t)(
const QString & );
334 if (*reinterpret_cast<_t *>(_a[1]) ==
static_cast<_t
>(&DownloadInterface::finished)) {
340 typedef void (DownloadInterface::*_t)(HashErrorStruct );
341 if (*reinterpret_cast<_t *>(_a[1]) ==
static_cast<_t
>(&DownloadInterface::hashError)) {
347 typedef void (DownloadInterface::*_t)(HttpErrorStruct );
348 if (*reinterpret_cast<_t *>(_a[1]) ==
static_cast<_t
>(&DownloadInterface::httpError)) {
354 typedef void (DownloadInterface::*_t)(NetworkErrorStruct );
355 if (*reinterpret_cast<_t *>(_a[1]) ==
static_cast<_t
>(&DownloadInterface::networkError)) {
361 typedef void (DownloadInterface::*_t)(bool );
362 if (*reinterpret_cast<_t *>(_a[1]) ==
static_cast<_t
>(&DownloadInterface::paused)) {
368 typedef void (DownloadInterface::*_t)(ProcessErrorStruct );
369 if (*reinterpret_cast<_t *>(_a[1]) ==
static_cast<_t
>(&DownloadInterface::processError)) {
375 typedef void (DownloadInterface::*_t)(
const QString & );
376 if (*reinterpret_cast<_t *>(_a[1]) ==
static_cast<_t
>(&DownloadInterface::processing)) {
382 typedef void (DownloadInterface::*_t)(qulonglong , qulonglong );
383 if (*reinterpret_cast<_t *>(_a[1]) ==
static_cast<_t
>(&DownloadInterface::progress)) {
389 typedef void (DownloadInterface::*_t)(bool );
390 if (*reinterpret_cast<_t *>(_a[1]) ==
static_cast<_t
>(&DownloadInterface::resumed)) {
396 typedef void (DownloadInterface::*_t)(bool );
397 if (*reinterpret_cast<_t *>(_a[1]) ==
static_cast<_t
>(&DownloadInterface::started)) {
403 #ifndef QT_NO_PROPERTIES 404 else if (_c == QMetaObject::ReadProperty) {
405 DownloadInterface *_t =
static_cast<DownloadInterface *
>(_o);
409 case 0: *
reinterpret_cast< QString*
>(_v) = _t->clickPackage();
break;
410 case 1: *
reinterpret_cast< QString*
>(_v) = _t->destinationApp();
break;
411 case 2: *
reinterpret_cast< bool*
>(_v) = _t->showInIndicator();
break;
412 case 3: *
reinterpret_cast< QString*
>(_v) = _t->title();
break;
415 }
else if (_c == QMetaObject::WriteProperty) {
416 }
else if (_c == QMetaObject::ResetProperty) {
418 #endif // QT_NO_PROPERTIES 421 QT_INIT_METAOBJECT
const QMetaObject DownloadInterface::staticMetaObject = {
422 { &QDBusAbstractInterface::staticMetaObject, qt_meta_stringdata_DownloadInterface.
data,
423 qt_meta_data_DownloadInterface, qt_static_metacall,
nullptr,
nullptr}
427 const QMetaObject *DownloadInterface::metaObject()
const 429 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
432 void *DownloadInterface::qt_metacast(
const char *_clname)
434 if (!_clname)
return nullptr;
435 if (!strcmp(_clname, qt_meta_stringdata_DownloadInterface.
stringdata0))
436 return static_cast<void*
>(
this);
437 return QDBusAbstractInterface::qt_metacast(_clname);
440 int DownloadInterface::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
442 _id = QDBusAbstractInterface::qt_metacall(_c, _id, _a);
445 if (_c == QMetaObject::InvokeMetaMethod) {
447 qt_static_metacall(
this, _c, _id, _a);
449 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
451 qt_static_metacall(
this, _c, _id, _a);
454 #ifndef QT_NO_PROPERTIES 455 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
456 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
457 qt_static_metacall(
this, _c, _id, _a);
459 }
else if (_c == QMetaObject::QueryPropertyDesignable) {
461 }
else if (_c == QMetaObject::QueryPropertyScriptable) {
463 }
else if (_c == QMetaObject::QueryPropertyStored) {
465 }
else if (_c == QMetaObject::QueryPropertyEditable) {
467 }
else if (_c == QMetaObject::QueryPropertyUser) {
470 #endif // QT_NO_PROPERTIES 475 void DownloadInterface::authError(AuthErrorStruct _t1)
477 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
478 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
482 void DownloadInterface::canceled(
bool _t1)
484 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
485 QMetaObject::activate(
this, &staticMetaObject, 1, _a);
489 void DownloadInterface::error(
const QString & _t1)
491 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
492 QMetaObject::activate(
this, &staticMetaObject, 2, _a);
496 void DownloadInterface::finished(
const QString & _t1)
498 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
499 QMetaObject::activate(
this, &staticMetaObject, 3, _a);
503 void DownloadInterface::hashError(HashErrorStruct _t1)
505 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
506 QMetaObject::activate(
this, &staticMetaObject, 4, _a);
510 void DownloadInterface::httpError(HttpErrorStruct _t1)
512 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
513 QMetaObject::activate(
this, &staticMetaObject, 5, _a);
517 void DownloadInterface::networkError(NetworkErrorStruct _t1)
519 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
520 QMetaObject::activate(
this, &staticMetaObject, 6, _a);
524 void DownloadInterface::paused(
bool _t1)
526 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
527 QMetaObject::activate(
this, &staticMetaObject, 7, _a);
531 void DownloadInterface::processError(ProcessErrorStruct _t1)
533 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
534 QMetaObject::activate(
this, &staticMetaObject, 8, _a);
538 void DownloadInterface::processing(
const QString & _t1)
540 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
541 QMetaObject::activate(
this, &staticMetaObject, 9, _a);
545 void DownloadInterface::progress(qulonglong _t1, qulonglong _t2)
547 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
548 QMetaObject::activate(
this, &staticMetaObject, 10, _a);
552 void DownloadInterface::resumed(
bool _t1)
554 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
555 QMetaObject::activate(
this, &staticMetaObject, 11, _a);
559 void DownloadInterface::started(
bool _t1)
561 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
562 QMetaObject::activate(
this, &staticMetaObject, 12, _a);
#define QT_MOC_LITERAL(idx, ofs, len)