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