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