1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'SubmodulesContextMenu.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/SubmodulesContextMenu.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'SubmodulesContextMenu.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 [5]; |
26 | char [54]; |
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_SubmodulesContextMenu_t, stringdata0) + ofs \ |
31 | - idx * sizeof(QByteArrayData)) \ |
32 | ) |
33 | static const qt_meta_stringdata_SubmodulesContextMenu_t = { |
34 | { |
35 | QT_MOC_LITERAL(0, 0, 21), // "SubmodulesContextMenu" |
36 | QT_MOC_LITERAL(1, 22, 13), // "openSubmodule" |
37 | QT_MOC_LITERAL(2, 36, 0), // "" |
38 | QT_MOC_LITERAL(3, 37, 4), // "path" |
39 | QT_MOC_LITERAL(4, 42, 11) // "infoUpdated" |
40 | |
41 | }, |
42 | "SubmodulesContextMenu\0openSubmodule\0" |
43 | "\0path\0infoUpdated" |
44 | }; |
45 | #undef QT_MOC_LITERAL |
46 | |
47 | static const uint [] = { |
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 SubmodulesContextMenu::(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
72 | { |
73 | if (_c == QMetaObject::InvokeMetaMethod) { |
74 | auto *_t = static_cast<SubmodulesContextMenu *>(_o); |
75 | (void)_t; |
76 | switch (_id) { |
77 | case 0: _t->openSubmodule((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
78 | case 1: _t->infoUpdated(); break; |
79 | default: ; |
80 | } |
81 | } else if (_c == QMetaObject::IndexOfMethod) { |
82 | int *result = reinterpret_cast<int *>(_a[0]); |
83 | { |
84 | using _t = void (SubmodulesContextMenu::*)(const QString & ); |
85 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SubmodulesContextMenu::openSubmodule)) { |
86 | *result = 0; |
87 | return; |
88 | } |
89 | } |
90 | { |
91 | using _t = void (SubmodulesContextMenu::*)(); |
92 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SubmodulesContextMenu::infoUpdated)) { |
93 | *result = 1; |
94 | return; |
95 | } |
96 | } |
97 | } |
98 | } |
99 | |
100 | QT_INIT_METAOBJECT const QMetaObject SubmodulesContextMenu:: = { { |
101 | QMetaObject::SuperData::link<QMenu::staticMetaObject>(), |
102 | qt_meta_stringdata_SubmodulesContextMenu.data, |
103 | qt_meta_data_SubmodulesContextMenu, |
104 | qt_static_metacall, |
105 | nullptr, |
106 | nullptr |
107 | } }; |
108 | |
109 | |
110 | const QMetaObject *SubmodulesContextMenu::() const |
111 | { |
112 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
113 | } |
114 | |
115 | void *SubmodulesContextMenu::(const char *_clname) |
116 | { |
117 | if (!_clname) return nullptr; |
118 | if (!strcmp(_clname, qt_meta_stringdata_SubmodulesContextMenu.stringdata0)) |
119 | return static_cast<void*>(this); |
120 | return QMenu::qt_metacast(_clname); |
121 | } |
122 | |
123 | int SubmodulesContextMenu::(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 SubmodulesContextMenu::(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 SubmodulesContextMenu::() |
149 | { |
150 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); |
151 | } |
152 | QT_WARNING_POP |
153 | QT_END_MOC_NAMESPACE |
154 | |