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