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