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