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