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