1/****************************************************************************
2** Meta object code from reading C++ file 'qprintdialog_unix.cpp'
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 <QtCore/qbytearray.h>
11#include <QtCore/qmetatype.h>
12#if !defined(Q_MOC_OUTPUT_REVISION)
13#error "The header file 'qprintdialog_unix.cpp' doesn't include <QObject>."
14#elif Q_MOC_OUTPUT_REVISION != 68
15#error "This file was generated using the moc from 6.0.0. 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
20QT_BEGIN_MOC_NAMESPACE
21QT_WARNING_PUSH
22QT_WARNING_DISABLE_DEPRECATED
23struct qt_meta_stringdata_QPrintPropertiesDialog_t {
24 const uint offsetsAndSize[8];
25 char stringdata0[38];
26};
27#define QT_MOC_LITERAL(ofs, len) \
28 uint(offsetof(qt_meta_stringdata_QPrintPropertiesDialog_t, stringdata0) + ofs), len
29static const qt_meta_stringdata_QPrintPropertiesDialog_t qt_meta_stringdata_QPrintPropertiesDialog = {
30 {
31QT_MOC_LITERAL(0, 22), // "QPrintPropertiesDialog"
32QT_MOC_LITERAL(23, 6), // "reject"
33QT_MOC_LITERAL(30, 0), // ""
34QT_MOC_LITERAL(31, 6) // "accept"
35
36 },
37 "QPrintPropertiesDialog\0reject\0\0accept"
38};
39#undef QT_MOC_LITERAL
40
41static const uint qt_meta_data_QPrintPropertiesDialog[] = {
42
43 // content:
44 9, // revision
45 0, // classname
46 0, 0, // classinfo
47 2, 14, // methods
48 0, 0, // properties
49 0, 0, // enums/sets
50 0, 0, // constructors
51 0, // flags
52 0, // signalCount
53
54 // slots: name, argc, parameters, tag, flags, initial metatype offsets
55 1, 0, 26, 2, 0x08, 0 /* Private */,
56 3, 0, 27, 2, 0x08, 1 /* Private */,
57
58 // slots: parameters
59 QMetaType::Void,
60 QMetaType::Void,
61
62 0 // eod
63};
64
65void QPrintPropertiesDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
66{
67 if (_c == QMetaObject::InvokeMetaMethod) {
68 Q_ASSERT(staticMetaObject.cast(_o));
69 auto *_t = static_cast<QPrintPropertiesDialog *>(_o);
70 Q_UNUSED(_t)
71 switch (_id) {
72 case 0: _t->reject(); break;
73 case 1: _t->accept(); break;
74 default: ;
75 }
76 }
77 Q_UNUSED(_a);
78}
79
80const QMetaObject QPrintPropertiesDialog::staticMetaObject = { {
81 QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
82 qt_meta_stringdata_QPrintPropertiesDialog.offsetsAndSize,
83 qt_meta_data_QPrintPropertiesDialog,
84 qt_static_metacall,
85 nullptr,
86qt_incomplete_metaTypeArray<qt_meta_stringdata_QPrintPropertiesDialog_t
87
88, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
89
90
91>,
92 nullptr
93} };
94
95
96const QMetaObject *QPrintPropertiesDialog::metaObject() const
97{
98 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
99}
100
101void *QPrintPropertiesDialog::qt_metacast(const char *_clname)
102{
103 if (!_clname) return nullptr;
104 if (!strcmp(_clname, qt_meta_stringdata_QPrintPropertiesDialog.stringdata0))
105 return static_cast<void*>(this);
106 return QDialog::qt_metacast(_clname);
107}
108
109int QPrintPropertiesDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
110{
111 _id = QDialog::qt_metacall(_c, _id, _a);
112 if (_id < 0)
113 return _id;
114 if (_c == QMetaObject::InvokeMetaMethod) {
115 if (_id < 2)
116 qt_static_metacall(this, _c, _id, _a);
117 _id -= 2;
118 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
119 if (_id < 2)
120 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
121 _id -= 2;
122 }
123 return _id;
124}
125struct qt_meta_stringdata_QUnixPrintWidget_t {
126 const uint offsetsAndSize[10];
127 char stringdata0[80];
128};
129#define QT_MOC_LITERAL(ofs, len) \
130 uint(offsetof(qt_meta_stringdata_QUnixPrintWidget_t, stringdata0) + ofs), len
131static const qt_meta_stringdata_QUnixPrintWidget_t qt_meta_stringdata_QUnixPrintWidget = {
132 {
133QT_MOC_LITERAL(0, 16), // "QUnixPrintWidget"
134QT_MOC_LITERAL(17, 17), // "_q_printerChanged"
135QT_MOC_LITERAL(35, 0), // ""
136QT_MOC_LITERAL(36, 19), // "_q_btnBrowseClicked"
137QT_MOC_LITERAL(56, 23) // "_q_btnPropertiesClicked"
138
139 },
140 "QUnixPrintWidget\0_q_printerChanged\0\0"
141 "_q_btnBrowseClicked\0_q_btnPropertiesClicked"
142};
143#undef QT_MOC_LITERAL
144
145static const uint qt_meta_data_QUnixPrintWidget[] = {
146
147 // content:
148 9, // revision
149 0, // classname
150 0, 0, // classinfo
151 3, 14, // methods
152 0, 0, // properties
153 0, 0, // enums/sets
154 0, 0, // constructors
155 0, // flags
156 0, // signalCount
157
158 // slots: name, argc, parameters, tag, flags, initial metatype offsets
159 1, 1, 32, 2, 0x08, 0 /* Private */,
160 3, 0, 35, 2, 0x08, 2 /* Private */,
161 4, 0, 36, 2, 0x08, 3 /* Private */,
162
163 // slots: parameters
164 QMetaType::Void, QMetaType::Int, 2,
165 QMetaType::Void,
166 QMetaType::Void,
167
168 0 // eod
169};
170
171void QUnixPrintWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
172{
173 if (_c == QMetaObject::InvokeMetaMethod) {
174 Q_ASSERT(staticMetaObject.cast(_o));
175 auto *_t = static_cast<QUnixPrintWidget *>(_o);
176 Q_UNUSED(_t)
177 switch (_id) {
178 case 0: _t->d->_q_printerChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
179 case 1: _t->d->_q_btnBrowseClicked(); break;
180 case 2: _t->d->_q_btnPropertiesClicked(); break;
181 default: ;
182 }
183 }
184}
185
186const QMetaObject QUnixPrintWidget::staticMetaObject = { {
187 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
188 qt_meta_stringdata_QUnixPrintWidget.offsetsAndSize,
189 qt_meta_data_QUnixPrintWidget,
190 qt_static_metacall,
191 nullptr,
192qt_incomplete_metaTypeArray<qt_meta_stringdata_QUnixPrintWidget_t
193
194, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
195
196
197>,
198 nullptr
199} };
200
201
202const QMetaObject *QUnixPrintWidget::metaObject() const
203{
204 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
205}
206
207void *QUnixPrintWidget::qt_metacast(const char *_clname)
208{
209 if (!_clname) return nullptr;
210 if (!strcmp(_clname, qt_meta_stringdata_QUnixPrintWidget.stringdata0))
211 return static_cast<void*>(this);
212 return QWidget::qt_metacast(_clname);
213}
214
215int QUnixPrintWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
216{
217 _id = QWidget::qt_metacall(_c, _id, _a);
218 if (_id < 0)
219 return _id;
220 if (_c == QMetaObject::InvokeMetaMethod) {
221 if (_id < 3)
222 qt_static_metacall(this, _c, _id, _a);
223 _id -= 3;
224 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
225 if (_id < 3)
226 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
227 _id -= 3;
228 }
229 return _id;
230}
231QT_WARNING_POP
232QT_END_MOC_NAMESPACE
233