Ubuntu Download Manager  1.2.0
A session-wide downloading service
moc_pending_call_watcher.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'pending_call_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/pending_call_watcher.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'pending_call_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[3];
25  char stringdata0[62];
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__PendingCallWatcher_t, stringdata0) + ofs \
30  - idx * sizeof(QByteArrayData)) \
31  )
32 static const qt_meta_stringdata_Ubuntu__DownloadManager__PendingCallWatcher_t qt_meta_stringdata_Ubuntu__DownloadManager__PendingCallWatcher = {
33  {
34 QT_MOC_LITERAL(0, 0, 43), // "Ubuntu::DownloadManager::Pend..."
35 QT_MOC_LITERAL(1, 44, 16), // "callbackExecuted"
36 QT_MOC_LITERAL(2, 61, 0) // ""
37 
38  },
39  "Ubuntu::DownloadManager::PendingCallWatcher\0"
40  "callbackExecuted\0"
41 };
42 #undef QT_MOC_LITERAL
43 
44 static const uint qt_meta_data_Ubuntu__DownloadManager__PendingCallWatcher[] = {
45 
46  // content:
47  7, // revision
48  0, // classname
49  0, 0, // classinfo
50  1, 14, // methods
51  0, 0, // properties
52  0, 0, // enums/sets
53  0, 0, // constructors
54  0, // flags
55  1, // signalCount
56 
57  // signals: name, argc, parameters, tag, flags
58  1, 0, 19, 2, 0x06 /* Public */,
59 
60  // signals: parameters
61  QMetaType::Void,
62 
63  0 // eod
64 };
65 
66 void Ubuntu::DownloadManager::PendingCallWatcher::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
67 {
68  if (_c == QMetaObject::InvokeMetaMethod) {
69  PendingCallWatcher *_t = static_cast<PendingCallWatcher *>(_o);
70  Q_UNUSED(_t)
71  switch (_id) {
72  case 0: _t->callbackExecuted(); break;
73  default: ;
74  }
75  } else if (_c == QMetaObject::IndexOfMethod) {
76  int *result = reinterpret_cast<int *>(_a[0]);
77  {
78  typedef void (PendingCallWatcher::*_t)();
79  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PendingCallWatcher::callbackExecuted)) {
80  *result = 0;
81  return;
82  }
83  }
84  }
85  Q_UNUSED(_a);
86 }
87 
88 QT_INIT_METAOBJECT const QMetaObject Ubuntu::DownloadManager::PendingCallWatcher::staticMetaObject = {
89  { &QDBusPendingCallWatcher::staticMetaObject, qt_meta_stringdata_Ubuntu__DownloadManager__PendingCallWatcher.data,
90  qt_meta_data_Ubuntu__DownloadManager__PendingCallWatcher, qt_static_metacall, nullptr, nullptr}
91 };
92 
93 
94 const QMetaObject *Ubuntu::DownloadManager::PendingCallWatcher::metaObject() const
95 {
96  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
97 }
98 
99 void *Ubuntu::DownloadManager::PendingCallWatcher::qt_metacast(const char *_clname)
100 {
101  if (!_clname) return nullptr;
102  if (!strcmp(_clname, qt_meta_stringdata_Ubuntu__DownloadManager__PendingCallWatcher.stringdata0))
103  return static_cast<void*>(this);
104  return QDBusPendingCallWatcher::qt_metacast(_clname);
105 }
106 
107 int Ubuntu::DownloadManager::PendingCallWatcher::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
108 {
109  _id = QDBusPendingCallWatcher::qt_metacall(_c, _id, _a);
110  if (_id < 0)
111  return _id;
112  if (_c == QMetaObject::InvokeMetaMethod) {
113  if (_id < 1)
114  qt_static_metacall(this, _c, _id, _a);
115  _id -= 1;
116  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
117  if (_id < 1)
118  *reinterpret_cast<int*>(_a[0]) = -1;
119  _id -= 1;
120  }
121  return _id;
122 }
123 
124 // SIGNAL 0
125 void Ubuntu::DownloadManager::PendingCallWatcher::callbackExecuted()
126 {
127  QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
128 }
129 QT_WARNING_POP
130 QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)