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