1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'BranchTreeWidget.h' |
3 | ** |
4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.7) |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost! |
7 | *****************************************************************************/ |
8 | |
9 | #include <memory> |
10 | #include "../../../../../3rdparty/unioncode-GitQlient/src/branches/BranchTreeWidget.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'BranchTreeWidget.h' doesn't include <QObject>." |
15 | #elif Q_MOC_OUTPUT_REVISION != 67 |
16 | #error "This file was generated using the moc from 5.15.7. 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_RefTreeWidget_t { |
25 | QByteArrayData data[1]; |
26 | char stringdata0[14]; |
27 | }; |
28 | #define QT_MOC_LITERAL(idx, ofs, len) \ |
29 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ |
30 | qptrdiff(offsetof(qt_meta_stringdata_RefTreeWidget_t, stringdata0) + ofs \ |
31 | - idx * sizeof(QByteArrayData)) \ |
32 | ) |
33 | static const qt_meta_stringdata_RefTreeWidget_t qt_meta_stringdata_RefTreeWidget = { |
34 | { |
35 | QT_MOC_LITERAL(0, 0, 13) // "RefTreeWidget" |
36 | |
37 | }, |
38 | "RefTreeWidget" |
39 | }; |
40 | #undef QT_MOC_LITERAL |
41 | |
42 | static const uint qt_meta_data_RefTreeWidget[] = { |
43 | |
44 | // content: |
45 | 8, // revision |
46 | 0, // classname |
47 | 0, 0, // classinfo |
48 | 0, 0, // methods |
49 | 0, 0, // properties |
50 | 0, 0, // enums/sets |
51 | 0, 0, // constructors |
52 | 0, // flags |
53 | 0, // signalCount |
54 | |
55 | 0 // eod |
56 | }; |
57 | |
58 | void RefTreeWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
59 | { |
60 | (void)_o; |
61 | (void)_id; |
62 | (void)_c; |
63 | (void)_a; |
64 | } |
65 | |
66 | QT_INIT_METAOBJECT const QMetaObject RefTreeWidget::staticMetaObject = { { |
67 | QMetaObject::SuperData::link<QTreeWidget::staticMetaObject>(), |
68 | qt_meta_stringdata_RefTreeWidget.data, |
69 | qt_meta_data_RefTreeWidget, |
70 | qt_static_metacall, |
71 | nullptr, |
72 | nullptr |
73 | } }; |
74 | |
75 | |
76 | const QMetaObject *RefTreeWidget::metaObject() const |
77 | { |
78 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
79 | } |
80 | |
81 | void *RefTreeWidget::qt_metacast(const char *_clname) |
82 | { |
83 | if (!_clname) return nullptr; |
84 | if (!strcmp(_clname, qt_meta_stringdata_RefTreeWidget.stringdata0)) |
85 | return static_cast<void*>(this); |
86 | return QTreeWidget::qt_metacast(_clname); |
87 | } |
88 | |
89 | int RefTreeWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
90 | { |
91 | _id = QTreeWidget::qt_metacall(_c, _id, _a); |
92 | return _id; |
93 | } |
94 | struct qt_meta_stringdata_BranchTreeWidget_t { |
95 | QByteArrayData data[15]; |
96 | char stringdata0[208]; |
97 | }; |
98 | #define QT_MOC_LITERAL(idx, ofs, len) \ |
99 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ |
100 | qptrdiff(offsetof(qt_meta_stringdata_BranchTreeWidget_t, stringdata0) + ofs \ |
101 | - idx * sizeof(QByteArrayData)) \ |
102 | ) |
103 | static const qt_meta_stringdata_BranchTreeWidget_t qt_meta_stringdata_BranchTreeWidget = { |
104 | { |
105 | QT_MOC_LITERAL(0, 0, 16), // "BranchTreeWidget" |
106 | QT_MOC_LITERAL(1, 17, 10), // "fullReload" |
107 | QT_MOC_LITERAL(2, 28, 0), // "" |
108 | QT_MOC_LITERAL(3, 29, 9), // "logReload" |
109 | QT_MOC_LITERAL(4, 39, 18), // "signalSelectCommit" |
110 | QT_MOC_LITERAL(5, 58, 3), // "sha" |
111 | QT_MOC_LITERAL(6, 62, 19), // "signalMergeRequired" |
112 | QT_MOC_LITERAL(7, 82, 13), // "currentBranch" |
113 | QT_MOC_LITERAL(8, 96, 10), // "fromBranch" |
114 | QT_MOC_LITERAL(9, 107, 18), // "signalPullConflict" |
115 | QT_MOC_LITERAL(10, 126, 20), // "signalFetchPerformed" |
116 | QT_MOC_LITERAL(11, 147, 21), // "signalRefreshPRsCache" |
117 | QT_MOC_LITERAL(12, 169, 19), // "mergeSqushRequested" |
118 | QT_MOC_LITERAL(13, 189, 6), // "origin" |
119 | QT_MOC_LITERAL(14, 196, 11) // "destination" |
120 | |
121 | }, |
122 | "BranchTreeWidget\0fullReload\0\0logReload\0" |
123 | "signalSelectCommit\0sha\0signalMergeRequired\0" |
124 | "currentBranch\0fromBranch\0signalPullConflict\0" |
125 | "signalFetchPerformed\0signalRefreshPRsCache\0" |
126 | "mergeSqushRequested\0origin\0destination" |
127 | }; |
128 | #undef QT_MOC_LITERAL |
129 | |
130 | static const uint qt_meta_data_BranchTreeWidget[] = { |
131 | |
132 | // content: |
133 | 8, // revision |
134 | 0, // classname |
135 | 0, 0, // classinfo |
136 | 8, 14, // methods |
137 | 0, 0, // properties |
138 | 0, 0, // enums/sets |
139 | 0, 0, // constructors |
140 | 0, // flags |
141 | 8, // signalCount |
142 | |
143 | // signals: name, argc, parameters, tag, flags |
144 | 1, 0, 54, 2, 0x06 /* Public */, |
145 | 3, 0, 55, 2, 0x06 /* Public */, |
146 | 4, 1, 56, 2, 0x06 /* Public */, |
147 | 6, 2, 59, 2, 0x06 /* Public */, |
148 | 9, 0, 64, 2, 0x06 /* Public */, |
149 | 10, 0, 65, 2, 0x06 /* Public */, |
150 | 11, 0, 66, 2, 0x06 /* Public */, |
151 | 12, 2, 67, 2, 0x06 /* Public */, |
152 | |
153 | // signals: parameters |
154 | QMetaType::Void, |
155 | QMetaType::Void, |
156 | QMetaType::Void, QMetaType::QString, 5, |
157 | QMetaType::Void, QMetaType::QString, QMetaType::QString, 7, 8, |
158 | QMetaType::Void, |
159 | QMetaType::Void, |
160 | QMetaType::Void, |
161 | QMetaType::Void, QMetaType::QString, QMetaType::QString, 13, 14, |
162 | |
163 | 0 // eod |
164 | }; |
165 | |
166 | void BranchTreeWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
167 | { |
168 | if (_c == QMetaObject::InvokeMetaMethod) { |
169 | auto *_t = static_cast<BranchTreeWidget *>(_o); |
170 | (void)_t; |
171 | switch (_id) { |
172 | case 0: _t->fullReload(); break; |
173 | case 1: _t->logReload(); break; |
174 | case 2: _t->signalSelectCommit((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
175 | case 3: _t->signalMergeRequired((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; |
176 | case 4: _t->signalPullConflict(); break; |
177 | case 5: _t->signalFetchPerformed(); break; |
178 | case 6: _t->signalRefreshPRsCache(); break; |
179 | case 7: _t->mergeSqushRequested((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; |
180 | default: ; |
181 | } |
182 | } else if (_c == QMetaObject::IndexOfMethod) { |
183 | int *result = reinterpret_cast<int *>(_a[0]); |
184 | { |
185 | using _t = void (BranchTreeWidget::*)(); |
186 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BranchTreeWidget::fullReload)) { |
187 | *result = 0; |
188 | return; |
189 | } |
190 | } |
191 | { |
192 | using _t = void (BranchTreeWidget::*)(); |
193 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BranchTreeWidget::logReload)) { |
194 | *result = 1; |
195 | return; |
196 | } |
197 | } |
198 | { |
199 | using _t = void (BranchTreeWidget::*)(const QString & ); |
200 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BranchTreeWidget::signalSelectCommit)) { |
201 | *result = 2; |
202 | return; |
203 | } |
204 | } |
205 | { |
206 | using _t = void (BranchTreeWidget::*)(const QString & , const QString & ); |
207 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BranchTreeWidget::signalMergeRequired)) { |
208 | *result = 3; |
209 | return; |
210 | } |
211 | } |
212 | { |
213 | using _t = void (BranchTreeWidget::*)(); |
214 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BranchTreeWidget::signalPullConflict)) { |
215 | *result = 4; |
216 | return; |
217 | } |
218 | } |
219 | { |
220 | using _t = void (BranchTreeWidget::*)(); |
221 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BranchTreeWidget::signalFetchPerformed)) { |
222 | *result = 5; |
223 | return; |
224 | } |
225 | } |
226 | { |
227 | using _t = void (BranchTreeWidget::*)(); |
228 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BranchTreeWidget::signalRefreshPRsCache)) { |
229 | *result = 6; |
230 | return; |
231 | } |
232 | } |
233 | { |
234 | using _t = void (BranchTreeWidget::*)(const QString & , const QString & ); |
235 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BranchTreeWidget::mergeSqushRequested)) { |
236 | *result = 7; |
237 | return; |
238 | } |
239 | } |
240 | } |
241 | } |
242 | |
243 | QT_INIT_METAOBJECT const QMetaObject BranchTreeWidget::staticMetaObject = { { |
244 | QMetaObject::SuperData::link<RefTreeWidget::staticMetaObject>(), |
245 | qt_meta_stringdata_BranchTreeWidget.data, |
246 | qt_meta_data_BranchTreeWidget, |
247 | qt_static_metacall, |
248 | nullptr, |
249 | nullptr |
250 | } }; |
251 | |
252 | |
253 | const QMetaObject *BranchTreeWidget::metaObject() const |
254 | { |
255 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
256 | } |
257 | |
258 | void *BranchTreeWidget::qt_metacast(const char *_clname) |
259 | { |
260 | if (!_clname) return nullptr; |
261 | if (!strcmp(_clname, qt_meta_stringdata_BranchTreeWidget.stringdata0)) |
262 | return static_cast<void*>(this); |
263 | return RefTreeWidget::qt_metacast(_clname); |
264 | } |
265 | |
266 | int BranchTreeWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
267 | { |
268 | _id = RefTreeWidget::qt_metacall(_c, _id, _a); |
269 | if (_id < 0) |
270 | return _id; |
271 | if (_c == QMetaObject::InvokeMetaMethod) { |
272 | if (_id < 8) |
273 | qt_static_metacall(this, _c, _id, _a); |
274 | _id -= 8; |
275 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
276 | if (_id < 8) |
277 | *reinterpret_cast<int*>(_a[0]) = -1; |
278 | _id -= 8; |
279 | } |
280 | return _id; |
281 | } |
282 | |
283 | // SIGNAL 0 |
284 | void BranchTreeWidget::fullReload() |
285 | { |
286 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); |
287 | } |
288 | |
289 | // SIGNAL 1 |
290 | void BranchTreeWidget::logReload() |
291 | { |
292 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); |
293 | } |
294 | |
295 | // SIGNAL 2 |
296 | void BranchTreeWidget::signalSelectCommit(const QString & _t1) |
297 | { |
298 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
299 | QMetaObject::activate(this, &staticMetaObject, 2, _a); |
300 | } |
301 | |
302 | // SIGNAL 3 |
303 | void BranchTreeWidget::signalMergeRequired(const QString & _t1, const QString & _t2) |
304 | { |
305 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
306 | QMetaObject::activate(this, &staticMetaObject, 3, _a); |
307 | } |
308 | |
309 | // SIGNAL 4 |
310 | void BranchTreeWidget::signalPullConflict() |
311 | { |
312 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); |
313 | } |
314 | |
315 | // SIGNAL 5 |
316 | void BranchTreeWidget::signalFetchPerformed() |
317 | { |
318 | QMetaObject::activate(this, &staticMetaObject, 5, nullptr); |
319 | } |
320 | |
321 | // SIGNAL 6 |
322 | void BranchTreeWidget::signalRefreshPRsCache() |
323 | { |
324 | QMetaObject::activate(this, &staticMetaObject, 6, nullptr); |
325 | } |
326 | |
327 | // SIGNAL 7 |
328 | void BranchTreeWidget::mergeSqushRequested(const QString & _t1, const QString & _t2) |
329 | { |
330 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
331 | QMetaObject::activate(this, &staticMetaObject, 7, _a); |
332 | } |
333 | QT_WARNING_POP |
334 | QT_END_MOC_NAMESPACE |
335 | |