1/****************************************************************************
2** Meta object code from reading C++ file 'PrChangeListItem.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/PrChangeListItem.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'PrChangeListItem.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_PrChangeListItem_t {
25 QByteArrayData data[8];
26 char stringdata0[65];
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_PrChangeListItem_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
33static const qt_meta_stringdata_PrChangeListItem_t qt_meta_stringdata_PrChangeListItem = {
34 {
35QT_MOC_LITERAL(0, 0, 16), // "PrChangeListItem"
36QT_MOC_LITERAL(1, 17, 10), // "gotoReview"
37QT_MOC_LITERAL(2, 28, 0), // ""
38QT_MOC_LITERAL(3, 29, 6), // "linkId"
39QT_MOC_LITERAL(4, 36, 13), // "addCodeReview"
40QT_MOC_LITERAL(5, 50, 4), // "line"
41QT_MOC_LITERAL(6, 55, 4), // "path"
42QT_MOC_LITERAL(7, 60, 4) // "body"
43
44 },
45 "PrChangeListItem\0gotoReview\0\0linkId\0"
46 "addCodeReview\0line\0path\0body"
47};
48#undef QT_MOC_LITERAL
49
50static const uint qt_meta_data_PrChangeListItem[] = {
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
74void PrChangeListItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
75{
76 if (_c == QMetaObject::InvokeMetaMethod) {
77 auto *_t = static_cast<PrChangeListItem *>(_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 (PrChangeListItem::*)(int );
88 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PrChangeListItem::gotoReview)) {
89 *result = 0;
90 return;
91 }
92 }
93 {
94 using _t = void (PrChangeListItem::*)(int , const QString & , const QString & );
95 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PrChangeListItem::addCodeReview)) {
96 *result = 1;
97 return;
98 }
99 }
100 }
101}
102
103QT_INIT_METAOBJECT const QMetaObject PrChangeListItem::staticMetaObject = { {
104 QMetaObject::SuperData::link<QFrame::staticMetaObject>(),
105 qt_meta_stringdata_PrChangeListItem.data,
106 qt_meta_data_PrChangeListItem,
107 qt_static_metacall,
108 nullptr,
109 nullptr
110} };
111
112
113const QMetaObject *PrChangeListItem::metaObject() const
114{
115 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
116}
117
118void *PrChangeListItem::qt_metacast(const char *_clname)
119{
120 if (!_clname) return nullptr;
121 if (!strcmp(_clname, qt_meta_stringdata_PrChangeListItem.stringdata0))
122 return static_cast<void*>(this);
123 return QFrame::qt_metacast(_clname);
124}
125
126int PrChangeListItem::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
144void PrChangeListItem::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
151void PrChangeListItem::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}
156QT_WARNING_POP
157QT_END_MOC_NAMESPACE
158