1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qlineedit_p.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/qlineedit_p.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'qlineedit_p.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_QLineEditIconButton_t { |
25 | const uint offsetsAndSize[10]; |
26 | char stringdata0[62]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_QLineEditIconButton_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_QLineEditIconButton_t qt_meta_stringdata_QLineEditIconButton = { |
31 | { |
32 | QT_MOC_LITERAL(0, 19), // "QLineEditIconButton" |
33 | QT_MOC_LITERAL(20, 12), // "updateCursor" |
34 | QT_MOC_LITERAL(33, 0), // "" |
35 | QT_MOC_LITERAL(34, 19), // "onAnimationFinished" |
36 | QT_MOC_LITERAL(54, 7) // "opacity" |
37 | |
38 | }, |
39 | "QLineEditIconButton\0updateCursor\0\0" |
40 | "onAnimationFinished\0opacity" |
41 | }; |
42 | #undef QT_MOC_LITERAL |
43 | |
44 | static const uint qt_meta_data_QLineEditIconButton[] = { |
45 | |
46 | // content: |
47 | 9, // revision |
48 | 0, // classname |
49 | 0, 0, // classinfo |
50 | 2, 14, // methods |
51 | 1, 28, // properties |
52 | 0, 0, // enums/sets |
53 | 0, 0, // constructors |
54 | 0, // flags |
55 | 0, // signalCount |
56 | |
57 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
58 | 1, 0, 26, 2, 0x08, 1 /* Private */, |
59 | 3, 0, 27, 2, 0x08, 2 /* Private */, |
60 | |
61 | // slots: parameters |
62 | QMetaType::Void, |
63 | QMetaType::Void, |
64 | |
65 | // properties: name, type, flags |
66 | 4, QMetaType::QReal, 0x00015103, uint(-1), 0, |
67 | |
68 | 0 // eod |
69 | }; |
70 | |
71 | void QLineEditIconButton::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
72 | { |
73 | if (_c == QMetaObject::InvokeMetaMethod) { |
74 | Q_ASSERT(staticMetaObject.cast(_o)); |
75 | auto *_t = static_cast<QLineEditIconButton *>(_o); |
76 | Q_UNUSED(_t) |
77 | switch (_id) { |
78 | case 0: _t->updateCursor(); break; |
79 | case 1: _t->onAnimationFinished(); break; |
80 | default: ; |
81 | } |
82 | } |
83 | #ifndef QT_NO_PROPERTIES |
84 | else if (_c == QMetaObject::ReadProperty) { |
85 | Q_ASSERT(staticMetaObject.cast(_o)); |
86 | auto *_t = static_cast<QLineEditIconButton *>(_o); |
87 | Q_UNUSED(_t) |
88 | void *_v = _a[0]; |
89 | switch (_id) { |
90 | case 0: *reinterpret_cast< qreal*>(_v) = _t->opacity(); break; |
91 | default: break; |
92 | } |
93 | } else if (_c == QMetaObject::WriteProperty) { |
94 | Q_ASSERT(staticMetaObject.cast(_o)); |
95 | auto *_t = static_cast<QLineEditIconButton *>(_o); |
96 | Q_UNUSED(_t) |
97 | void *_v = _a[0]; |
98 | switch (_id) { |
99 | case 0: _t->setOpacity(*reinterpret_cast< qreal*>(_v)); break; |
100 | default: break; |
101 | } |
102 | } else if (_c == QMetaObject::ResetProperty) { |
103 | } else if (_c == QMetaObject::BindableProperty) { |
104 | } |
105 | #endif // QT_NO_PROPERTIES |
106 | Q_UNUSED(_a); |
107 | } |
108 | |
109 | const QMetaObject QLineEditIconButton::staticMetaObject = { { |
110 | QMetaObject::SuperData::link<QToolButton::staticMetaObject>(), |
111 | qt_meta_stringdata_QLineEditIconButton.offsetsAndSize, |
112 | qt_meta_data_QLineEditIconButton, |
113 | qt_static_metacall, |
114 | nullptr, |
115 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QLineEditIconButton_t |
116 | , QtPrivate::TypeAndForceComplete<qreal, std::true_type> |
117 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
118 | |
119 | |
120 | >, |
121 | nullptr |
122 | } }; |
123 | |
124 | |
125 | const QMetaObject *QLineEditIconButton::metaObject() const |
126 | { |
127 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
128 | } |
129 | |
130 | void *QLineEditIconButton::qt_metacast(const char *_clname) |
131 | { |
132 | if (!_clname) return nullptr; |
133 | if (!strcmp(_clname, qt_meta_stringdata_QLineEditIconButton.stringdata0)) |
134 | return static_cast<void*>(this); |
135 | return QToolButton::qt_metacast(_clname); |
136 | } |
137 | |
138 | int QLineEditIconButton::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
139 | { |
140 | _id = QToolButton::qt_metacall(_c, _id, _a); |
141 | if (_id < 0) |
142 | return _id; |
143 | if (_c == QMetaObject::InvokeMetaMethod) { |
144 | if (_id < 2) |
145 | qt_static_metacall(this, _c, _id, _a); |
146 | _id -= 2; |
147 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
148 | if (_id < 2) |
149 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
150 | _id -= 2; |
151 | } |
152 | #ifndef QT_NO_PROPERTIES |
153 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
154 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty |
155 | || _c == QMetaObject::RegisterPropertyMetaType) { |
156 | qt_static_metacall(this, _c, _id, _a); |
157 | _id -= 1; |
158 | } |
159 | #endif // QT_NO_PROPERTIES |
160 | return _id; |
161 | } |
162 | QT_WARNING_POP |
163 | QT_END_MOC_NAMESPACE |
164 | |