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

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