Ubuntu Download Manager  1.2.0
A session-wide downloading service
moc_download_pendingcall_watcher.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'download_pendingcall_watcher.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.10.1)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include "../../ubuntu/download_manager/download_pendingcall_watcher.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'download_pendingcall_watcher.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.)"
18 #endif
19 
20 QT_BEGIN_MOC_NAMESPACE
21 QT_WARNING_PUSH
22 QT_WARNING_DISABLE_DEPRECATED
24  QByteArrayData data[5];
25  char stringdata0[82];
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_Ubuntu__DownloadManager__DownloadPCW_t, stringdata0) + ofs \
30  - idx * sizeof(QByteArrayData)) \
31  )
32 static const qt_meta_stringdata_Ubuntu__DownloadManager__DownloadPCW_t qt_meta_stringdata_Ubuntu__DownloadManager__DownloadPCW = {
33  {
34 QT_MOC_LITERAL(0, 0, 36), // "Ubuntu::DownloadManager::Down..."
35 QT_MOC_LITERAL(1, 37, 10), // "onFinished"
36 QT_MOC_LITERAL(2, 48, 0), // ""
37 QT_MOC_LITERAL(3, 49, 24), // "QDBusPendingCallWatcher*"
38 QT_MOC_LITERAL(4, 74, 7) // "watcher"
39 
40  },
41  "Ubuntu::DownloadManager::DownloadPCW\0"
42  "onFinished\0\0QDBusPendingCallWatcher*\0"
43  "watcher"
44 };
45 #undef QT_MOC_LITERAL
46 
47 static const uint qt_meta_data_Ubuntu__DownloadManager__DownloadPCW[] = {
48 
49  // content:
50  7, // revision
51  0, // classname
52  0, 0, // classinfo
53  1, 14, // methods
54  0, 0, // properties
55  0, 0, // enums/sets
56  0, 0, // constructors
57  0, // flags
58  0, // signalCount
59 
60  // slots: name, argc, parameters, tag, flags
61  1, 1, 19, 2, 0x08 /* Private */,
62 
63  // slots: parameters
64  QMetaType::Void, 0x80000000 | 3, 4,
65 
66  0 // eod
67 };
68 
69 void Ubuntu::DownloadManager::DownloadPCW::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
70 {
71  if (_c == QMetaObject::InvokeMetaMethod) {
72  DownloadPCW *_t = static_cast<DownloadPCW *>(_o);
73  Q_UNUSED(_t)
74  switch (_id) {
75  case 0: _t->onFinished((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
76  default: ;
77  }
78  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
79  switch (_id) {
80  default: *reinterpret_cast<int*>(_a[0]) = -1; break;
81  case 0:
82  switch (*reinterpret_cast<int*>(_a[1])) {
83  default: *reinterpret_cast<int*>(_a[0]) = -1; break;
84  case 0:
85  *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusPendingCallWatcher* >(); break;
86  }
87  break;
88  }
89  }
90 }
91 
92 QT_INIT_METAOBJECT const QMetaObject Ubuntu::DownloadManager::DownloadPCW::staticMetaObject = {
93  { &PendingCallWatcher::staticMetaObject, qt_meta_stringdata_Ubuntu__DownloadManager__DownloadPCW.data,
94  qt_meta_data_Ubuntu__DownloadManager__DownloadPCW, qt_static_metacall, nullptr, nullptr}
95 };
96 
97 
98 const QMetaObject *Ubuntu::DownloadManager::DownloadPCW::metaObject() const
99 {
100  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
101 }
102 
103 void *Ubuntu::DownloadManager::DownloadPCW::qt_metacast(const char *_clname)
104 {
105  if (!_clname) return nullptr;
106  if (!strcmp(_clname, qt_meta_stringdata_Ubuntu__DownloadManager__DownloadPCW.stringdata0))
107  return static_cast<void*>(this);
108  return PendingCallWatcher::qt_metacast(_clname);
109 }
110 
111 int Ubuntu::DownloadManager::DownloadPCW::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
112 {
113  _id = PendingCallWatcher::qt_metacall(_c, _id, _a);
114  if (_id < 0)
115  return _id;
116  if (_c == QMetaObject::InvokeMetaMethod) {
117  if (_id < 1)
118  qt_static_metacall(this, _c, _id, _a);
119  _id -= 1;
120  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
121  if (_id < 1)
122  qt_static_metacall(this, _c, _id, _a);
123  _id -= 1;
124  }
125  return _id;
126 }
127 QT_WARNING_POP
128 QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)