1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qsidebar_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/qsidebar_p.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'qsidebar_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_QUrlModel_t { |
25 | const uint offsetsAndSize[14]; |
26 | char stringdata0[69]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_QUrlModel_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_QUrlModel_t qt_meta_stringdata_QUrlModel = { |
31 | { |
32 | QT_MOC_LITERAL(0, 9), // "QUrlModel" |
33 | QT_MOC_LITERAL(10, 11), // "dataChanged" |
34 | QT_MOC_LITERAL(22, 0), // "" |
35 | QT_MOC_LITERAL(23, 11), // "QModelIndex" |
36 | QT_MOC_LITERAL(35, 7), // "topLeft" |
37 | QT_MOC_LITERAL(43, 11), // "bottomRight" |
38 | QT_MOC_LITERAL(55, 13) // "layoutChanged" |
39 | |
40 | }, |
41 | "QUrlModel\0dataChanged\0\0QModelIndex\0" |
42 | "topLeft\0bottomRight\0layoutChanged" |
43 | }; |
44 | #undef QT_MOC_LITERAL |
45 | |
46 | static const uint qt_meta_data_QUrlModel[] = { |
47 | |
48 | // content: |
49 | 9, // revision |
50 | 0, // classname |
51 | 0, 0, // classinfo |
52 | 2, 14, // methods |
53 | 0, 0, // properties |
54 | 0, 0, // enums/sets |
55 | 0, 0, // constructors |
56 | 0, // flags |
57 | 0, // signalCount |
58 | |
59 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
60 | 1, 2, 26, 2, 0x08, 0 /* Private */, |
61 | 6, 0, 31, 2, 0x08, 3 /* Private */, |
62 | |
63 | // slots: parameters |
64 | QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3, 4, 5, |
65 | QMetaType::Void, |
66 | |
67 | 0 // eod |
68 | }; |
69 | |
70 | void QUrlModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
71 | { |
72 | if (_c == QMetaObject::InvokeMetaMethod) { |
73 | Q_ASSERT(staticMetaObject.cast(_o)); |
74 | auto *_t = static_cast<QUrlModel *>(_o); |
75 | Q_UNUSED(_t) |
76 | switch (_id) { |
77 | case 0: _t->dataChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break; |
78 | case 1: _t->layoutChanged(); break; |
79 | default: ; |
80 | } |
81 | } |
82 | } |
83 | |
84 | const QMetaObject QUrlModel::staticMetaObject = { { |
85 | QMetaObject::SuperData::link<QStandardItemModel::staticMetaObject>(), |
86 | qt_meta_stringdata_QUrlModel.offsetsAndSize, |
87 | qt_meta_data_QUrlModel, |
88 | qt_static_metacall, |
89 | nullptr, |
90 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QUrlModel_t |
91 | |
92 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
93 | |
94 | |
95 | >, |
96 | nullptr |
97 | } }; |
98 | |
99 | |
100 | const QMetaObject *QUrlModel::metaObject() const |
101 | { |
102 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
103 | } |
104 | |
105 | void *QUrlModel::qt_metacast(const char *_clname) |
106 | { |
107 | if (!_clname) return nullptr; |
108 | if (!strcmp(_clname, qt_meta_stringdata_QUrlModel.stringdata0)) |
109 | return static_cast<void*>(this); |
110 | return QStandardItemModel::qt_metacast(_clname); |
111 | } |
112 | |
113 | int QUrlModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
114 | { |
115 | _id = QStandardItemModel::qt_metacall(_c, _id, _a); |
116 | if (_id < 0) |
117 | return _id; |
118 | if (_c == QMetaObject::InvokeMetaMethod) { |
119 | if (_id < 2) |
120 | qt_static_metacall(this, _c, _id, _a); |
121 | _id -= 2; |
122 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
123 | if (_id < 2) |
124 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
125 | _id -= 2; |
126 | } |
127 | return _id; |
128 | } |
129 | struct { |
130 | const uint offsetsAndSize[20]; |
131 | char [85]; |
132 | }; |
133 | #define QT_MOC_LITERAL(ofs, len) \ |
134 | uint(offsetof(qt_meta_stringdata_QSidebar_t, stringdata0) + ofs), len |
135 | static const qt_meta_stringdata_QSidebar_t = { |
136 | { |
137 | QT_MOC_LITERAL(0, 8), // "QSidebar" |
138 | QT_MOC_LITERAL(9, 7), // "goToUrl" |
139 | QT_MOC_LITERAL(17, 0), // "" |
140 | QT_MOC_LITERAL(18, 3), // "url" |
141 | QT_MOC_LITERAL(22, 7), // "clicked" |
142 | QT_MOC_LITERAL(30, 11), // "QModelIndex" |
143 | QT_MOC_LITERAL(42, 5), // "index" |
144 | QT_MOC_LITERAL(48, 15), // "showContextMenu" |
145 | QT_MOC_LITERAL(64, 8), // "position" |
146 | QT_MOC_LITERAL(73, 11) // "removeEntry" |
147 | |
148 | }, |
149 | "QSidebar\0goToUrl\0\0url\0clicked\0QModelIndex\0" |
150 | "index\0showContextMenu\0position\0" |
151 | "removeEntry" |
152 | }; |
153 | #undef QT_MOC_LITERAL |
154 | |
155 | static const uint [] = { |
156 | |
157 | // content: |
158 | 9, // revision |
159 | 0, // classname |
160 | 0, 0, // classinfo |
161 | 4, 14, // methods |
162 | 0, 0, // properties |
163 | 0, 0, // enums/sets |
164 | 0, 0, // constructors |
165 | 0, // flags |
166 | 1, // signalCount |
167 | |
168 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
169 | 1, 1, 38, 2, 0x06, 0 /* Public */, |
170 | |
171 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
172 | 4, 1, 41, 2, 0x08, 2 /* Private */, |
173 | 7, 1, 44, 2, 0x08, 4 /* Private */, |
174 | 9, 0, 47, 2, 0x08, 6 /* Private */, |
175 | |
176 | // signals: parameters |
177 | QMetaType::Void, QMetaType::QUrl, 3, |
178 | |
179 | // slots: parameters |
180 | QMetaType::Void, 0x80000000 | 5, 6, |
181 | QMetaType::Void, QMetaType::QPoint, 8, |
182 | QMetaType::Void, |
183 | |
184 | 0 // eod |
185 | }; |
186 | |
187 | void QSidebar::(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
188 | { |
189 | if (_c == QMetaObject::InvokeMetaMethod) { |
190 | Q_ASSERT(staticMetaObject.cast(_o)); |
191 | auto *_t = static_cast<QSidebar *>(_o); |
192 | Q_UNUSED(_t) |
193 | switch (_id) { |
194 | case 0: _t->goToUrl((*reinterpret_cast< const QUrl(*)>(_a[1]))); break; |
195 | case 1: _t->clicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break; |
196 | case 2: _t->showContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break; |
197 | case 3: _t->removeEntry(); break; |
198 | default: ; |
199 | } |
200 | } else if (_c == QMetaObject::IndexOfMethod) { |
201 | int *result = reinterpret_cast<int *>(_a[0]); |
202 | { |
203 | using _t = void (QSidebar::*)(const QUrl & ); |
204 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QSidebar::goToUrl)) { |
205 | *result = 0; |
206 | return; |
207 | } |
208 | } |
209 | } |
210 | } |
211 | |
212 | const QMetaObject QSidebar:: = { { |
213 | QMetaObject::SuperData::link<QListView::staticMetaObject>(), |
214 | qt_meta_stringdata_QSidebar.offsetsAndSize, |
215 | qt_meta_data_QSidebar, |
216 | qt_static_metacall, |
217 | nullptr, |
218 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QSidebar_t |
219 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QUrl &, std::false_type> |
220 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QPoint &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
221 | |
222 | |
223 | >, |
224 | nullptr |
225 | } }; |
226 | |
227 | |
228 | const QMetaObject *QSidebar::() const |
229 | { |
230 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
231 | } |
232 | |
233 | void *QSidebar::(const char *_clname) |
234 | { |
235 | if (!_clname) return nullptr; |
236 | if (!strcmp(_clname, qt_meta_stringdata_QSidebar.stringdata0)) |
237 | return static_cast<void*>(this); |
238 | return QListView::qt_metacast(_clname); |
239 | } |
240 | |
241 | int QSidebar::(QMetaObject::Call _c, int _id, void **_a) |
242 | { |
243 | _id = QListView::qt_metacall(_c, _id, _a); |
244 | if (_id < 0) |
245 | return _id; |
246 | if (_c == QMetaObject::InvokeMetaMethod) { |
247 | if (_id < 4) |
248 | qt_static_metacall(this, _c, _id, _a); |
249 | _id -= 4; |
250 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
251 | if (_id < 4) |
252 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
253 | _id -= 4; |
254 | } |
255 | return _id; |
256 | } |
257 | |
258 | // SIGNAL 0 |
259 | void QSidebar::(const QUrl & _t1) |
260 | { |
261 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
262 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
263 | } |
264 | QT_WARNING_POP |
265 | QT_END_MOC_NAMESPACE |
266 | |