1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'mdichild.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 "mdichild.h" |
11 | #include <QtGui/qtextcursor.h> |
12 | #include <QtCore/qbytearray.h> |
13 | #include <QtCore/qmetatype.h> |
14 | #if !defined(Q_MOC_OUTPUT_REVISION) |
15 | #error "The header file 'mdichild.h' doesn't include <QObject>." |
16 | #elif Q_MOC_OUTPUT_REVISION != 68 |
17 | #error "This file was generated using the moc from 6.0.0. It" |
18 | #error "cannot be used with the include files from this version of Qt." |
19 | #error "(The moc has changed too much.)" |
20 | #endif |
21 | |
22 | QT_BEGIN_MOC_NAMESPACE |
23 | QT_WARNING_PUSH |
24 | QT_WARNING_DISABLE_DEPRECATED |
25 | struct qt_meta_stringdata_MdiChild_t { |
26 | const uint offsetsAndSize[6]; |
27 | char stringdata0[30]; |
28 | }; |
29 | #define QT_MOC_LITERAL(ofs, len) \ |
30 | uint(offsetof(qt_meta_stringdata_MdiChild_t, stringdata0) + ofs), len |
31 | static const qt_meta_stringdata_MdiChild_t qt_meta_stringdata_MdiChild = { |
32 | { |
33 | QT_MOC_LITERAL(0, 8), // "MdiChild" |
34 | QT_MOC_LITERAL(9, 19), // "documentWasModified" |
35 | QT_MOC_LITERAL(29, 0) // "" |
36 | |
37 | }, |
38 | "MdiChild\0documentWasModified\0" |
39 | }; |
40 | #undef QT_MOC_LITERAL |
41 | |
42 | static const uint qt_meta_data_MdiChild[] = { |
43 | |
44 | // content: |
45 | 9, // revision |
46 | 0, // classname |
47 | 0, 0, // classinfo |
48 | 1, 14, // methods |
49 | 0, 0, // properties |
50 | 0, 0, // enums/sets |
51 | 0, 0, // constructors |
52 | 0, // flags |
53 | 0, // signalCount |
54 | |
55 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
56 | 1, 0, 20, 2, 0x08, 0 /* Private */, |
57 | |
58 | // slots: parameters |
59 | QMetaType::Void, |
60 | |
61 | 0 // eod |
62 | }; |
63 | |
64 | void MdiChild::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
65 | { |
66 | if (_c == QMetaObject::InvokeMetaMethod) { |
67 | Q_ASSERT(staticMetaObject.cast(_o)); |
68 | auto *_t = static_cast<MdiChild *>(_o); |
69 | Q_UNUSED(_t) |
70 | switch (_id) { |
71 | case 0: _t->documentWasModified(); break; |
72 | default: ; |
73 | } |
74 | } |
75 | Q_UNUSED(_a); |
76 | } |
77 | |
78 | const QMetaObject MdiChild::staticMetaObject = { { |
79 | QMetaObject::SuperData::link<QTextEdit::staticMetaObject>(), |
80 | qt_meta_stringdata_MdiChild.offsetsAndSize, |
81 | qt_meta_data_MdiChild, |
82 | qt_static_metacall, |
83 | nullptr, |
84 | qt_incomplete_metaTypeArray<qt_meta_stringdata_MdiChild_t |
85 | |
86 | , QtPrivate::TypeAndForceComplete<void, std::false_type> |
87 | |
88 | |
89 | >, |
90 | nullptr |
91 | } }; |
92 | |
93 | |
94 | const QMetaObject *MdiChild::metaObject() const |
95 | { |
96 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
97 | } |
98 | |
99 | void *MdiChild::qt_metacast(const char *_clname) |
100 | { |
101 | if (!_clname) return nullptr; |
102 | if (!strcmp(_clname, qt_meta_stringdata_MdiChild.stringdata0)) |
103 | return static_cast<void*>(this); |
104 | return QTextEdit::qt_metacast(_clname); |
105 | } |
106 | |
107 | int MdiChild::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
108 | { |
109 | _id = QTextEdit::qt_metacall(_c, _id, _a); |
110 | if (_id < 0) |
111 | return _id; |
112 | if (_c == QMetaObject::InvokeMetaMethod) { |
113 | if (_id < 1) |
114 | qt_static_metacall(this, _c, _id, _a); |
115 | _id -= 1; |
116 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
117 | if (_id < 1) |
118 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
119 | _id -= 1; |
120 | } |
121 | return _id; |
122 | } |
123 | QT_WARNING_POP |
124 | QT_END_MOC_NAMESPACE |
125 | |