1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qcommandlinkbutton.h' |
3 | ** |
4 | ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0) |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost! |
7 | *****************************************************************************/ |
8 | |
9 | #include <memory> |
10 | #include "widgets/qcommandlinkbutton.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'qcommandlinkbutton.h' doesn't include <QObject>." |
15 | #elif Q_MOC_OUTPUT_REVISION != 68 |
16 | #error "This file was generated using the moc from 6.0.0. 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_QCommandLinkButton_t { |
25 | const uint offsetsAndSize[6]; |
26 | char stringdata0[36]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_QCommandLinkButton_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_QCommandLinkButton_t qt_meta_stringdata_QCommandLinkButton = { |
31 | { |
32 | QT_MOC_LITERAL(0, 18), // "QCommandLinkButton" |
33 | QT_MOC_LITERAL(19, 11), // "description" |
34 | QT_MOC_LITERAL(31, 4) // "flat" |
35 | |
36 | }, |
37 | "QCommandLinkButton\0description\0flat" |
38 | }; |
39 | #undef QT_MOC_LITERAL |
40 | |
41 | static const uint qt_meta_data_QCommandLinkButton[] = { |
42 | |
43 | // content: |
44 | 9, // revision |
45 | 0, // classname |
46 | 0, 0, // classinfo |
47 | 0, 0, // methods |
48 | 2, 14, // properties |
49 | 0, 0, // enums/sets |
50 | 0, 0, // constructors |
51 | 0, // flags |
52 | 0, // signalCount |
53 | |
54 | // properties: name, type, flags |
55 | 1, QMetaType::QString, 0x00015103, uint(-1), 0, |
56 | 2, QMetaType::Bool, 0x00014103, uint(-1), 0, |
57 | |
58 | 0 // eod |
59 | }; |
60 | |
61 | void QCommandLinkButton::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
62 | { |
63 | |
64 | #ifndef QT_NO_PROPERTIES |
65 | if (_c == QMetaObject::ReadProperty) { |
66 | Q_ASSERT(staticMetaObject.cast(_o)); |
67 | auto *_t = static_cast<QCommandLinkButton *>(_o); |
68 | Q_UNUSED(_t) |
69 | void *_v = _a[0]; |
70 | switch (_id) { |
71 | case 0: *reinterpret_cast< QString*>(_v) = _t->description(); break; |
72 | case 1: *reinterpret_cast< bool*>(_v) = _t->isFlat(); break; |
73 | default: break; |
74 | } |
75 | } else if (_c == QMetaObject::WriteProperty) { |
76 | Q_ASSERT(staticMetaObject.cast(_o)); |
77 | auto *_t = static_cast<QCommandLinkButton *>(_o); |
78 | Q_UNUSED(_t) |
79 | void *_v = _a[0]; |
80 | switch (_id) { |
81 | case 0: _t->setDescription(*reinterpret_cast< QString*>(_v)); break; |
82 | case 1: _t->setFlat(*reinterpret_cast< bool*>(_v)); break; |
83 | default: break; |
84 | } |
85 | } else if (_c == QMetaObject::ResetProperty) { |
86 | } else if (_c == QMetaObject::BindableProperty) { |
87 | } |
88 | #endif // QT_NO_PROPERTIES |
89 | Q_UNUSED(_o); |
90 | Q_UNUSED(_id); |
91 | Q_UNUSED(_c); |
92 | Q_UNUSED(_a); |
93 | } |
94 | |
95 | const QMetaObject QCommandLinkButton::staticMetaObject = { { |
96 | QMetaObject::SuperData::link<QPushButton::staticMetaObject>(), |
97 | qt_meta_stringdata_QCommandLinkButton.offsetsAndSize, |
98 | qt_meta_data_QCommandLinkButton, |
99 | qt_static_metacall, |
100 | nullptr, |
101 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QCommandLinkButton_t |
102 | , QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type> |
103 | |
104 | |
105 | |
106 | >, |
107 | nullptr |
108 | } }; |
109 | |
110 | |
111 | const QMetaObject *QCommandLinkButton::metaObject() const |
112 | { |
113 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
114 | } |
115 | |
116 | void *QCommandLinkButton::qt_metacast(const char *_clname) |
117 | { |
118 | if (!_clname) return nullptr; |
119 | if (!strcmp(_clname, qt_meta_stringdata_QCommandLinkButton.stringdata0)) |
120 | return static_cast<void*>(this); |
121 | return QPushButton::qt_metacast(_clname); |
122 | } |
123 | |
124 | int QCommandLinkButton::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
125 | { |
126 | _id = QPushButton::qt_metacall(_c, _id, _a); |
127 | if (_id < 0) |
128 | return _id; |
129 | |
130 | #ifndef QT_NO_PROPERTIES |
131 | if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
132 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty |
133 | || _c == QMetaObject::RegisterPropertyMetaType) { |
134 | qt_static_metacall(this, _c, _id, _a); |
135 | _id -= 2; |
136 | } |
137 | #endif // QT_NO_PROPERTIES |
138 | return _id; |
139 | } |
140 | QT_WARNING_POP |
141 | QT_END_MOC_NAMESPACE |
142 | |