1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qpagesetupdialog_unix_p.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/qpagesetupdialog_unix_p.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'qpagesetupdialog_unix_p.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_QPageSetupWidget_t { |
25 | const uint offsetsAndSize[22]; |
26 | char stringdata0[173]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_QPageSetupWidget_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_QPageSetupWidget_t qt_meta_stringdata_QPageSetupWidget = { |
31 | { |
32 | QT_MOC_LITERAL(0, 16), // "QPageSetupWidget" |
33 | QT_MOC_LITERAL(17, 15), // "pageSizeChanged" |
34 | QT_MOC_LITERAL(33, 0), // "" |
35 | QT_MOC_LITERAL(34, 22), // "pageOrientationChanged" |
36 | QT_MOC_LITERAL(57, 20), // "pagesPerSheetChanged" |
37 | QT_MOC_LITERAL(78, 11), // "unitChanged" |
38 | QT_MOC_LITERAL(90, 16), // "topMarginChanged" |
39 | QT_MOC_LITERAL(107, 8), // "newValue" |
40 | QT_MOC_LITERAL(116, 19), // "bottomMarginChanged" |
41 | QT_MOC_LITERAL(136, 17), // "leftMarginChanged" |
42 | QT_MOC_LITERAL(154, 18) // "rightMarginChanged" |
43 | |
44 | }, |
45 | "QPageSetupWidget\0pageSizeChanged\0\0" |
46 | "pageOrientationChanged\0pagesPerSheetChanged\0" |
47 | "unitChanged\0topMarginChanged\0newValue\0" |
48 | "bottomMarginChanged\0leftMarginChanged\0" |
49 | "rightMarginChanged" |
50 | }; |
51 | #undef QT_MOC_LITERAL |
52 | |
53 | static const uint qt_meta_data_QPageSetupWidget[] = { |
54 | |
55 | // content: |
56 | 9, // revision |
57 | 0, // classname |
58 | 0, 0, // classinfo |
59 | 8, 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, 62, 2, 0x08, 0 /* Private */, |
68 | 3, 0, 63, 2, 0x08, 1 /* Private */, |
69 | 4, 0, 64, 2, 0x08, 2 /* Private */, |
70 | 5, 0, 65, 2, 0x08, 3 /* Private */, |
71 | 6, 1, 66, 2, 0x08, 4 /* Private */, |
72 | 8, 1, 69, 2, 0x08, 6 /* Private */, |
73 | 9, 1, 72, 2, 0x08, 8 /* Private */, |
74 | 10, 1, 75, 2, 0x08, 10 /* Private */, |
75 | |
76 | // slots: parameters |
77 | QMetaType::Void, |
78 | QMetaType::Void, |
79 | QMetaType::Void, |
80 | QMetaType::Void, |
81 | QMetaType::Void, QMetaType::Double, 7, |
82 | QMetaType::Void, QMetaType::Double, 7, |
83 | QMetaType::Void, QMetaType::Double, 7, |
84 | QMetaType::Void, QMetaType::Double, 7, |
85 | |
86 | 0 // eod |
87 | }; |
88 | |
89 | void QPageSetupWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
90 | { |
91 | if (_c == QMetaObject::InvokeMetaMethod) { |
92 | Q_ASSERT(staticMetaObject.cast(_o)); |
93 | auto *_t = static_cast<QPageSetupWidget *>(_o); |
94 | Q_UNUSED(_t) |
95 | switch (_id) { |
96 | case 0: _t->pageSizeChanged(); break; |
97 | case 1: _t->pageOrientationChanged(); break; |
98 | case 2: _t->pagesPerSheetChanged(); break; |
99 | case 3: _t->unitChanged(); break; |
100 | case 4: _t->topMarginChanged((*reinterpret_cast< double(*)>(_a[1]))); break; |
101 | case 5: _t->bottomMarginChanged((*reinterpret_cast< double(*)>(_a[1]))); break; |
102 | case 6: _t->leftMarginChanged((*reinterpret_cast< double(*)>(_a[1]))); break; |
103 | case 7: _t->rightMarginChanged((*reinterpret_cast< double(*)>(_a[1]))); break; |
104 | default: ; |
105 | } |
106 | } |
107 | } |
108 | |
109 | const QMetaObject QPageSetupWidget::staticMetaObject = { { |
110 | QMetaObject::SuperData::link<QWidget::staticMetaObject>(), |
111 | qt_meta_stringdata_QPageSetupWidget.offsetsAndSize, |
112 | qt_meta_data_QPageSetupWidget, |
113 | qt_static_metacall, |
114 | nullptr, |
115 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QPageSetupWidget_t |
116 | |
117 | , 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<double, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<double, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<double, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<double, std::false_type> |
118 | |
119 | |
120 | >, |
121 | nullptr |
122 | } }; |
123 | |
124 | |
125 | const QMetaObject *QPageSetupWidget::metaObject() const |
126 | { |
127 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
128 | } |
129 | |
130 | void *QPageSetupWidget::qt_metacast(const char *_clname) |
131 | { |
132 | if (!_clname) return nullptr; |
133 | if (!strcmp(_clname, qt_meta_stringdata_QPageSetupWidget.stringdata0)) |
134 | return static_cast<void*>(this); |
135 | return QWidget::qt_metacast(_clname); |
136 | } |
137 | |
138 | int QPageSetupWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
139 | { |
140 | _id = QWidget::qt_metacall(_c, _id, _a); |
141 | if (_id < 0) |
142 | return _id; |
143 | if (_c == QMetaObject::InvokeMetaMethod) { |
144 | if (_id < 8) |
145 | qt_static_metacall(this, _c, _id, _a); |
146 | _id -= 8; |
147 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
148 | if (_id < 8) |
149 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
150 | _id -= 8; |
151 | } |
152 | return _id; |
153 | } |
154 | QT_WARNING_POP |
155 | QT_END_MOC_NAMESPACE |
156 | |