/work/qtbase/src/dbus/.moc/moc_qdbuspendingcall.cpp
Line | Count | Source (jump to first uncovered line) |
1 | | /**************************************************************************** |
2 | | ** Meta object code from reading C++ file 'qdbuspendingcall.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 "../../../../../src/qt/qtbase/src/dbus/qdbuspendingcall.h" |
11 | | #include <QtCore/qbytearray.h> |
12 | | #include <QtCore/qmetatype.h> |
13 | | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | | #error "The header file 'qdbuspendingcall.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_QDBusPendingCallWatcher_t { |
25 | | QByteArrayData data[6]; |
26 | | char stringdata0[76]; |
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_QDBusPendingCallWatcher_t, stringdata0) + ofs \ |
31 | | - idx * sizeof(QByteArrayData)) \ |
32 | | ) |
33 | | static const qt_meta_stringdata_QDBusPendingCallWatcher_t qt_meta_stringdata_QDBusPendingCallWatcher = { |
34 | | { |
35 | | QT_MOC_LITERAL(0, 0, 23), // "QDBusPendingCallWatcher" |
36 | | QT_MOC_LITERAL(1, 24, 8), // "finished" |
37 | | QT_MOC_LITERAL(2, 33, 0), // "" |
38 | | QT_MOC_LITERAL(3, 34, 24), // "QDBusPendingCallWatcher*" |
39 | | QT_MOC_LITERAL(4, 59, 4), // "self" |
40 | | QT_MOC_LITERAL(5, 64, 11) // "_q_finished" |
41 | | |
42 | | }, |
43 | | "QDBusPendingCallWatcher\0finished\0\0" |
44 | | "QDBusPendingCallWatcher*\0self\0_q_finished" |
45 | | }; |
46 | | #undef QT_MOC_LITERAL |
47 | | |
48 | | static const uint qt_meta_data_QDBusPendingCallWatcher[] = { |
49 | | |
50 | | // content: |
51 | | 8, // revision |
52 | | 0, // classname |
53 | | 0, 0, // classinfo |
54 | | 3, 14, // methods |
55 | | 0, 0, // properties |
56 | | 0, 0, // enums/sets |
57 | | 0, 0, // constructors |
58 | | 0, // flags |
59 | | 2, // signalCount |
60 | | |
61 | | // signals: name, argc, parameters, tag, flags |
62 | | 1, 1, 29, 2, 0x06 /* Public */, |
63 | | 1, 0, 32, 2, 0x26 /* Public | MethodCloned */, |
64 | | |
65 | | // slots: name, argc, parameters, tag, flags |
66 | | 5, 0, 33, 2, 0x08 /* Private */, |
67 | | |
68 | | // signals: parameters |
69 | | QMetaType::Void, 0x80000000 | 3, 4, |
70 | | QMetaType::Void, |
71 | | |
72 | | // slots: parameters |
73 | | QMetaType::Void, |
74 | | |
75 | | 0 // eod |
76 | | }; |
77 | | |
78 | | void QDBusPendingCallWatcher::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
79 | 0 | { |
80 | 0 | if (_c == QMetaObject::InvokeMetaMethod) { |
81 | 0 | auto *_t = static_cast<QDBusPendingCallWatcher *>(_o); |
82 | 0 | Q_UNUSED(_t) |
83 | 0 | switch (_id) { |
84 | 0 | case 0: _t->finished((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break; |
85 | 0 | case 1: _t->finished(); break; |
86 | 0 | case 2: _t->d_func()->_q_finished(); break; |
87 | 0 | default: ; |
88 | 0 | } |
89 | 0 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
90 | 0 | switch (_id) { |
91 | 0 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; |
92 | 0 | case 0: |
93 | 0 | switch (*reinterpret_cast<int*>(_a[1])) { |
94 | 0 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; |
95 | 0 | case 0: |
96 | 0 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusPendingCallWatcher* >(); break; |
97 | 0 | } |
98 | 0 | break; |
99 | 0 | } |
100 | 0 | } else if (_c == QMetaObject::IndexOfMethod) { |
101 | 0 | int *result = reinterpret_cast<int *>(_a[0]); |
102 | 0 | { |
103 | 0 | using _t = void (QDBusPendingCallWatcher::*)(QDBusPendingCallWatcher * ); |
104 | 0 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusPendingCallWatcher::finished)) { |
105 | 0 | *result = 0; |
106 | 0 | return; |
107 | 0 | } |
108 | 0 | } |
109 | 0 | } |
110 | 0 | } |
111 | | |
112 | | QT_INIT_METAOBJECT const QMetaObject QDBusPendingCallWatcher::staticMetaObject = { { |
113 | | QMetaObject::SuperData::link<QObject::staticMetaObject>(), |
114 | | qt_meta_stringdata_QDBusPendingCallWatcher.data, |
115 | | qt_meta_data_QDBusPendingCallWatcher, |
116 | | qt_static_metacall, |
117 | | nullptr, |
118 | | nullptr |
119 | | } }; |
120 | | |
121 | | |
122 | | const QMetaObject *QDBusPendingCallWatcher::metaObject() const |
123 | 0 | { |
124 | 0 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
125 | 0 | } |
126 | | |
127 | | void *QDBusPendingCallWatcher::qt_metacast(const char *_clname) |
128 | 0 | { |
129 | 0 | if (!_clname) return nullptr; |
130 | 0 | if (!strcmp(_clname, qt_meta_stringdata_QDBusPendingCallWatcher.stringdata0)) |
131 | 0 | return static_cast<void*>(this); |
132 | 0 | if (!strcmp(_clname, "QDBusPendingCall")) |
133 | 0 | return static_cast< QDBusPendingCall*>(this); |
134 | 0 | return QObject::qt_metacast(_clname); |
135 | 0 | } |
136 | | |
137 | | int QDBusPendingCallWatcher::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
138 | 0 | { |
139 | 0 | _id = QObject::qt_metacall(_c, _id, _a); |
140 | 0 | if (_id < 0) |
141 | 0 | return _id; |
142 | 0 | if (_c == QMetaObject::InvokeMetaMethod) { |
143 | 0 | if (_id < 3) |
144 | 0 | qt_static_metacall(this, _c, _id, _a); |
145 | 0 | _id -= 3; |
146 | 0 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
147 | 0 | if (_id < 3) |
148 | 0 | qt_static_metacall(this, _c, _id, _a); |
149 | 0 | _id -= 3; |
150 | 0 | } |
151 | 0 | return _id; |
152 | 0 | } |
153 | | |
154 | | // SIGNAL 0 |
155 | | void QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher * _t1) |
156 | 0 | { |
157 | 0 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
158 | 0 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
159 | 0 | } |
160 | | QT_WARNING_POP |
161 | | QT_END_MOC_NAMESPACE |