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