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