1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'waitconditions.cpp' |
3 | ** |
4 | ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0) |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost! |
7 | *****************************************************************************/ |
8 | |
9 | #include <memory> |
10 | #include <QtCore/qbytearray.h> |
11 | #include <QtCore/qmetatype.h> |
12 | #if !defined(Q_MOC_OUTPUT_REVISION) |
13 | #error "The header file 'waitconditions.cpp' doesn't include <QObject>." |
14 | #elif Q_MOC_OUTPUT_REVISION != 68 |
15 | #error "This file was generated using the moc from 6.0.0. 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 |
23 | struct qt_meta_stringdata_Consumer_t { |
24 | const uint offsetsAndSize[8]; |
25 | char stringdata0[30]; |
26 | }; |
27 | #define QT_MOC_LITERAL(ofs, len) \ |
28 | uint(offsetof(qt_meta_stringdata_Consumer_t, stringdata0) + ofs), len |
29 | static const qt_meta_stringdata_Consumer_t qt_meta_stringdata_Consumer = { |
30 | { |
31 | QT_MOC_LITERAL(0, 8), // "Consumer" |
32 | QT_MOC_LITERAL(9, 14), // "stringConsumed" |
33 | QT_MOC_LITERAL(24, 0), // "" |
34 | QT_MOC_LITERAL(25, 4) // "text" |
35 | |
36 | }, |
37 | "Consumer\0stringConsumed\0\0text" |
38 | }; |
39 | #undef QT_MOC_LITERAL |
40 | |
41 | static const uint qt_meta_data_Consumer[] = { |
42 | |
43 | // content: |
44 | 9, // revision |
45 | 0, // classname |
46 | 0, 0, // classinfo |
47 | 1, 14, // methods |
48 | 0, 0, // properties |
49 | 0, 0, // enums/sets |
50 | 0, 0, // constructors |
51 | 0, // flags |
52 | 1, // signalCount |
53 | |
54 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
55 | 1, 1, 20, 2, 0x06, 0 /* Public */, |
56 | |
57 | // signals: parameters |
58 | QMetaType::Void, QMetaType::QString, 3, |
59 | |
60 | 0 // eod |
61 | }; |
62 | |
63 | void Consumer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
64 | { |
65 | if (_c == QMetaObject::InvokeMetaMethod) { |
66 | Q_ASSERT(staticMetaObject.cast(_o)); |
67 | auto *_t = static_cast<Consumer *>(_o); |
68 | Q_UNUSED(_t) |
69 | switch (_id) { |
70 | case 0: _t->stringConsumed((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
71 | default: ; |
72 | } |
73 | } else if (_c == QMetaObject::IndexOfMethod) { |
74 | int *result = reinterpret_cast<int *>(_a[0]); |
75 | { |
76 | using _t = void (Consumer::*)(const QString & ); |
77 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Consumer::stringConsumed)) { |
78 | *result = 0; |
79 | return; |
80 | } |
81 | } |
82 | } |
83 | } |
84 | |
85 | const QMetaObject Consumer::staticMetaObject = { { |
86 | QMetaObject::SuperData::link<QThread::staticMetaObject>(), |
87 | qt_meta_stringdata_Consumer.offsetsAndSize, |
88 | qt_meta_data_Consumer, |
89 | qt_static_metacall, |
90 | nullptr, |
91 | qt_incomplete_metaTypeArray<qt_meta_stringdata_Consumer_t |
92 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type> |
93 | |
94 | |
95 | |
96 | >, |
97 | nullptr |
98 | } }; |
99 | |
100 | |
101 | const QMetaObject *Consumer::metaObject() const |
102 | { |
103 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
104 | } |
105 | |
106 | void *Consumer::qt_metacast(const char *_clname) |
107 | { |
108 | if (!_clname) return nullptr; |
109 | if (!strcmp(_clname, qt_meta_stringdata_Consumer.stringdata0)) |
110 | return static_cast<void*>(this); |
111 | return QThread::qt_metacast(_clname); |
112 | } |
113 | |
114 | int Consumer::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
115 | { |
116 | _id = QThread::qt_metacall(_c, _id, _a); |
117 | if (_id < 0) |
118 | return _id; |
119 | if (_c == QMetaObject::InvokeMetaMethod) { |
120 | if (_id < 1) |
121 | qt_static_metacall(this, _c, _id, _a); |
122 | _id -= 1; |
123 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
124 | if (_id < 1) |
125 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
126 | _id -= 1; |
127 | } |
128 | return _id; |
129 | } |
130 | |
131 | // SIGNAL 0 |
132 | void Consumer::stringConsumed(const QString & _t1) |
133 | { |
134 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
135 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
136 | } |
137 | QT_WARNING_POP |
138 | QT_END_MOC_NAMESPACE |
139 | |