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