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