1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'mainwindow.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 "mainwindow.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'mainwindow.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_MainWindow_t { |
25 | const uint offsetsAndSize[38]; |
26 | char stringdata0[261]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = { |
31 | { |
32 | QT_MOC_LITERAL(0, 10), // "MainWindow" |
33 | QT_MOC_LITERAL(11, 24), // "on_clearAction_triggered" |
34 | QT_MOC_LITERAL(36, 0), // "" |
35 | QT_MOC_LITERAL(37, 23), // "on_markAction_triggered" |
36 | QT_MOC_LITERAL(61, 25), // "on_unmarkAction_triggered" |
37 | QT_MOC_LITERAL(87, 24), // "on_printAction_triggered" |
38 | QT_MOC_LITERAL(112, 31), // "on_printPreviewAction_triggered" |
39 | QT_MOC_LITERAL(144, 13), // "printDocument" |
40 | QT_MOC_LITERAL(158, 9), // "QPrinter*" |
41 | QT_MOC_LITERAL(168, 7), // "printer" |
42 | QT_MOC_LITERAL(176, 9), // "printPage" |
43 | QT_MOC_LITERAL(186, 5), // "index" |
44 | QT_MOC_LITERAL(192, 9), // "QPainter*" |
45 | QT_MOC_LITERAL(202, 7), // "painter" |
46 | QT_MOC_LITERAL(210, 8), // "showFont" |
47 | QT_MOC_LITERAL(219, 16), // "QTreeWidgetItem*" |
48 | QT_MOC_LITERAL(236, 4), // "item" |
49 | QT_MOC_LITERAL(241, 12), // "updateStyles" |
50 | QT_MOC_LITERAL(254, 6) // "column" |
51 | |
52 | }, |
53 | "MainWindow\0on_clearAction_triggered\0" |
54 | "\0on_markAction_triggered\0" |
55 | "on_unmarkAction_triggered\0" |
56 | "on_printAction_triggered\0" |
57 | "on_printPreviewAction_triggered\0" |
58 | "printDocument\0QPrinter*\0printer\0" |
59 | "printPage\0index\0QPainter*\0painter\0" |
60 | "showFont\0QTreeWidgetItem*\0item\0" |
61 | "updateStyles\0column" |
62 | }; |
63 | #undef QT_MOC_LITERAL |
64 | |
65 | static const uint qt_meta_data_MainWindow[] = { |
66 | |
67 | // content: |
68 | 9, // revision |
69 | 0, // classname |
70 | 0, 0, // classinfo |
71 | 9, 14, // methods |
72 | 0, 0, // properties |
73 | 0, 0, // enums/sets |
74 | 0, 0, // constructors |
75 | 0, // flags |
76 | 0, // signalCount |
77 | |
78 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
79 | 1, 0, 68, 2, 0x0a, 0 /* Public */, |
80 | 3, 0, 69, 2, 0x0a, 1 /* Public */, |
81 | 4, 0, 70, 2, 0x0a, 2 /* Public */, |
82 | 5, 0, 71, 2, 0x0a, 3 /* Public */, |
83 | 6, 0, 72, 2, 0x0a, 4 /* Public */, |
84 | 7, 1, 73, 2, 0x0a, 5 /* Public */, |
85 | 10, 3, 76, 2, 0x0a, 7 /* Public */, |
86 | 14, 1, 83, 2, 0x0a, 11 /* Public */, |
87 | 17, 2, 86, 2, 0x0a, 13 /* Public */, |
88 | |
89 | // slots: parameters |
90 | QMetaType::Void, |
91 | QMetaType::Void, |
92 | QMetaType::Void, |
93 | QMetaType::Void, |
94 | QMetaType::Void, |
95 | QMetaType::Void, 0x80000000 | 8, 9, |
96 | QMetaType::Void, QMetaType::Int, 0x80000000 | 12, 0x80000000 | 8, 11, 13, 9, |
97 | QMetaType::Void, 0x80000000 | 15, 16, |
98 | QMetaType::Void, 0x80000000 | 15, QMetaType::Int, 16, 18, |
99 | |
100 | 0 // eod |
101 | }; |
102 | |
103 | void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
104 | { |
105 | if (_c == QMetaObject::InvokeMetaMethod) { |
106 | Q_ASSERT(staticMetaObject.cast(_o)); |
107 | auto *_t = static_cast<MainWindow *>(_o); |
108 | Q_UNUSED(_t) |
109 | switch (_id) { |
110 | case 0: _t->on_clearAction_triggered(); break; |
111 | case 1: _t->on_markAction_triggered(); break; |
112 | case 2: _t->on_unmarkAction_triggered(); break; |
113 | case 3: _t->on_printAction_triggered(); break; |
114 | case 4: _t->on_printPreviewAction_triggered(); break; |
115 | case 5: _t->printDocument((*reinterpret_cast< QPrinter*(*)>(_a[1]))); break; |
116 | case 6: _t->printPage((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QPainter*(*)>(_a[2])),(*reinterpret_cast< QPrinter*(*)>(_a[3]))); break; |
117 | case 7: _t->showFont((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1]))); break; |
118 | case 8: _t->updateStyles((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; |
119 | default: ; |
120 | } |
121 | } |
122 | } |
123 | |
124 | const QMetaObject MainWindow::staticMetaObject = { { |
125 | QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(), |
126 | qt_meta_stringdata_MainWindow.offsetsAndSize, |
127 | qt_meta_data_MainWindow, |
128 | qt_static_metacall, |
129 | nullptr, |
130 | qt_incomplete_metaTypeArray<qt_meta_stringdata_MainWindow_t |
131 | |
132 | , 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<void, std::false_type>, QtPrivate::TypeAndForceComplete<QPrinter *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<QPainter *, std::false_type>, QtPrivate::TypeAndForceComplete<QPrinter *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QTreeWidgetItem *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QTreeWidgetItem *, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type> |
133 | |
134 | |
135 | >, |
136 | nullptr |
137 | } }; |
138 | |
139 | |
140 | const QMetaObject *MainWindow::metaObject() const |
141 | { |
142 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
143 | } |
144 | |
145 | void *MainWindow::qt_metacast(const char *_clname) |
146 | { |
147 | if (!_clname) return nullptr; |
148 | if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0)) |
149 | return static_cast<void*>(this); |
150 | return QMainWindow::qt_metacast(_clname); |
151 | } |
152 | |
153 | int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
154 | { |
155 | _id = QMainWindow::qt_metacall(_c, _id, _a); |
156 | if (_id < 0) |
157 | return _id; |
158 | if (_c == QMetaObject::InvokeMetaMethod) { |
159 | if (_id < 9) |
160 | qt_static_metacall(this, _c, _id, _a); |
161 | _id -= 9; |
162 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
163 | if (_id < 9) |
164 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
165 | _id -= 9; |
166 | } |
167 | return _id; |
168 | } |
169 | QT_WARNING_POP |
170 | QT_END_MOC_NAMESPACE |
171 | |