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