1 | /**************************************************************************** |
---|
2 | ** Meta object code from reading C++ file 'formfieldwidgets.h' |
---|
3 | ** |
---|
4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.1) |
---|
5 | ** |
---|
6 | ** WARNING! All changes made in this file will be lost! |
---|
7 | *****************************************************************************/ |
---|
8 | |
---|
9 | #include "../sources/formfieldwidgets.h" |
---|
10 | #include <QtCore/qbytearray.h> |
---|
11 | #include <QtCore/qmetatype.h> |
---|
12 | #if !defined(Q_MOC_OUTPUT_REVISION) |
---|
13 | #error "The header file 'formfieldwidgets.h' doesn't include <QObject>." |
---|
14 | #elif Q_MOC_OUTPUT_REVISION != 67 |
---|
15 | #error "This file was generated using the moc from 5.7.1. 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 | struct qt_meta_stringdata_qpdfview__NormalTextFieldWidget_t { |
---|
22 | QByteArrayData data[5]; |
---|
23 | char stringdata0[65]; |
---|
24 | }; |
---|
25 | #define QT_MOC_LITERAL(idx, ofs, len) \ |
---|
26 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ |
---|
27 | qptrdiff(offsetof(qt_meta_stringdata_qpdfview__NormalTextFieldWidget_t, stringdata0) + ofs \ |
---|
28 | - idx * sizeof(QByteArrayData)) \ |
---|
29 | ) |
---|
30 | static const qt_meta_stringdata_qpdfview__NormalTextFieldWidget_t qt_meta_stringdata_qpdfview__NormalTextFieldWidget = { |
---|
31 | { |
---|
32 | QT_MOC_LITERAL(0, 0, 31), // "qpdfview::NormalTextFieldWidget" |
---|
33 | QT_MOC_LITERAL(1, 32, 11), // "wasModified" |
---|
34 | QT_MOC_LITERAL(2, 44, 0), // "" |
---|
35 | QT_MOC_LITERAL(3, 45, 14), // "on_textChanged" |
---|
36 | QT_MOC_LITERAL(4, 60, 4) // "text" |
---|
37 | |
---|
38 | }, |
---|
39 | "qpdfview::NormalTextFieldWidget\0" |
---|
40 | "wasModified\0\0on_textChanged\0text" |
---|
41 | }; |
---|
42 | #undef QT_MOC_LITERAL |
---|
43 | |
---|
44 | static const uint qt_meta_data_qpdfview__NormalTextFieldWidget[] = { |
---|
45 | |
---|
46 | // content: |
---|
47 | 7, // revision |
---|
48 | 0, // classname |
---|
49 | 0, 0, // classinfo |
---|
50 | 2, 14, // methods |
---|
51 | 0, 0, // properties |
---|
52 | 0, 0, // enums/sets |
---|
53 | 0, 0, // constructors |
---|
54 | 0, // flags |
---|
55 | 1, // signalCount |
---|
56 | |
---|
57 | // signals: name, argc, parameters, tag, flags |
---|
58 | 1, 0, 24, 2, 0x06 /* Public */, |
---|
59 | |
---|
60 | // slots: name, argc, parameters, tag, flags |
---|
61 | 3, 1, 25, 2, 0x09 /* Protected */, |
---|
62 | |
---|
63 | // signals: parameters |
---|
64 | QMetaType::Void, |
---|
65 | |
---|
66 | // slots: parameters |
---|
67 | QMetaType::Void, QMetaType::QString, 4, |
---|
68 | |
---|
69 | 0 // eod |
---|
70 | }; |
---|
71 | |
---|
72 | void qpdfview::NormalTextFieldWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
---|
73 | { |
---|
74 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
75 | NormalTextFieldWidget *_t = static_cast<NormalTextFieldWidget *>(_o); |
---|
76 | Q_UNUSED(_t) |
---|
77 | switch (_id) { |
---|
78 | case 0: _t->wasModified(); break; |
---|
79 | case 1: _t->on_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
---|
80 | default: ; |
---|
81 | } |
---|
82 | } else if (_c == QMetaObject::IndexOfMethod) { |
---|
83 | int *result = reinterpret_cast<int *>(_a[0]); |
---|
84 | void **func = reinterpret_cast<void **>(_a[1]); |
---|
85 | { |
---|
86 | typedef void (NormalTextFieldWidget::*_t)(); |
---|
87 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&NormalTextFieldWidget::wasModified)) { |
---|
88 | *result = 0; |
---|
89 | return; |
---|
90 | } |
---|
91 | } |
---|
92 | } |
---|
93 | } |
---|
94 | |
---|
95 | const QMetaObject qpdfview::NormalTextFieldWidget::staticMetaObject = { |
---|
96 | { &QLineEdit::staticMetaObject, qt_meta_stringdata_qpdfview__NormalTextFieldWidget.data, |
---|
97 | qt_meta_data_qpdfview__NormalTextFieldWidget, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} |
---|
98 | }; |
---|
99 | |
---|
100 | |
---|
101 | const QMetaObject *qpdfview::NormalTextFieldWidget::metaObject() const |
---|
102 | { |
---|
103 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
---|
104 | } |
---|
105 | |
---|
106 | void *qpdfview::NormalTextFieldWidget::qt_metacast(const char *_clname) |
---|
107 | { |
---|
108 | if (!_clname) return Q_NULLPTR; |
---|
109 | if (!strcmp(_clname, qt_meta_stringdata_qpdfview__NormalTextFieldWidget.stringdata0)) |
---|
110 | return static_cast<void*>(const_cast< NormalTextFieldWidget*>(this)); |
---|
111 | return QLineEdit::qt_metacast(_clname); |
---|
112 | } |
---|
113 | |
---|
114 | int qpdfview::NormalTextFieldWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
---|
115 | { |
---|
116 | _id = QLineEdit::qt_metacall(_c, _id, _a); |
---|
117 | if (_id < 0) |
---|
118 | return _id; |
---|
119 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
120 | if (_id < 2) |
---|
121 | qt_static_metacall(this, _c, _id, _a); |
---|
122 | _id -= 2; |
---|
123 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
---|
124 | if (_id < 2) |
---|
125 | *reinterpret_cast<int*>(_a[0]) = -1; |
---|
126 | _id -= 2; |
---|
127 | } |
---|
128 | return _id; |
---|
129 | } |
---|
130 | |
---|
131 | // SIGNAL 0 |
---|
132 | void qpdfview::NormalTextFieldWidget::wasModified() |
---|
133 | { |
---|
134 | QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR); |
---|
135 | } |
---|
136 | struct qt_meta_stringdata_qpdfview__MultilineTextFieldWidget_t { |
---|
137 | QByteArrayData data[4]; |
---|
138 | char stringdata0[63]; |
---|
139 | }; |
---|
140 | #define QT_MOC_LITERAL(idx, ofs, len) \ |
---|
141 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ |
---|
142 | qptrdiff(offsetof(qt_meta_stringdata_qpdfview__MultilineTextFieldWidget_t, stringdata0) + ofs \ |
---|
143 | - idx * sizeof(QByteArrayData)) \ |
---|
144 | ) |
---|
145 | static const qt_meta_stringdata_qpdfview__MultilineTextFieldWidget_t qt_meta_stringdata_qpdfview__MultilineTextFieldWidget = { |
---|
146 | { |
---|
147 | QT_MOC_LITERAL(0, 0, 34), // "qpdfview::MultilineTextFieldW..." |
---|
148 | QT_MOC_LITERAL(1, 35, 11), // "wasModified" |
---|
149 | QT_MOC_LITERAL(2, 47, 0), // "" |
---|
150 | QT_MOC_LITERAL(3, 48, 14) // "on_textChanged" |
---|
151 | |
---|
152 | }, |
---|
153 | "qpdfview::MultilineTextFieldWidget\0" |
---|
154 | "wasModified\0\0on_textChanged" |
---|
155 | }; |
---|
156 | #undef QT_MOC_LITERAL |
---|
157 | |
---|
158 | static const uint qt_meta_data_qpdfview__MultilineTextFieldWidget[] = { |
---|
159 | |
---|
160 | // content: |
---|
161 | 7, // revision |
---|
162 | 0, // classname |
---|
163 | 0, 0, // classinfo |
---|
164 | 2, 14, // methods |
---|
165 | 0, 0, // properties |
---|
166 | 0, 0, // enums/sets |
---|
167 | 0, 0, // constructors |
---|
168 | 0, // flags |
---|
169 | 1, // signalCount |
---|
170 | |
---|
171 | // signals: name, argc, parameters, tag, flags |
---|
172 | 1, 0, 24, 2, 0x06 /* Public */, |
---|
173 | |
---|
174 | // slots: name, argc, parameters, tag, flags |
---|
175 | 3, 0, 25, 2, 0x09 /* Protected */, |
---|
176 | |
---|
177 | // signals: parameters |
---|
178 | QMetaType::Void, |
---|
179 | |
---|
180 | // slots: parameters |
---|
181 | QMetaType::Void, |
---|
182 | |
---|
183 | 0 // eod |
---|
184 | }; |
---|
185 | |
---|
186 | void qpdfview::MultilineTextFieldWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
---|
187 | { |
---|
188 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
189 | MultilineTextFieldWidget *_t = static_cast<MultilineTextFieldWidget *>(_o); |
---|
190 | Q_UNUSED(_t) |
---|
191 | switch (_id) { |
---|
192 | case 0: _t->wasModified(); break; |
---|
193 | case 1: _t->on_textChanged(); break; |
---|
194 | default: ; |
---|
195 | } |
---|
196 | } else if (_c == QMetaObject::IndexOfMethod) { |
---|
197 | int *result = reinterpret_cast<int *>(_a[0]); |
---|
198 | void **func = reinterpret_cast<void **>(_a[1]); |
---|
199 | { |
---|
200 | typedef void (MultilineTextFieldWidget::*_t)(); |
---|
201 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MultilineTextFieldWidget::wasModified)) { |
---|
202 | *result = 0; |
---|
203 | return; |
---|
204 | } |
---|
205 | } |
---|
206 | } |
---|
207 | Q_UNUSED(_a); |
---|
208 | } |
---|
209 | |
---|
210 | const QMetaObject qpdfview::MultilineTextFieldWidget::staticMetaObject = { |
---|
211 | { &QPlainTextEdit::staticMetaObject, qt_meta_stringdata_qpdfview__MultilineTextFieldWidget.data, |
---|
212 | qt_meta_data_qpdfview__MultilineTextFieldWidget, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} |
---|
213 | }; |
---|
214 | |
---|
215 | |
---|
216 | const QMetaObject *qpdfview::MultilineTextFieldWidget::metaObject() const |
---|
217 | { |
---|
218 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
---|
219 | } |
---|
220 | |
---|
221 | void *qpdfview::MultilineTextFieldWidget::qt_metacast(const char *_clname) |
---|
222 | { |
---|
223 | if (!_clname) return Q_NULLPTR; |
---|
224 | if (!strcmp(_clname, qt_meta_stringdata_qpdfview__MultilineTextFieldWidget.stringdata0)) |
---|
225 | return static_cast<void*>(const_cast< MultilineTextFieldWidget*>(this)); |
---|
226 | return QPlainTextEdit::qt_metacast(_clname); |
---|
227 | } |
---|
228 | |
---|
229 | int qpdfview::MultilineTextFieldWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
---|
230 | { |
---|
231 | _id = QPlainTextEdit::qt_metacall(_c, _id, _a); |
---|
232 | if (_id < 0) |
---|
233 | return _id; |
---|
234 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
235 | if (_id < 2) |
---|
236 | qt_static_metacall(this, _c, _id, _a); |
---|
237 | _id -= 2; |
---|
238 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
---|
239 | if (_id < 2) |
---|
240 | *reinterpret_cast<int*>(_a[0]) = -1; |
---|
241 | _id -= 2; |
---|
242 | } |
---|
243 | return _id; |
---|
244 | } |
---|
245 | |
---|
246 | // SIGNAL 0 |
---|
247 | void qpdfview::MultilineTextFieldWidget::wasModified() |
---|
248 | { |
---|
249 | QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR); |
---|
250 | } |
---|
251 | struct qt_meta_stringdata_qpdfview__ComboBoxChoiceFieldWidget_t { |
---|
252 | QByteArrayData data[7]; |
---|
253 | char stringdata0[105]; |
---|
254 | }; |
---|
255 | #define QT_MOC_LITERAL(idx, ofs, len) \ |
---|
256 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ |
---|
257 | qptrdiff(offsetof(qt_meta_stringdata_qpdfview__ComboBoxChoiceFieldWidget_t, stringdata0) + ofs \ |
---|
258 | - idx * sizeof(QByteArrayData)) \ |
---|
259 | ) |
---|
260 | static const qt_meta_stringdata_qpdfview__ComboBoxChoiceFieldWidget_t qt_meta_stringdata_qpdfview__ComboBoxChoiceFieldWidget = { |
---|
261 | { |
---|
262 | QT_MOC_LITERAL(0, 0, 35), // "qpdfview::ComboBoxChoiceField..." |
---|
263 | QT_MOC_LITERAL(1, 36, 11), // "wasModified" |
---|
264 | QT_MOC_LITERAL(2, 48, 0), // "" |
---|
265 | QT_MOC_LITERAL(3, 49, 22), // "on_currentIndexChanged" |
---|
266 | QT_MOC_LITERAL(4, 72, 5), // "index" |
---|
267 | QT_MOC_LITERAL(5, 78, 21), // "on_currentTextChanged" |
---|
268 | QT_MOC_LITERAL(6, 100, 4) // "text" |
---|
269 | |
---|
270 | }, |
---|
271 | "qpdfview::ComboBoxChoiceFieldWidget\0" |
---|
272 | "wasModified\0\0on_currentIndexChanged\0" |
---|
273 | "index\0on_currentTextChanged\0text" |
---|
274 | }; |
---|
275 | #undef QT_MOC_LITERAL |
---|
276 | |
---|
277 | static const uint qt_meta_data_qpdfview__ComboBoxChoiceFieldWidget[] = { |
---|
278 | |
---|
279 | // content: |
---|
280 | 7, // revision |
---|
281 | 0, // classname |
---|
282 | 0, 0, // classinfo |
---|
283 | 3, 14, // methods |
---|
284 | 0, 0, // properties |
---|
285 | 0, 0, // enums/sets |
---|
286 | 0, 0, // constructors |
---|
287 | 0, // flags |
---|
288 | 1, // signalCount |
---|
289 | |
---|
290 | // signals: name, argc, parameters, tag, flags |
---|
291 | 1, 0, 29, 2, 0x06 /* Public */, |
---|
292 | |
---|
293 | // slots: name, argc, parameters, tag, flags |
---|
294 | 3, 1, 30, 2, 0x09 /* Protected */, |
---|
295 | 5, 1, 33, 2, 0x09 /* Protected */, |
---|
296 | |
---|
297 | // signals: parameters |
---|
298 | QMetaType::Void, |
---|
299 | |
---|
300 | // slots: parameters |
---|
301 | QMetaType::Void, QMetaType::Int, 4, |
---|
302 | QMetaType::Void, QMetaType::QString, 6, |
---|
303 | |
---|
304 | 0 // eod |
---|
305 | }; |
---|
306 | |
---|
307 | void qpdfview::ComboBoxChoiceFieldWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
---|
308 | { |
---|
309 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
310 | ComboBoxChoiceFieldWidget *_t = static_cast<ComboBoxChoiceFieldWidget *>(_o); |
---|
311 | Q_UNUSED(_t) |
---|
312 | switch (_id) { |
---|
313 | case 0: _t->wasModified(); break; |
---|
314 | case 1: _t->on_currentIndexChanged((*reinterpret_cast< int(*)>(_a[1]))); break; |
---|
315 | case 2: _t->on_currentTextChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
---|
316 | default: ; |
---|
317 | } |
---|
318 | } else if (_c == QMetaObject::IndexOfMethod) { |
---|
319 | int *result = reinterpret_cast<int *>(_a[0]); |
---|
320 | void **func = reinterpret_cast<void **>(_a[1]); |
---|
321 | { |
---|
322 | typedef void (ComboBoxChoiceFieldWidget::*_t)(); |
---|
323 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ComboBoxChoiceFieldWidget::wasModified)) { |
---|
324 | *result = 0; |
---|
325 | return; |
---|
326 | } |
---|
327 | } |
---|
328 | } |
---|
329 | } |
---|
330 | |
---|
331 | const QMetaObject qpdfview::ComboBoxChoiceFieldWidget::staticMetaObject = { |
---|
332 | { &QComboBox::staticMetaObject, qt_meta_stringdata_qpdfview__ComboBoxChoiceFieldWidget.data, |
---|
333 | qt_meta_data_qpdfview__ComboBoxChoiceFieldWidget, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} |
---|
334 | }; |
---|
335 | |
---|
336 | |
---|
337 | const QMetaObject *qpdfview::ComboBoxChoiceFieldWidget::metaObject() const |
---|
338 | { |
---|
339 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
---|
340 | } |
---|
341 | |
---|
342 | void *qpdfview::ComboBoxChoiceFieldWidget::qt_metacast(const char *_clname) |
---|
343 | { |
---|
344 | if (!_clname) return Q_NULLPTR; |
---|
345 | if (!strcmp(_clname, qt_meta_stringdata_qpdfview__ComboBoxChoiceFieldWidget.stringdata0)) |
---|
346 | return static_cast<void*>(const_cast< ComboBoxChoiceFieldWidget*>(this)); |
---|
347 | return QComboBox::qt_metacast(_clname); |
---|
348 | } |
---|
349 | |
---|
350 | int qpdfview::ComboBoxChoiceFieldWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
---|
351 | { |
---|
352 | _id = QComboBox::qt_metacall(_c, _id, _a); |
---|
353 | if (_id < 0) |
---|
354 | return _id; |
---|
355 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
356 | if (_id < 3) |
---|
357 | qt_static_metacall(this, _c, _id, _a); |
---|
358 | _id -= 3; |
---|
359 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
---|
360 | if (_id < 3) |
---|
361 | *reinterpret_cast<int*>(_a[0]) = -1; |
---|
362 | _id -= 3; |
---|
363 | } |
---|
364 | return _id; |
---|
365 | } |
---|
366 | |
---|
367 | // SIGNAL 0 |
---|
368 | void qpdfview::ComboBoxChoiceFieldWidget::wasModified() |
---|
369 | { |
---|
370 | QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR); |
---|
371 | } |
---|
372 | struct qt_meta_stringdata_qpdfview__ListBoxChoiceFieldWidget_t { |
---|
373 | QByteArrayData data[4]; |
---|
374 | char stringdata0[72]; |
---|
375 | }; |
---|
376 | #define QT_MOC_LITERAL(idx, ofs, len) \ |
---|
377 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ |
---|
378 | qptrdiff(offsetof(qt_meta_stringdata_qpdfview__ListBoxChoiceFieldWidget_t, stringdata0) + ofs \ |
---|
379 | - idx * sizeof(QByteArrayData)) \ |
---|
380 | ) |
---|
381 | static const qt_meta_stringdata_qpdfview__ListBoxChoiceFieldWidget_t qt_meta_stringdata_qpdfview__ListBoxChoiceFieldWidget = { |
---|
382 | { |
---|
383 | QT_MOC_LITERAL(0, 0, 34), // "qpdfview::ListBoxChoiceFieldW..." |
---|
384 | QT_MOC_LITERAL(1, 35, 11), // "wasModified" |
---|
385 | QT_MOC_LITERAL(2, 47, 0), // "" |
---|
386 | QT_MOC_LITERAL(3, 48, 23) // "on_itemSelectionChanged" |
---|
387 | |
---|
388 | }, |
---|
389 | "qpdfview::ListBoxChoiceFieldWidget\0" |
---|
390 | "wasModified\0\0on_itemSelectionChanged" |
---|
391 | }; |
---|
392 | #undef QT_MOC_LITERAL |
---|
393 | |
---|
394 | static const uint qt_meta_data_qpdfview__ListBoxChoiceFieldWidget[] = { |
---|
395 | |
---|
396 | // content: |
---|
397 | 7, // revision |
---|
398 | 0, // classname |
---|
399 | 0, 0, // classinfo |
---|
400 | 2, 14, // methods |
---|
401 | 0, 0, // properties |
---|
402 | 0, 0, // enums/sets |
---|
403 | 0, 0, // constructors |
---|
404 | 0, // flags |
---|
405 | 1, // signalCount |
---|
406 | |
---|
407 | // signals: name, argc, parameters, tag, flags |
---|
408 | 1, 0, 24, 2, 0x06 /* Public */, |
---|
409 | |
---|
410 | // slots: name, argc, parameters, tag, flags |
---|
411 | 3, 0, 25, 2, 0x09 /* Protected */, |
---|
412 | |
---|
413 | // signals: parameters |
---|
414 | QMetaType::Void, |
---|
415 | |
---|
416 | // slots: parameters |
---|
417 | QMetaType::Void, |
---|
418 | |
---|
419 | 0 // eod |
---|
420 | }; |
---|
421 | |
---|
422 | void qpdfview::ListBoxChoiceFieldWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
---|
423 | { |
---|
424 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
425 | ListBoxChoiceFieldWidget *_t = static_cast<ListBoxChoiceFieldWidget *>(_o); |
---|
426 | Q_UNUSED(_t) |
---|
427 | switch (_id) { |
---|
428 | case 0: _t->wasModified(); break; |
---|
429 | case 1: _t->on_itemSelectionChanged(); break; |
---|
430 | default: ; |
---|
431 | } |
---|
432 | } else if (_c == QMetaObject::IndexOfMethod) { |
---|
433 | int *result = reinterpret_cast<int *>(_a[0]); |
---|
434 | void **func = reinterpret_cast<void **>(_a[1]); |
---|
435 | { |
---|
436 | typedef void (ListBoxChoiceFieldWidget::*_t)(); |
---|
437 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ListBoxChoiceFieldWidget::wasModified)) { |
---|
438 | *result = 0; |
---|
439 | return; |
---|
440 | } |
---|
441 | } |
---|
442 | } |
---|
443 | Q_UNUSED(_a); |
---|
444 | } |
---|
445 | |
---|
446 | const QMetaObject qpdfview::ListBoxChoiceFieldWidget::staticMetaObject = { |
---|
447 | { &QListWidget::staticMetaObject, qt_meta_stringdata_qpdfview__ListBoxChoiceFieldWidget.data, |
---|
448 | qt_meta_data_qpdfview__ListBoxChoiceFieldWidget, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} |
---|
449 | }; |
---|
450 | |
---|
451 | |
---|
452 | const QMetaObject *qpdfview::ListBoxChoiceFieldWidget::metaObject() const |
---|
453 | { |
---|
454 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
---|
455 | } |
---|
456 | |
---|
457 | void *qpdfview::ListBoxChoiceFieldWidget::qt_metacast(const char *_clname) |
---|
458 | { |
---|
459 | if (!_clname) return Q_NULLPTR; |
---|
460 | if (!strcmp(_clname, qt_meta_stringdata_qpdfview__ListBoxChoiceFieldWidget.stringdata0)) |
---|
461 | return static_cast<void*>(const_cast< ListBoxChoiceFieldWidget*>(this)); |
---|
462 | return QListWidget::qt_metacast(_clname); |
---|
463 | } |
---|
464 | |
---|
465 | int qpdfview::ListBoxChoiceFieldWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
---|
466 | { |
---|
467 | _id = QListWidget::qt_metacall(_c, _id, _a); |
---|
468 | if (_id < 0) |
---|
469 | return _id; |
---|
470 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
471 | if (_id < 2) |
---|
472 | qt_static_metacall(this, _c, _id, _a); |
---|
473 | _id -= 2; |
---|
474 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
---|
475 | if (_id < 2) |
---|
476 | *reinterpret_cast<int*>(_a[0]) = -1; |
---|
477 | _id -= 2; |
---|
478 | } |
---|
479 | return _id; |
---|
480 | } |
---|
481 | |
---|
482 | // SIGNAL 0 |
---|
483 | void qpdfview::ListBoxChoiceFieldWidget::wasModified() |
---|
484 | { |
---|
485 | QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR); |
---|
486 | } |
---|
487 | struct qt_meta_stringdata_qpdfview__CheckBoxChoiceFieldWidget_t { |
---|
488 | QByteArrayData data[5]; |
---|
489 | char stringdata0[68]; |
---|
490 | }; |
---|
491 | #define QT_MOC_LITERAL(idx, ofs, len) \ |
---|
492 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ |
---|
493 | qptrdiff(offsetof(qt_meta_stringdata_qpdfview__CheckBoxChoiceFieldWidget_t, stringdata0) + ofs \ |
---|
494 | - idx * sizeof(QByteArrayData)) \ |
---|
495 | ) |
---|
496 | static const qt_meta_stringdata_qpdfview__CheckBoxChoiceFieldWidget_t qt_meta_stringdata_qpdfview__CheckBoxChoiceFieldWidget = { |
---|
497 | { |
---|
498 | QT_MOC_LITERAL(0, 0, 35), // "qpdfview::CheckBoxChoiceField..." |
---|
499 | QT_MOC_LITERAL(1, 36, 11), // "wasModified" |
---|
500 | QT_MOC_LITERAL(2, 48, 0), // "" |
---|
501 | QT_MOC_LITERAL(3, 49, 10), // "on_toggled" |
---|
502 | QT_MOC_LITERAL(4, 60, 7) // "checked" |
---|
503 | |
---|
504 | }, |
---|
505 | "qpdfview::CheckBoxChoiceFieldWidget\0" |
---|
506 | "wasModified\0\0on_toggled\0checked" |
---|
507 | }; |
---|
508 | #undef QT_MOC_LITERAL |
---|
509 | |
---|
510 | static const uint qt_meta_data_qpdfview__CheckBoxChoiceFieldWidget[] = { |
---|
511 | |
---|
512 | // content: |
---|
513 | 7, // revision |
---|
514 | 0, // classname |
---|
515 | 0, 0, // classinfo |
---|
516 | 2, 14, // methods |
---|
517 | 0, 0, // properties |
---|
518 | 0, 0, // enums/sets |
---|
519 | 0, 0, // constructors |
---|
520 | 0, // flags |
---|
521 | 1, // signalCount |
---|
522 | |
---|
523 | // signals: name, argc, parameters, tag, flags |
---|
524 | 1, 0, 24, 2, 0x06 /* Public */, |
---|
525 | |
---|
526 | // slots: name, argc, parameters, tag, flags |
---|
527 | 3, 1, 25, 2, 0x09 /* Protected */, |
---|
528 | |
---|
529 | // signals: parameters |
---|
530 | QMetaType::Void, |
---|
531 | |
---|
532 | // slots: parameters |
---|
533 | QMetaType::Void, QMetaType::Bool, 4, |
---|
534 | |
---|
535 | 0 // eod |
---|
536 | }; |
---|
537 | |
---|
538 | void qpdfview::CheckBoxChoiceFieldWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
---|
539 | { |
---|
540 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
541 | CheckBoxChoiceFieldWidget *_t = static_cast<CheckBoxChoiceFieldWidget *>(_o); |
---|
542 | Q_UNUSED(_t) |
---|
543 | switch (_id) { |
---|
544 | case 0: _t->wasModified(); break; |
---|
545 | case 1: _t->on_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
546 | default: ; |
---|
547 | } |
---|
548 | } else if (_c == QMetaObject::IndexOfMethod) { |
---|
549 | int *result = reinterpret_cast<int *>(_a[0]); |
---|
550 | void **func = reinterpret_cast<void **>(_a[1]); |
---|
551 | { |
---|
552 | typedef void (CheckBoxChoiceFieldWidget::*_t)(); |
---|
553 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CheckBoxChoiceFieldWidget::wasModified)) { |
---|
554 | *result = 0; |
---|
555 | return; |
---|
556 | } |
---|
557 | } |
---|
558 | } |
---|
559 | } |
---|
560 | |
---|
561 | const QMetaObject qpdfview::CheckBoxChoiceFieldWidget::staticMetaObject = { |
---|
562 | { &QCheckBox::staticMetaObject, qt_meta_stringdata_qpdfview__CheckBoxChoiceFieldWidget.data, |
---|
563 | qt_meta_data_qpdfview__CheckBoxChoiceFieldWidget, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} |
---|
564 | }; |
---|
565 | |
---|
566 | |
---|
567 | const QMetaObject *qpdfview::CheckBoxChoiceFieldWidget::metaObject() const |
---|
568 | { |
---|
569 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
---|
570 | } |
---|
571 | |
---|
572 | void *qpdfview::CheckBoxChoiceFieldWidget::qt_metacast(const char *_clname) |
---|
573 | { |
---|
574 | if (!_clname) return Q_NULLPTR; |
---|
575 | if (!strcmp(_clname, qt_meta_stringdata_qpdfview__CheckBoxChoiceFieldWidget.stringdata0)) |
---|
576 | return static_cast<void*>(const_cast< CheckBoxChoiceFieldWidget*>(this)); |
---|
577 | return QCheckBox::qt_metacast(_clname); |
---|
578 | } |
---|
579 | |
---|
580 | int qpdfview::CheckBoxChoiceFieldWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
---|
581 | { |
---|
582 | _id = QCheckBox::qt_metacall(_c, _id, _a); |
---|
583 | if (_id < 0) |
---|
584 | return _id; |
---|
585 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
586 | if (_id < 2) |
---|
587 | qt_static_metacall(this, _c, _id, _a); |
---|
588 | _id -= 2; |
---|
589 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
---|
590 | if (_id < 2) |
---|
591 | *reinterpret_cast<int*>(_a[0]) = -1; |
---|
592 | _id -= 2; |
---|
593 | } |
---|
594 | return _id; |
---|
595 | } |
---|
596 | |
---|
597 | // SIGNAL 0 |
---|
598 | void qpdfview::CheckBoxChoiceFieldWidget::wasModified() |
---|
599 | { |
---|
600 | QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR); |
---|
601 | } |
---|
602 | struct qt_meta_stringdata_qpdfview__RadioChoiceFieldWidget_t { |
---|
603 | QByteArrayData data[5]; |
---|
604 | char stringdata0[65]; |
---|
605 | }; |
---|
606 | #define QT_MOC_LITERAL(idx, ofs, len) \ |
---|
607 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ |
---|
608 | qptrdiff(offsetof(qt_meta_stringdata_qpdfview__RadioChoiceFieldWidget_t, stringdata0) + ofs \ |
---|
609 | - idx * sizeof(QByteArrayData)) \ |
---|
610 | ) |
---|
611 | static const qt_meta_stringdata_qpdfview__RadioChoiceFieldWidget_t qt_meta_stringdata_qpdfview__RadioChoiceFieldWidget = { |
---|
612 | { |
---|
613 | QT_MOC_LITERAL(0, 0, 32), // "qpdfview::RadioChoiceFieldWidget" |
---|
614 | QT_MOC_LITERAL(1, 33, 11), // "wasModified" |
---|
615 | QT_MOC_LITERAL(2, 45, 0), // "" |
---|
616 | QT_MOC_LITERAL(3, 46, 10), // "on_toggled" |
---|
617 | QT_MOC_LITERAL(4, 57, 7) // "checked" |
---|
618 | |
---|
619 | }, |
---|
620 | "qpdfview::RadioChoiceFieldWidget\0" |
---|
621 | "wasModified\0\0on_toggled\0checked" |
---|
622 | }; |
---|
623 | #undef QT_MOC_LITERAL |
---|
624 | |
---|
625 | static const uint qt_meta_data_qpdfview__RadioChoiceFieldWidget[] = { |
---|
626 | |
---|
627 | // content: |
---|
628 | 7, // revision |
---|
629 | 0, // classname |
---|
630 | 0, 0, // classinfo |
---|
631 | 2, 14, // methods |
---|
632 | 0, 0, // properties |
---|
633 | 0, 0, // enums/sets |
---|
634 | 0, 0, // constructors |
---|
635 | 0, // flags |
---|
636 | 1, // signalCount |
---|
637 | |
---|
638 | // signals: name, argc, parameters, tag, flags |
---|
639 | 1, 0, 24, 2, 0x06 /* Public */, |
---|
640 | |
---|
641 | // slots: name, argc, parameters, tag, flags |
---|
642 | 3, 1, 25, 2, 0x09 /* Protected */, |
---|
643 | |
---|
644 | // signals: parameters |
---|
645 | QMetaType::Void, |
---|
646 | |
---|
647 | // slots: parameters |
---|
648 | QMetaType::Void, QMetaType::Bool, 4, |
---|
649 | |
---|
650 | 0 // eod |
---|
651 | }; |
---|
652 | |
---|
653 | void qpdfview::RadioChoiceFieldWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
---|
654 | { |
---|
655 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
656 | RadioChoiceFieldWidget *_t = static_cast<RadioChoiceFieldWidget *>(_o); |
---|
657 | Q_UNUSED(_t) |
---|
658 | switch (_id) { |
---|
659 | case 0: _t->wasModified(); break; |
---|
660 | case 1: _t->on_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
661 | default: ; |
---|
662 | } |
---|
663 | } else if (_c == QMetaObject::IndexOfMethod) { |
---|
664 | int *result = reinterpret_cast<int *>(_a[0]); |
---|
665 | void **func = reinterpret_cast<void **>(_a[1]); |
---|
666 | { |
---|
667 | typedef void (RadioChoiceFieldWidget::*_t)(); |
---|
668 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&RadioChoiceFieldWidget::wasModified)) { |
---|
669 | *result = 0; |
---|
670 | return; |
---|
671 | } |
---|
672 | } |
---|
673 | } |
---|
674 | } |
---|
675 | |
---|
676 | const QMetaObject qpdfview::RadioChoiceFieldWidget::staticMetaObject = { |
---|
677 | { &QRadioButton::staticMetaObject, qt_meta_stringdata_qpdfview__RadioChoiceFieldWidget.data, |
---|
678 | qt_meta_data_qpdfview__RadioChoiceFieldWidget, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} |
---|
679 | }; |
---|
680 | |
---|
681 | |
---|
682 | const QMetaObject *qpdfview::RadioChoiceFieldWidget::metaObject() const |
---|
683 | { |
---|
684 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
---|
685 | } |
---|
686 | |
---|
687 | void *qpdfview::RadioChoiceFieldWidget::qt_metacast(const char *_clname) |
---|
688 | { |
---|
689 | if (!_clname) return Q_NULLPTR; |
---|
690 | if (!strcmp(_clname, qt_meta_stringdata_qpdfview__RadioChoiceFieldWidget.stringdata0)) |
---|
691 | return static_cast<void*>(const_cast< RadioChoiceFieldWidget*>(this)); |
---|
692 | return QRadioButton::qt_metacast(_clname); |
---|
693 | } |
---|
694 | |
---|
695 | int qpdfview::RadioChoiceFieldWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
---|
696 | { |
---|
697 | _id = QRadioButton::qt_metacall(_c, _id, _a); |
---|
698 | if (_id < 0) |
---|
699 | return _id; |
---|
700 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
701 | if (_id < 2) |
---|
702 | qt_static_metacall(this, _c, _id, _a); |
---|
703 | _id -= 2; |
---|
704 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
---|
705 | if (_id < 2) |
---|
706 | *reinterpret_cast<int*>(_a[0]) = -1; |
---|
707 | _id -= 2; |
---|
708 | } |
---|
709 | return _id; |
---|
710 | } |
---|
711 | |
---|
712 | // SIGNAL 0 |
---|
713 | void qpdfview::RadioChoiceFieldWidget::wasModified() |
---|
714 | { |
---|
715 | QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR); |
---|
716 | } |
---|
717 | QT_END_MOC_NAMESPACE |
---|