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