1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'PrChangesList.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_server/PrChangesList.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'PrChangesList.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_PrChangesList_t { |
25 | QByteArrayData data[8]; |
26 | char stringdata0[62]; |
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_PrChangesList_t, stringdata0) + ofs \ |
31 | - idx * sizeof(QByteArrayData)) \ |
32 | ) |
33 | static const qt_meta_stringdata_PrChangesList_t qt_meta_stringdata_PrChangesList = { |
34 | { |
35 | QT_MOC_LITERAL(0, 0, 13), // "PrChangesList" |
36 | QT_MOC_LITERAL(1, 14, 10), // "gotoReview" |
37 | QT_MOC_LITERAL(2, 25, 0), // "" |
38 | QT_MOC_LITERAL(3, 26, 6), // "linkId" |
39 | QT_MOC_LITERAL(4, 33, 13), // "addCodeReview" |
40 | QT_MOC_LITERAL(5, 47, 4), // "line" |
41 | QT_MOC_LITERAL(6, 52, 4), // "path" |
42 | QT_MOC_LITERAL(7, 57, 4) // "body" |
43 | |
44 | }, |
45 | "PrChangesList\0gotoReview\0\0linkId\0" |
46 | "addCodeReview\0line\0path\0body" |
47 | }; |
48 | #undef QT_MOC_LITERAL |
49 | |
50 | static const uint qt_meta_data_PrChangesList[] = { |
51 | |
52 | // content: |
53 | 8, // revision |
54 | 0, // classname |
55 | 0, 0, // classinfo |
56 | 2, 14, // methods |
57 | 0, 0, // properties |
58 | 0, 0, // enums/sets |
59 | 0, 0, // constructors |
60 | 0, // flags |
61 | 2, // signalCount |
62 | |
63 | // signals: name, argc, parameters, tag, flags |
64 | 1, 1, 24, 2, 0x06 /* Public */, |
65 | 4, 3, 27, 2, 0x06 /* Public */, |
66 | |
67 | // signals: parameters |
68 | QMetaType::Void, QMetaType::Int, 3, |
69 | QMetaType::Void, QMetaType::Int, QMetaType::QString, QMetaType::QString, 5, 6, 7, |
70 | |
71 | 0 // eod |
72 | }; |
73 | |
74 | void PrChangesList::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
75 | { |
76 | if (_c == QMetaObject::InvokeMetaMethod) { |
77 | auto *_t = static_cast<PrChangesList *>(_o); |
78 | (void)_t; |
79 | switch (_id) { |
80 | case 0: _t->gotoReview((*reinterpret_cast< int(*)>(_a[1]))); break; |
81 | case 1: _t->addCodeReview((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break; |
82 | default: ; |
83 | } |
84 | } else if (_c == QMetaObject::IndexOfMethod) { |
85 | int *result = reinterpret_cast<int *>(_a[0]); |
86 | { |
87 | using _t = void (PrChangesList::*)(int ); |
88 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PrChangesList::gotoReview)) { |
89 | *result = 0; |
90 | return; |
91 | } |
92 | } |
93 | { |
94 | using _t = void (PrChangesList::*)(int , const QString & , const QString & ); |
95 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PrChangesList::addCodeReview)) { |
96 | *result = 1; |
97 | return; |
98 | } |
99 | } |
100 | } |
101 | } |
102 | |
103 | QT_INIT_METAOBJECT const QMetaObject PrChangesList::staticMetaObject = { { |
104 | QMetaObject::SuperData::link<QFrame::staticMetaObject>(), |
105 | qt_meta_stringdata_PrChangesList.data, |
106 | qt_meta_data_PrChangesList, |
107 | qt_static_metacall, |
108 | nullptr, |
109 | nullptr |
110 | } }; |
111 | |
112 | |
113 | const QMetaObject *PrChangesList::metaObject() const |
114 | { |
115 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
116 | } |
117 | |
118 | void *PrChangesList::qt_metacast(const char *_clname) |
119 | { |
120 | if (!_clname) return nullptr; |
121 | if (!strcmp(_clname, qt_meta_stringdata_PrChangesList.stringdata0)) |
122 | return static_cast<void*>(this); |
123 | return QFrame::qt_metacast(_clname); |
124 | } |
125 | |
126 | int PrChangesList::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
127 | { |
128 | _id = QFrame::qt_metacall(_c, _id, _a); |
129 | if (_id < 0) |
130 | return _id; |
131 | if (_c == QMetaObject::InvokeMetaMethod) { |
132 | if (_id < 2) |
133 | qt_static_metacall(this, _c, _id, _a); |
134 | _id -= 2; |
135 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
136 | if (_id < 2) |
137 | *reinterpret_cast<int*>(_a[0]) = -1; |
138 | _id -= 2; |
139 | } |
140 | return _id; |
141 | } |
142 | |
143 | // SIGNAL 0 |
144 | void PrChangesList::gotoReview(int _t1) |
145 | { |
146 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
147 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
148 | } |
149 | |
150 | // SIGNAL 1 |
151 | void PrChangesList::addCodeReview(int _t1, const QString & _t2, const QString & _t3) |
152 | { |
153 | 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))) }; |
154 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
155 | } |
156 | QT_WARNING_POP |
157 | QT_END_MOC_NAMESPACE |
158 | |