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