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