1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'GitRepoLoader.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/git/GitRepoLoader.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'GitRepoLoader.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_GitRepoLoader_t { |
25 | QByteArrayData data[9]; |
26 | char stringdata0[120]; |
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_GitRepoLoader_t, stringdata0) + ofs \ |
31 | - idx * sizeof(QByteArrayData)) \ |
32 | ) |
33 | static const qt_meta_stringdata_GitRepoLoader_t qt_meta_stringdata_GitRepoLoader = { |
34 | { |
35 | QT_MOC_LITERAL(0, 0, 13), // "GitRepoLoader" |
36 | QT_MOC_LITERAL(1, 14, 20), // "signalLoadingStarted" |
37 | QT_MOC_LITERAL(2, 35, 0), // "" |
38 | QT_MOC_LITERAL(3, 36, 21), // "signalLoadingFinished" |
39 | QT_MOC_LITERAL(4, 58, 4), // "full" |
40 | QT_MOC_LITERAL(5, 63, 18), // "cancelAllProcesses" |
41 | QT_MOC_LITERAL(6, 82, 14), // "loadLogHistory" |
42 | QT_MOC_LITERAL(7, 97, 14), // "loadReferences" |
43 | QT_MOC_LITERAL(8, 112, 7) // "loadAll" |
44 | |
45 | }, |
46 | "GitRepoLoader\0signalLoadingStarted\0\0" |
47 | "signalLoadingFinished\0full\0" |
48 | "cancelAllProcesses\0loadLogHistory\0" |
49 | "loadReferences\0loadAll" |
50 | }; |
51 | #undef QT_MOC_LITERAL |
52 | |
53 | static const uint qt_meta_data_GitRepoLoader[] = { |
54 | |
55 | // content: |
56 | 8, // revision |
57 | 0, // classname |
58 | 0, 0, // classinfo |
59 | 6, 14, // methods |
60 | 0, 0, // properties |
61 | 0, 0, // enums/sets |
62 | 0, 0, // constructors |
63 | 0, // flags |
64 | 3, // signalCount |
65 | |
66 | // signals: name, argc, parameters, tag, flags |
67 | 1, 0, 44, 2, 0x06 /* Public */, |
68 | 3, 1, 45, 2, 0x06 /* Public */, |
69 | 5, 0, 48, 2, 0x06 /* Public */, |
70 | |
71 | // slots: name, argc, parameters, tag, flags |
72 | 6, 0, 49, 2, 0x0a /* Public */, |
73 | 7, 0, 50, 2, 0x0a /* Public */, |
74 | 8, 0, 51, 2, 0x0a /* Public */, |
75 | |
76 | // signals: parameters |
77 | QMetaType::Void, |
78 | QMetaType::Void, QMetaType::Bool, 4, |
79 | QMetaType::Void, |
80 | |
81 | // slots: parameters |
82 | QMetaType::Void, |
83 | QMetaType::Void, |
84 | QMetaType::Void, |
85 | |
86 | 0 // eod |
87 | }; |
88 | |
89 | void GitRepoLoader::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
90 | { |
91 | if (_c == QMetaObject::InvokeMetaMethod) { |
92 | auto *_t = static_cast<GitRepoLoader *>(_o); |
93 | (void)_t; |
94 | switch (_id) { |
95 | case 0: _t->signalLoadingStarted(); break; |
96 | case 1: _t->signalLoadingFinished((*reinterpret_cast< bool(*)>(_a[1]))); break; |
97 | case 2: _t->cancelAllProcesses(QPrivateSignal()); break; |
98 | case 3: _t->loadLogHistory(); break; |
99 | case 4: _t->loadReferences(); break; |
100 | case 5: _t->loadAll(); break; |
101 | default: ; |
102 | } |
103 | } else if (_c == QMetaObject::IndexOfMethod) { |
104 | int *result = reinterpret_cast<int *>(_a[0]); |
105 | { |
106 | using _t = void (GitRepoLoader::*)(); |
107 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GitRepoLoader::signalLoadingStarted)) { |
108 | *result = 0; |
109 | return; |
110 | } |
111 | } |
112 | { |
113 | using _t = void (GitRepoLoader::*)(bool ); |
114 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GitRepoLoader::signalLoadingFinished)) { |
115 | *result = 1; |
116 | return; |
117 | } |
118 | } |
119 | { |
120 | using _t = void (GitRepoLoader::*)(QPrivateSignal); |
121 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GitRepoLoader::cancelAllProcesses)) { |
122 | *result = 2; |
123 | return; |
124 | } |
125 | } |
126 | } |
127 | } |
128 | |
129 | QT_INIT_METAOBJECT const QMetaObject GitRepoLoader::staticMetaObject = { { |
130 | QMetaObject::SuperData::link<QObject::staticMetaObject>(), |
131 | qt_meta_stringdata_GitRepoLoader.data, |
132 | qt_meta_data_GitRepoLoader, |
133 | qt_static_metacall, |
134 | nullptr, |
135 | nullptr |
136 | } }; |
137 | |
138 | |
139 | const QMetaObject *GitRepoLoader::metaObject() const |
140 | { |
141 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
142 | } |
143 | |
144 | void *GitRepoLoader::qt_metacast(const char *_clname) |
145 | { |
146 | if (!_clname) return nullptr; |
147 | if (!strcmp(_clname, qt_meta_stringdata_GitRepoLoader.stringdata0)) |
148 | return static_cast<void*>(this); |
149 | return QObject::qt_metacast(_clname); |
150 | } |
151 | |
152 | int GitRepoLoader::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
153 | { |
154 | _id = QObject::qt_metacall(_c, _id, _a); |
155 | if (_id < 0) |
156 | return _id; |
157 | if (_c == QMetaObject::InvokeMetaMethod) { |
158 | if (_id < 6) |
159 | qt_static_metacall(this, _c, _id, _a); |
160 | _id -= 6; |
161 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
162 | if (_id < 6) |
163 | *reinterpret_cast<int*>(_a[0]) = -1; |
164 | _id -= 6; |
165 | } |
166 | return _id; |
167 | } |
168 | |
169 | // SIGNAL 0 |
170 | void GitRepoLoader::signalLoadingStarted() |
171 | { |
172 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); |
173 | } |
174 | |
175 | // SIGNAL 1 |
176 | void GitRepoLoader::signalLoadingFinished(bool _t1) |
177 | { |
178 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
179 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
180 | } |
181 | |
182 | // SIGNAL 2 |
183 | void GitRepoLoader::cancelAllProcesses(QPrivateSignal _t1) |
184 | { |
185 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
186 | QMetaObject::activate(this, &staticMetaObject, 2, _a); |
187 | } |
188 | QT_WARNING_POP |
189 | QT_END_MOC_NAMESPACE |
190 | |