1/****************************************************************************
2** Meta object code from reading C++ file 'connectionwidget.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 "connectionwidget.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'connectionwidget.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_ConnectionWidget_t {
25 const uint offsetsAndSize[30];
26 char stringdata0[183];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_ConnectionWidget_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_ConnectionWidget_t qt_meta_stringdata_ConnectionWidget = {
31 {
32QT_MOC_LITERAL(0, 16), // "ConnectionWidget"
33QT_MOC_LITERAL(17, 14), // "tableActivated"
34QT_MOC_LITERAL(32, 0), // ""
35QT_MOC_LITERAL(33, 5), // "table"
36QT_MOC_LITERAL(39, 17), // "metaDataRequested"
37QT_MOC_LITERAL(57, 9), // "tableName"
38QT_MOC_LITERAL(67, 7), // "refresh"
39QT_MOC_LITERAL(75, 12), // "showMetaData"
40QT_MOC_LITERAL(88, 21), // "on_tree_itemActivated"
41QT_MOC_LITERAL(110, 16), // "QTreeWidgetItem*"
42QT_MOC_LITERAL(127, 4), // "item"
43QT_MOC_LITERAL(132, 6), // "column"
44QT_MOC_LITERAL(139, 26), // "on_tree_currentItemChanged"
45QT_MOC_LITERAL(166, 7), // "current"
46QT_MOC_LITERAL(174, 8) // "previous"
47
48 },
49 "ConnectionWidget\0tableActivated\0\0table\0"
50 "metaDataRequested\0tableName\0refresh\0"
51 "showMetaData\0on_tree_itemActivated\0"
52 "QTreeWidgetItem*\0item\0column\0"
53 "on_tree_currentItemChanged\0current\0"
54 "previous"
55};
56#undef QT_MOC_LITERAL
57
58static const uint qt_meta_data_ConnectionWidget[] = {
59
60 // content:
61 9, // revision
62 0, // classname
63 0, 0, // classinfo
64 6, 14, // methods
65 0, 0, // properties
66 0, 0, // enums/sets
67 0, 0, // constructors
68 0, // flags
69 2, // signalCount
70
71 // signals: name, argc, parameters, tag, flags, initial metatype offsets
72 1, 1, 50, 2, 0x06, 0 /* Public */,
73 4, 1, 53, 2, 0x06, 2 /* Public */,
74
75 // slots: name, argc, parameters, tag, flags, initial metatype offsets
76 6, 0, 56, 2, 0x0a, 4 /* Public */,
77 7, 0, 57, 2, 0x0a, 5 /* Public */,
78 8, 2, 58, 2, 0x0a, 6 /* Public */,
79 12, 2, 63, 2, 0x0a, 9 /* Public */,
80
81 // signals: parameters
82 QMetaType::Void, QMetaType::QString, 3,
83 QMetaType::Void, QMetaType::QString, 5,
84
85 // slots: parameters
86 QMetaType::Void,
87 QMetaType::Void,
88 QMetaType::Void, 0x80000000 | 9, QMetaType::Int, 10, 11,
89 QMetaType::Void, 0x80000000 | 9, 0x80000000 | 9, 13, 14,
90
91 0 // eod
92};
93
94void ConnectionWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
95{
96 if (_c == QMetaObject::InvokeMetaMethod) {
97 Q_ASSERT(staticMetaObject.cast(_o));
98 auto *_t = static_cast<ConnectionWidget *>(_o);
99 Q_UNUSED(_t)
100 switch (_id) {
101 case 0: _t->tableActivated((*reinterpret_cast< const QString(*)>(_a[1]))); break;
102 case 1: _t->metaDataRequested((*reinterpret_cast< const QString(*)>(_a[1]))); break;
103 case 2: _t->refresh(); break;
104 case 3: _t->showMetaData(); break;
105 case 4: _t->on_tree_itemActivated((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
106 case 5: _t->on_tree_currentItemChanged((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< QTreeWidgetItem*(*)>(_a[2]))); break;
107 default: ;
108 }
109 } else if (_c == QMetaObject::IndexOfMethod) {
110 int *result = reinterpret_cast<int *>(_a[0]);
111 {
112 using _t = void (ConnectionWidget::*)(const QString & );
113 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConnectionWidget::tableActivated)) {
114 *result = 0;
115 return;
116 }
117 }
118 {
119 using _t = void (ConnectionWidget::*)(const QString & );
120 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConnectionWidget::metaDataRequested)) {
121 *result = 1;
122 return;
123 }
124 }
125 }
126}
127
128const QMetaObject ConnectionWidget::staticMetaObject = { {
129 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
130 qt_meta_stringdata_ConnectionWidget.offsetsAndSize,
131 qt_meta_data_ConnectionWidget,
132 qt_static_metacall,
133 nullptr,
134qt_incomplete_metaTypeArray<qt_meta_stringdata_ConnectionWidget_t
135, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
136, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QTreeWidgetItem *, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QTreeWidgetItem *, std::false_type>, QtPrivate::TypeAndForceComplete<QTreeWidgetItem *, std::false_type>
137
138
139>,
140 nullptr
141} };
142
143
144const QMetaObject *ConnectionWidget::metaObject() const
145{
146 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
147}
148
149void *ConnectionWidget::qt_metacast(const char *_clname)
150{
151 if (!_clname) return nullptr;
152 if (!strcmp(_clname, qt_meta_stringdata_ConnectionWidget.stringdata0))
153 return static_cast<void*>(this);
154 return QWidget::qt_metacast(_clname);
155}
156
157int ConnectionWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
158{
159 _id = QWidget::qt_metacall(_c, _id, _a);
160 if (_id < 0)
161 return _id;
162 if (_c == QMetaObject::InvokeMetaMethod) {
163 if (_id < 6)
164 qt_static_metacall(this, _c, _id, _a);
165 _id -= 6;
166 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
167 if (_id < 6)
168 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
169 _id -= 6;
170 }
171 return _id;
172}
173
174// SIGNAL 0
175void ConnectionWidget::tableActivated(const QString & _t1)
176{
177 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
178 QMetaObject::activate(this, &staticMetaObject, 0, _a);
179}
180
181// SIGNAL 1
182void ConnectionWidget::metaDataRequested(const QString & _t1)
183{
184 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
185 QMetaObject::activate(this, &staticMetaObject, 1, _a);
186}
187QT_WARNING_POP
188QT_END_MOC_NAMESPACE
189