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
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
24struct qt_meta_stringdata_StashesContextMenu_t {
25 QByteArrayData data[4];
26 char stringdata0[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 )
33static const qt_meta_stringdata_StashesContextMenu_t qt_meta_stringdata_StashesContextMenu = {
34 {
35QT_MOC_LITERAL(0, 0, 18), // "StashesContextMenu"
36QT_MOC_LITERAL(1, 19, 20), // "signalContentRemoved"
37QT_MOC_LITERAL(2, 40, 0), // ""
38QT_MOC_LITERAL(3, 41, 16) // "signalUpdateView"
39
40 },
41 "StashesContextMenu\0signalContentRemoved\0"
42 "\0signalUpdateView"
43};
44#undef QT_MOC_LITERAL
45
46static const uint qt_meta_data_StashesContextMenu[] = {
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
70void StashesContextMenu::qt_static_metacall(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
100QT_INIT_METAOBJECT const QMetaObject StashesContextMenu::staticMetaObject = { {
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
110const QMetaObject *StashesContextMenu::metaObject() const
111{
112 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
113}
114
115void *StashesContextMenu::qt_metacast(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
123int StashesContextMenu::qt_metacall(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
141void StashesContextMenu::signalContentRemoved()
142{
143 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
144}
145
146// SIGNAL 1
147void StashesContextMenu::signalUpdateView()
148{
149 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
150}
151QT_WARNING_POP
152QT_END_MOC_NAMESPACE
153