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