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