1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qframe.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 "widgets/qframe.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'qframe.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_QFrame_t { |
25 | const uint offsetsAndSize[38]; |
26 | char stringdata0[158]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_QFrame_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_QFrame_t qt_meta_stringdata_QFrame = { |
31 | { |
32 | QT_MOC_LITERAL(0, 6), // "QFrame" |
33 | QT_MOC_LITERAL(7, 10), // "frameShape" |
34 | QT_MOC_LITERAL(18, 5), // "Shape" |
35 | QT_MOC_LITERAL(24, 11), // "frameShadow" |
36 | QT_MOC_LITERAL(36, 6), // "Shadow" |
37 | QT_MOC_LITERAL(43, 9), // "lineWidth" |
38 | QT_MOC_LITERAL(53, 12), // "midLineWidth" |
39 | QT_MOC_LITERAL(66, 10), // "frameWidth" |
40 | QT_MOC_LITERAL(77, 9), // "frameRect" |
41 | QT_MOC_LITERAL(87, 7), // "NoFrame" |
42 | QT_MOC_LITERAL(95, 3), // "Box" |
43 | QT_MOC_LITERAL(99, 5), // "Panel" |
44 | QT_MOC_LITERAL(105, 8), // "WinPanel" |
45 | QT_MOC_LITERAL(114, 5), // "HLine" |
46 | QT_MOC_LITERAL(120, 5), // "VLine" |
47 | QT_MOC_LITERAL(126, 11), // "StyledPanel" |
48 | QT_MOC_LITERAL(138, 5), // "Plain" |
49 | QT_MOC_LITERAL(144, 6), // "Raised" |
50 | QT_MOC_LITERAL(151, 6) // "Sunken" |
51 | |
52 | }, |
53 | "QFrame\0frameShape\0Shape\0frameShadow\0" |
54 | "Shadow\0lineWidth\0midLineWidth\0frameWidth\0" |
55 | "frameRect\0NoFrame\0Box\0Panel\0WinPanel\0" |
56 | "HLine\0VLine\0StyledPanel\0Plain\0Raised\0" |
57 | "Sunken" |
58 | }; |
59 | #undef QT_MOC_LITERAL |
60 | |
61 | static const uint qt_meta_data_QFrame[] = { |
62 | |
63 | // content: |
64 | 9, // revision |
65 | 0, // classname |
66 | 0, 0, // classinfo |
67 | 0, 0, // methods |
68 | 6, 14, // properties |
69 | 2, 44, // enums/sets |
70 | 0, 0, // constructors |
71 | 0, // flags |
72 | 0, // signalCount |
73 | |
74 | // properties: name, type, flags |
75 | 1, 0x80000000 | 2, 0x0001510b, uint(-1), 0, |
76 | 3, 0x80000000 | 4, 0x0001510b, uint(-1), 0, |
77 | 5, QMetaType::Int, 0x00015103, uint(-1), 0, |
78 | 6, QMetaType::Int, 0x00015103, uint(-1), 0, |
79 | 7, QMetaType::Int, 0x00015001, uint(-1), 0, |
80 | 8, QMetaType::QRect, 0x00014103, uint(-1), 0, |
81 | |
82 | // enums: name, alias, flags, count, data |
83 | 2, 2, 0x0, 7, 54, |
84 | 4, 4, 0x0, 3, 68, |
85 | |
86 | // enum data: key, value |
87 | 9, uint(QFrame::NoFrame), |
88 | 10, uint(QFrame::Box), |
89 | 11, uint(QFrame::Panel), |
90 | 12, uint(QFrame::WinPanel), |
91 | 13, uint(QFrame::HLine), |
92 | 14, uint(QFrame::VLine), |
93 | 15, uint(QFrame::StyledPanel), |
94 | 16, uint(QFrame::Plain), |
95 | 17, uint(QFrame::Raised), |
96 | 18, uint(QFrame::Sunken), |
97 | |
98 | 0 // eod |
99 | }; |
100 | |
101 | void QFrame::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
102 | { |
103 | |
104 | #ifndef QT_NO_PROPERTIES |
105 | if (_c == QMetaObject::ReadProperty) { |
106 | Q_ASSERT(staticMetaObject.cast(_o)); |
107 | auto *_t = static_cast<QFrame *>(_o); |
108 | Q_UNUSED(_t) |
109 | void *_v = _a[0]; |
110 | switch (_id) { |
111 | case 0: *reinterpret_cast< Shape*>(_v) = _t->frameShape(); break; |
112 | case 1: *reinterpret_cast< Shadow*>(_v) = _t->frameShadow(); break; |
113 | case 2: *reinterpret_cast< int*>(_v) = _t->lineWidth(); break; |
114 | case 3: *reinterpret_cast< int*>(_v) = _t->midLineWidth(); break; |
115 | case 4: *reinterpret_cast< int*>(_v) = _t->frameWidth(); break; |
116 | case 5: *reinterpret_cast< QRect*>(_v) = _t->frameRect(); break; |
117 | default: break; |
118 | } |
119 | } else if (_c == QMetaObject::WriteProperty) { |
120 | Q_ASSERT(staticMetaObject.cast(_o)); |
121 | auto *_t = static_cast<QFrame *>(_o); |
122 | Q_UNUSED(_t) |
123 | void *_v = _a[0]; |
124 | switch (_id) { |
125 | case 0: _t->setFrameShape(*reinterpret_cast< Shape*>(_v)); break; |
126 | case 1: _t->setFrameShadow(*reinterpret_cast< Shadow*>(_v)); break; |
127 | case 2: _t->setLineWidth(*reinterpret_cast< int*>(_v)); break; |
128 | case 3: _t->setMidLineWidth(*reinterpret_cast< int*>(_v)); break; |
129 | case 5: _t->setFrameRect(*reinterpret_cast< QRect*>(_v)); break; |
130 | default: break; |
131 | } |
132 | } else if (_c == QMetaObject::ResetProperty) { |
133 | } else if (_c == QMetaObject::BindableProperty) { |
134 | } |
135 | #endif // QT_NO_PROPERTIES |
136 | Q_UNUSED(_o); |
137 | Q_UNUSED(_id); |
138 | Q_UNUSED(_c); |
139 | Q_UNUSED(_a); |
140 | } |
141 | |
142 | const QMetaObject QFrame::staticMetaObject = { { |
143 | QMetaObject::SuperData::link<QWidget::staticMetaObject>(), |
144 | qt_meta_stringdata_QFrame.offsetsAndSize, |
145 | qt_meta_data_QFrame, |
146 | qt_static_metacall, |
147 | nullptr, |
148 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QFrame_t |
149 | , QtPrivate::TypeAndForceComplete<Shape, std::true_type>, QtPrivate::TypeAndForceComplete<Shadow, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<QRect, std::true_type> |
150 | |
151 | |
152 | |
153 | >, |
154 | nullptr |
155 | } }; |
156 | |
157 | |
158 | const QMetaObject *QFrame::metaObject() const |
159 | { |
160 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
161 | } |
162 | |
163 | void *QFrame::qt_metacast(const char *_clname) |
164 | { |
165 | if (!_clname) return nullptr; |
166 | if (!strcmp(_clname, qt_meta_stringdata_QFrame.stringdata0)) |
167 | return static_cast<void*>(this); |
168 | return QWidget::qt_metacast(_clname); |
169 | } |
170 | |
171 | int QFrame::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
172 | { |
173 | _id = QWidget::qt_metacall(_c, _id, _a); |
174 | if (_id < 0) |
175 | return _id; |
176 | |
177 | #ifndef QT_NO_PROPERTIES |
178 | if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
179 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty |
180 | || _c == QMetaObject::RegisterPropertyMetaType) { |
181 | qt_static_metacall(this, _c, _id, _a); |
182 | _id -= 6; |
183 | } |
184 | #endif // QT_NO_PROPERTIES |
185 | return _id; |
186 | } |
187 | QT_WARNING_POP |
188 | QT_END_MOC_NAMESPACE |
189 | |