forked from ckyang/DocChain
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmoc_dialog.cpp
More file actions
407 lines (369 loc) · 14.4 KB
/
moc_dialog.cpp
File metadata and controls
407 lines (369 loc) · 14.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
/****************************************************************************
** Meta object code from reading C++ file 'dialog.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.10.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "gui/dialog.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dialog.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.10.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_dialog_t {
QByteArrayData data[15];
char stringdata0[214];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_dialog_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_dialog_t qt_meta_stringdata_dialog = {
{
QT_MOC_LITERAL(0, 0, 6), // "dialog"
QT_MOC_LITERAL(1, 7, 9), // "appendLog"
QT_MOC_LITERAL(2, 17, 0), // ""
QT_MOC_LITERAL(3, 18, 3), // "log"
QT_MOC_LITERAL(4, 22, 15), // "updateRemoteDoc"
QT_MOC_LITERAL(5, 38, 7), // "command"
QT_MOC_LITERAL(6, 46, 18), // "updateLocalAddress"
QT_MOC_LITERAL(7, 65, 7), // "address"
QT_MOC_LITERAL(8, 73, 19), // "updateRemoteAddress"
QT_MOC_LITERAL(9, 93, 15), // "handleAppendLog"
QT_MOC_LITERAL(10, 109, 21), // "handleUpdateRemoteDoc"
QT_MOC_LITERAL(11, 131, 24), // "handleUpdateLocalAddress"
QT_MOC_LITERAL(12, 156, 25), // "handleUpdateRemoteAddress"
QT_MOC_LITERAL(13, 182, 11), // "modifyUIDoc"
QT_MOC_LITERAL(14, 194, 19) // "resumeOriginalColor"
},
"dialog\0appendLog\0\0log\0updateRemoteDoc\0"
"command\0updateLocalAddress\0address\0"
"updateRemoteAddress\0handleAppendLog\0"
"handleUpdateRemoteDoc\0handleUpdateLocalAddress\0"
"handleUpdateRemoteAddress\0modifyUIDoc\0"
"resumeOriginalColor"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_dialog[] = {
// content:
7, // revision
0, // classname
0, 0, // classinfo
10, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
4, // signalCount
// signals: name, argc, parameters, tag, flags
1, 1, 64, 2, 0x06 /* Public */,
4, 1, 67, 2, 0x06 /* Public */,
6, 1, 70, 2, 0x06 /* Public */,
8, 1, 73, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
9, 1, 76, 2, 0x0a /* Public */,
10, 1, 79, 2, 0x0a /* Public */,
11, 1, 82, 2, 0x0a /* Public */,
12, 1, 85, 2, 0x0a /* Public */,
13, 0, 88, 2, 0x08 /* Private */,
14, 0, 89, 2, 0x08 /* Private */,
// signals: parameters
QMetaType::Void, QMetaType::QString, 3,
QMetaType::Void, QMetaType::QString, 5,
QMetaType::Void, QMetaType::QString, 7,
QMetaType::Void, QMetaType::QString, 7,
// slots: parameters
QMetaType::Void, QMetaType::QString, 3,
QMetaType::Void, QMetaType::QString, 5,
QMetaType::Void, QMetaType::QString, 7,
QMetaType::Void, QMetaType::QString, 7,
QMetaType::Void,
QMetaType::Void,
0 // eod
};
void dialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
dialog *_t = static_cast<dialog *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->appendLog((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 1: _t->updateRemoteDoc((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 2: _t->updateLocalAddress((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 3: _t->updateRemoteAddress((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 4: _t->handleAppendLog((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 5: _t->handleUpdateRemoteDoc((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 6: _t->handleUpdateLocalAddress((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 7: _t->handleUpdateRemoteAddress((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 8: _t->modifyUIDoc(); break;
case 9: _t->resumeOriginalColor(); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
{
typedef void (dialog::*_t)(const QString & );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&dialog::appendLog)) {
*result = 0;
return;
}
}
{
typedef void (dialog::*_t)(const QString & );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&dialog::updateRemoteDoc)) {
*result = 1;
return;
}
}
{
typedef void (dialog::*_t)(const QString & );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&dialog::updateLocalAddress)) {
*result = 2;
return;
}
}
{
typedef void (dialog::*_t)(const QString & );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&dialog::updateRemoteAddress)) {
*result = 3;
return;
}
}
}
}
const QMetaObject dialog::staticMetaObject = {
{ &QDialog::staticMetaObject, qt_meta_stringdata_dialog.data,
qt_meta_data_dialog, qt_static_metacall, nullptr, nullptr}
};
const QMetaObject *dialog::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *dialog::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_dialog.stringdata0))
return static_cast<void*>(this);
return QDialog::qt_metacast(_clname);
}
int dialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QDialog::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 10)
qt_static_metacall(this, _c, _id, _a);
_id -= 10;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 10)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 10;
}
return _id;
}
// SIGNAL 0
void dialog::appendLog(const QString & _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
// SIGNAL 1
void dialog::updateRemoteDoc(const QString & _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
// SIGNAL 2
void dialog::updateLocalAddress(const QString & _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
// SIGNAL 3
void dialog::updateRemoteAddress(const QString & _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
struct qt_meta_stringdata_dialog_controller_t {
QByteArrayData data[13];
char stringdata0[241];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_dialog_controller_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_dialog_controller_t qt_meta_stringdata_dialog_controller = {
{
QT_MOC_LITERAL(0, 0, 17), // "dialog_controller"
QT_MOC_LITERAL(1, 18, 20), // "resultReadyAppendLog"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 3), // "log"
QT_MOC_LITERAL(4, 44, 26), // "resultReadyUpdateRemoteDoc"
QT_MOC_LITERAL(5, 71, 7), // "command"
QT_MOC_LITERAL(6, 79, 29), // "resultReadyUpdateLocalAddress"
QT_MOC_LITERAL(7, 109, 7), // "address"
QT_MOC_LITERAL(8, 117, 30), // "resultReadyUpdateRemoteAddress"
QT_MOC_LITERAL(9, 148, 16), // "operateAppendLog"
QT_MOC_LITERAL(10, 165, 22), // "operateUpdateRemoteDoc"
QT_MOC_LITERAL(11, 188, 25), // "operateUpdateLocalAddress"
QT_MOC_LITERAL(12, 214, 26) // "operateUpdateRemoteAddress"
},
"dialog_controller\0resultReadyAppendLog\0"
"\0log\0resultReadyUpdateRemoteDoc\0command\0"
"resultReadyUpdateLocalAddress\0address\0"
"resultReadyUpdateRemoteAddress\0"
"operateAppendLog\0operateUpdateRemoteDoc\0"
"operateUpdateLocalAddress\0"
"operateUpdateRemoteAddress"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_dialog_controller[] = {
// content:
7, // revision
0, // classname
0, 0, // classinfo
8, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
4, // signalCount
// signals: name, argc, parameters, tag, flags
1, 1, 54, 2, 0x06 /* Public */,
4, 1, 57, 2, 0x06 /* Public */,
6, 1, 60, 2, 0x06 /* Public */,
8, 1, 63, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
9, 1, 66, 2, 0x0a /* Public */,
10, 1, 69, 2, 0x0a /* Public */,
11, 1, 72, 2, 0x0a /* Public */,
12, 1, 75, 2, 0x0a /* Public */,
// signals: parameters
QMetaType::Void, QMetaType::QString, 3,
QMetaType::Void, QMetaType::QString, 5,
QMetaType::Void, QMetaType::QString, 7,
QMetaType::Void, QMetaType::QString, 7,
// slots: parameters
QMetaType::Void, QMetaType::QString, 3,
QMetaType::Void, QMetaType::QString, 5,
QMetaType::Void, QMetaType::QString, 7,
QMetaType::Void, QMetaType::QString, 7,
0 // eod
};
void dialog_controller::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
dialog_controller *_t = static_cast<dialog_controller *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->resultReadyAppendLog((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 1: _t->resultReadyUpdateRemoteDoc((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 2: _t->resultReadyUpdateLocalAddress((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 3: _t->resultReadyUpdateRemoteAddress((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 4: _t->operateAppendLog((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 5: _t->operateUpdateRemoteDoc((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 6: _t->operateUpdateLocalAddress((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 7: _t->operateUpdateRemoteAddress((*reinterpret_cast< const QString(*)>(_a[1]))); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
{
typedef void (dialog_controller::*_t)(const QString & );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&dialog_controller::resultReadyAppendLog)) {
*result = 0;
return;
}
}
{
typedef void (dialog_controller::*_t)(const QString & );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&dialog_controller::resultReadyUpdateRemoteDoc)) {
*result = 1;
return;
}
}
{
typedef void (dialog_controller::*_t)(const QString & );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&dialog_controller::resultReadyUpdateLocalAddress)) {
*result = 2;
return;
}
}
{
typedef void (dialog_controller::*_t)(const QString & );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&dialog_controller::resultReadyUpdateRemoteAddress)) {
*result = 3;
return;
}
}
}
}
const QMetaObject dialog_controller::staticMetaObject = {
{ &QObject::staticMetaObject, qt_meta_stringdata_dialog_controller.data,
qt_meta_data_dialog_controller, qt_static_metacall, nullptr, nullptr}
};
const QMetaObject *dialog_controller::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *dialog_controller::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_dialog_controller.stringdata0))
return static_cast<void*>(this);
return QObject::qt_metacast(_clname);
}
int dialog_controller::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QObject::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 8)
qt_static_metacall(this, _c, _id, _a);
_id -= 8;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 8)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 8;
}
return _id;
}
// SIGNAL 0
void dialog_controller::resultReadyAppendLog(const QString & _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
// SIGNAL 1
void dialog_controller::resultReadyUpdateRemoteDoc(const QString & _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
// SIGNAL 2
void dialog_controller::resultReadyUpdateLocalAddress(const QString & _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
// SIGNAL 3
void dialog_controller::resultReadyUpdateRemoteAddress(const QString & _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE